diff options
| author | 2020-06-30 04:38:29 -0300 | |
|---|---|---|
| committer | 2020-07-13 01:01:09 -0300 | |
| commit | 95c0f5afe580943fc58d8787aeb27623daacead5 (patch) | |
| tree | befe4d5bc15e2db36badc22d843b42eb8fd3df06 /src/video_core/surface.h | |
| parent | video_core: Implement RGBA8_SINT render target (diff) | |
| download | yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.gz yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.xz yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.zip | |
video_core: Implement RGBA16_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 6f3162986..27d447cb9 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h | |||
| @@ -29,6 +29,7 @@ enum class PixelFormat { | |||
| 29 | RGBA16F, | 29 | RGBA16F, |
| 30 | RGBA16U, | 30 | RGBA16U, |
| 31 | RGBA16S, | 31 | RGBA16S, |
| 32 | RGBA16I, | ||
| 32 | RGBA16UI, | 33 | RGBA16UI, |
| 33 | R11FG11FB10F, | 34 | R11FG11FB10F, |
| 34 | RGBA32UI, | 35 | RGBA32UI, |
| @@ -149,6 +150,7 @@ constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ | |||
| 149 | 0, // RGBA16F | 150 | 0, // RGBA16F |
| 150 | 0, // RGBA16U | 151 | 0, // RGBA16U |
| 151 | 0, // RGBA16S | 152 | 0, // RGBA16S |
| 153 | 0, // RGBA16I | ||
| 152 | 0, // RGBA16UI | 154 | 0, // RGBA16UI |
| 153 | 0, // R11FG11FB10F | 155 | 0, // R11FG11FB10F |
| 154 | 0, // RGBA32UI | 156 | 0, // RGBA32UI |
| @@ -253,6 +255,7 @@ constexpr std::array<u32, MaxPixelFormat> block_width_table = {{ | |||
| 253 | 1, // RGBA16F | 255 | 1, // RGBA16F |
| 254 | 1, // RGBA16U | 256 | 1, // RGBA16U |
| 255 | 1, // RGBA16S | 257 | 1, // RGBA16S |
| 258 | 1, // RGBA16I | ||
| 256 | 1, // RGBA16UI | 259 | 1, // RGBA16UI |
| 257 | 1, // R11FG11FB10F | 260 | 1, // R11FG11FB10F |
| 258 | 1, // RGBA32UI | 261 | 1, // RGBA32UI |
| @@ -349,6 +352,7 @@ constexpr std::array<u32, MaxPixelFormat> block_height_table = {{ | |||
| 349 | 1, // RGBA16F | 352 | 1, // RGBA16F |
| 350 | 1, // RGBA16U | 353 | 1, // RGBA16U |
| 351 | 1, // RGBA16S | 354 | 1, // RGBA16S |
| 355 | 1, // RGBA16I | ||
| 352 | 1, // RGBA16UI | 356 | 1, // RGBA16UI |
| 353 | 1, // R11FG11FB10F | 357 | 1, // R11FG11FB10F |
| 354 | 1, // RGBA32UI | 358 | 1, // RGBA32UI |
| @@ -445,6 +449,7 @@ constexpr std::array<u32, MaxPixelFormat> bpp_table = {{ | |||
| 445 | 64, // RGBA16F | 449 | 64, // RGBA16F |
| 446 | 64, // RGBA16U | 450 | 64, // RGBA16U |
| 447 | 64, // RGBA16S | 451 | 64, // RGBA16S |
| 452 | 64, // RGBA16I | ||
| 448 | 64, // RGBA16UI | 453 | 64, // RGBA16UI |
| 449 | 32, // R11FG11FB10F | 454 | 32, // R11FG11FB10F |
| 450 | 128, // RGBA32UI | 455 | 128, // RGBA32UI |