diff options
| author | 2018-08-11 19:55:41 -0400 | |
|---|---|---|
| committer | 2018-08-11 19:55:41 -0400 | |
| commit | c51935450652fbd62e96dfc8031c6388c7774e31 (patch) | |
| tree | 97740e48dcf9fd846d376f5eae6bb663ccaad6e0 /src/video_core/gpu.h | |
| parent | Merge pull request #970 from DarkLordZach/loader-errors (diff) | |
| parent | gl_rasterizer: Implement render target format RG8_SNORM. (diff) | |
| download | yuzu-c51935450652fbd62e96dfc8031c6388c7774e31.tar.gz yuzu-c51935450652fbd62e96dfc8031c6388c7774e31.tar.xz yuzu-c51935450652fbd62e96dfc8031c6388c7774e31.zip | |
Merge pull request #1009 from bunnei/rg8-rgba8-snorm
Implement render target formats RGBA8_SNORM and RG8_SNORM.
Diffstat (limited to 'src/video_core/gpu.h')
| -rw-r--r-- | src/video_core/gpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index b57312b3b..de5b037be 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h | |||
| @@ -26,6 +26,7 @@ enum class RenderTargetFormat : u32 { | |||
| 26 | RGB10_A2_UNORM = 0xD1, | 26 | RGB10_A2_UNORM = 0xD1, |
| 27 | RGBA8_UNORM = 0xD5, | 27 | RGBA8_UNORM = 0xD5, |
| 28 | RGBA8_SRGB = 0xD6, | 28 | RGBA8_SRGB = 0xD6, |
| 29 | RGBA8_SNORM = 0xD7, | ||
| 29 | RG16_UNORM = 0xDA, | 30 | RG16_UNORM = 0xDA, |
| 30 | RG16_SNORM = 0xDB, | 31 | RG16_SNORM = 0xDB, |
| 31 | RG16_SINT = 0xDC, | 32 | RG16_SINT = 0xDC, |
| @@ -34,6 +35,7 @@ enum class RenderTargetFormat : u32 { | |||
| 34 | R11G11B10_FLOAT = 0xE0, | 35 | R11G11B10_FLOAT = 0xE0, |
| 35 | R32_FLOAT = 0xE5, | 36 | R32_FLOAT = 0xE5, |
| 36 | B5G6R5_UNORM = 0xE8, | 37 | B5G6R5_UNORM = 0xE8, |
| 38 | RG8_SNORM = 0xEB, | ||
| 37 | R16_UNORM = 0xEE, | 39 | R16_UNORM = 0xEE, |
| 38 | R16_SNORM = 0xEF, | 40 | R16_SNORM = 0xEF, |
| 39 | R16_SINT = 0xF0, | 41 | R16_SINT = 0xF0, |