diff options
| author | 2020-06-30 04:00:23 -0300 | |
|---|---|---|
| committer | 2020-07-13 01:01:08 -0300 | |
| commit | f29fede49c647ce336de2fb4f48aba25f968a882 (patch) | |
| tree | 221f82144265a6587440ee801b5d4662f1d49a27 /src/video_core/surface.h | |
| parent | video_core: Implement R8_SNORM render target (diff) | |
| download | yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.gz yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.xz yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.zip | |
video_core: Implement R8_SINT render target
Diffstat (limited to 'src/video_core/surface.h')
| -rw-r--r-- | src/video_core/surface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h index def206740..a6cac3bf9 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h | |||
| @@ -23,6 +23,7 @@ enum class PixelFormat { | |||
| 23 | A1B5G5R5U, | 23 | A1B5G5R5U, |
| 24 | R8U, | 24 | R8U, |
| 25 | R8S, | 25 | R8S, |
| 26 | R8I, | ||
| 26 | R8UI, | 27 | R8UI, |
| 27 | RGBA16F, | 28 | RGBA16F, |
| 28 | RGBA16U, | 29 | RGBA16U, |
| @@ -139,6 +140,7 @@ constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ | |||
| 139 | 0, // A1B5G5R5U | 140 | 0, // A1B5G5R5U |
| 140 | 0, // R8U | 141 | 0, // R8U |
| 141 | 0, // R8S | 142 | 0, // R8S |
| 143 | 0, // R8I | ||
| 142 | 0, // R8UI | 144 | 0, // R8UI |
| 143 | 0, // RGBA16F | 145 | 0, // RGBA16F |
| 144 | 0, // RGBA16U | 146 | 0, // RGBA16U |
| @@ -239,6 +241,7 @@ constexpr std::array<u32, MaxPixelFormat> block_width_table = {{ | |||
| 239 | 1, // A1B5G5R5U | 241 | 1, // A1B5G5R5U |
| 240 | 1, // R8U | 242 | 1, // R8U |
| 241 | 1, // R8S | 243 | 1, // R8S |
| 244 | 1, // R8I | ||
| 242 | 1, // R8UI | 245 | 1, // R8UI |
| 243 | 1, // RGBA16F | 246 | 1, // RGBA16F |
| 244 | 1, // RGBA16U | 247 | 1, // RGBA16U |
| @@ -331,6 +334,7 @@ constexpr std::array<u32, MaxPixelFormat> block_height_table = {{ | |||
| 331 | 1, // A1B5G5R5U | 334 | 1, // A1B5G5R5U |
| 332 | 1, // R8U | 335 | 1, // R8U |
| 333 | 1, // R8S | 336 | 1, // R8S |
| 337 | 1, // R8I | ||
| 334 | 1, // R8UI | 338 | 1, // R8UI |
| 335 | 1, // RGBA16F | 339 | 1, // RGBA16F |
| 336 | 1, // RGBA16U | 340 | 1, // RGBA16U |
| @@ -423,6 +427,7 @@ constexpr std::array<u32, MaxPixelFormat> bpp_table = {{ | |||
| 423 | 16, // A1B5G5R5U | 427 | 16, // A1B5G5R5U |
| 424 | 8, // R8U | 428 | 8, // R8U |
| 425 | 8, // R8S | 429 | 8, // R8S |
| 430 | 8, // R8I | ||
| 426 | 8, // R8UI | 431 | 8, // R8UI |
| 427 | 64, // RGBA16F | 432 | 64, // RGBA16F |
| 428 | 64, // RGBA16U | 433 | 64, // RGBA16U |