diff options
| author | 2022-11-04 14:39:42 +0800 | |
|---|---|---|
| committer | 2022-11-04 02:39:42 -0400 | |
| commit | 75596c07e0fc1462c2a19484e168f4944c33d3d3 (patch) | |
| tree | 1aa919ea76f467c51b3fc591a72c57f5ade92560 /src/shader_recompiler/shader_info.h | |
| parent | UI: Add options to hide extra columns (#9093) (diff) | |
| download | yuzu-75596c07e0fc1462c2a19484e168f4944c33d3d3.tar.gz yuzu-75596c07e0fc1462c2a19484e168f4944c33d3d3.tar.xz yuzu-75596c07e0fc1462c2a19484e168f4944c33d3d3.zip | |
video_core: Fix SNORM texture buffer emulating error (#9001)
Diffstat (limited to '')
| -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 a479e105e..f31e1f821 100644 --- a/src/shader_recompiler/shader_info.h +++ b/src/shader_recompiler/shader_info.h | |||
| @@ -29,6 +29,16 @@ enum class TextureType : u32 { | |||
| 29 | }; | 29 | }; |
| 30 | constexpr u32 NUM_TEXTURE_TYPES = 9; | 30 | constexpr u32 NUM_TEXTURE_TYPES = 9; |
| 31 | 31 | ||
| 32 | enum class TexturePixelFormat : u32 { | ||
| 33 | A8B8G8R8_SNORM, | ||
| 34 | R8_SNORM, | ||
| 35 | R8G8_SNORM, | ||
| 36 | R16G16B16A16_SNORM, | ||
| 37 | R16G16_SNORM, | ||
| 38 | R16_SNORM, | ||
| 39 | OTHER | ||
| 40 | }; | ||
| 41 | |||
| 32 | enum class ImageFormat : u32 { | 42 | enum class ImageFormat : u32 { |
| 33 | Typeless, | 43 | Typeless, |
| 34 | R8_UINT, | 44 | R8_UINT, |