[D3D12] Treat gamma/as_16 EDRAM formats the same as their base formats

This commit is contained in:
Triang3l
2018-09-22 19:22:57 +03:00
parent 133604f249
commit ecfa70284e
3 changed files with 24 additions and 3 deletions

View File

@@ -142,7 +142,8 @@ class TextureCache {
TileMode tile_mode;
// Uncompression info for when the regular host format for this texture is
// block-compressed, but the size is not block-aligned, and thus such
// texture cannot be created in Direct3D on PC and needs decompression.
// texture cannot be created in Direct3D on PC and needs decompression,
// however, such textures are common, for instance, in Halo 3.
DXGI_FORMAT dxgi_format_uncompressed;
LoadMode decompress_mode;
};