RSX: fix wrong format 0x9b (#2121)

This commit is contained in:
raven02 2016-09-04 15:23:43 +08:00 committed by GitHub
parent ebf54d6acd
commit 691d87978b
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ std::vector<rsx_subresource_layout> get_subresources_layout_impl(const RsxTextur
return get_subresources_layout_impl<4, u64>(pixels, w, h, depth, layer, texture.get_exact_mipmap_count(), texture.pitch(), !is_swizzled);
case CELL_GCM_TEXTURE_COMPRESSED_DXT23:
case CELL_GCM_TEXTURE_COMPRESSED_DXT45:
case CELL_GCM_TEXTURE_W32_Z32_Y32_X32_FLOAT:
return get_subresources_layout_impl<4, u128>(pixels, w, h, depth, layer, texture.get_exact_mipmap_count(), texture.pitch(), !is_swizzled);
}
fmt::throw_exception("Wrong format 0x%x" HERE, format);