diff options
author | Feng Chen <VonChenPlus@gmail.com> | 2022-11-04 14:39:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 02:39:42 -0400 |
commit | 75596c07e0fc1462c2a19484e168f4944c33d3d3 (patch) | |
tree | 1aa919ea76f467c51b3fc591a72c57f5ade92560 /src/shader_recompiler/shader_info.h | |
parent | ece22fcbc7f120dd2929c60545b81f0e3211c028 (diff) |
video_core: Fix SNORM texture buffer emulating error (#9001)
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
-rw-r--r-- | src/shader_recompiler/shader_info.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h index a479e105ea..f31e1f821f 100644 --- a/src/shader_recompiler/shader_info.h +++ b/src/shader_recompiler/shader_info.h @@ -29,6 +29,16 @@ enum class TextureType : u32 { }; constexpr u32 NUM_TEXTURE_TYPES = 9; +enum class TexturePixelFormat : u32 { + A8B8G8R8_SNORM, + R8_SNORM, + R8G8_SNORM, + R16G16B16A16_SNORM, + R16G16_SNORM, + R16_SNORM, + OTHER +}; + enum class ImageFormat : u32 { Typeless, R8_UINT, |