diff options
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureDecoder.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder.h b/Source/Core/VideoCommon/TextureDecoder.h index 1a33fbfcf8..2a270eacd1 100644 --- a/Source/Core/VideoCommon/TextureDecoder.h +++ b/Source/Core/VideoCommon/TextureDecoder.h @@ -28,6 +28,11 @@ enum class TextureFormat C8 = 0x9, C14X2 = 0xA, CMPR = 0xE, + + // Special texture format used to represent YUVY xfb copies. + // They aren't really textures, but they share so much hardware and usecases that it makes sense + // to emulate them as part of texture cache. + XFB = 0xF, }; static inline bool IsColorIndexed(TextureFormat format) @@ -73,6 +78,11 @@ enum class EFBCopyFormat B8 = 0xA, // B8, Z8L RG8 = 0xB, // RG8, Z16R (Note: G and R are reversed) GB8 = 0xC, // GB8, Z16L + + // Special texture format used to represent YUVY xfb copies. + // They aren't really textures, but they share so much hardware and usecases that it makes sense + // to emulate them as part of texture cache. + XFB = 0xF, }; enum class TLUTFormat |
