diff options
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 aec6b1734..9510db2c8 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h | |||
| @@ -20,6 +20,7 @@ enum class PixelFormat { | |||
| 20 | ABGR8I, | 20 | ABGR8I, |
| 21 | ABGR8UI, | 21 | ABGR8UI, |
| 22 | B5G6R5U, | 22 | B5G6R5U, |
| 23 | B5G5R5A1U, | ||
| 23 | A2B10G10R10U, | 24 | A2B10G10R10U, |
| 24 | A2B10G10R10UI, | 25 | A2B10G10R10UI, |
| 25 | A1B5G5R5U, | 26 | A1B5G5R5U, |
| @@ -143,6 +144,7 @@ constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ | |||
| 143 | 0, // ABGR8I | 144 | 0, // ABGR8I |
| 144 | 0, // ABGR8UI | 145 | 0, // ABGR8UI |
| 145 | 0, // B5G6R5U | 146 | 0, // B5G6R5U |
| 147 | 0, // B5G5R5A1U | ||
| 146 | 0, // A2B10G10R10U | 148 | 0, // A2B10G10R10U |
| 147 | 0, // A2B10G10R10UI | 149 | 0, // A2B10G10R10UI |
| 148 | 0, // A1B5G5R5U | 150 | 0, // A1B5G5R5U |
| @@ -250,6 +252,7 @@ constexpr std::array<u32, MaxPixelFormat> block_width_table = {{ | |||
| 250 | 1, // ABGR8I | 252 | 1, // ABGR8I |
| 251 | 1, // ABGR8UI | 253 | 1, // ABGR8UI |
| 252 | 1, // B5G6R5U | 254 | 1, // B5G6R5U |
| 255 | 1, // B5G5R5A1U | ||
| 253 | 1, // A2B10G10R10U | 256 | 1, // A2B10G10R10U |
| 254 | 1, // A2B10G10R10UI | 257 | 1, // A2B10G10R10UI |
| 255 | 1, // A1B5G5R5U | 258 | 1, // A1B5G5R5U |
| @@ -349,6 +352,7 @@ constexpr std::array<u32, MaxPixelFormat> block_height_table = {{ | |||
| 349 | 1, // ABGR8I | 352 | 1, // ABGR8I |
| 350 | 1, // ABGR8UI | 353 | 1, // ABGR8UI |
| 351 | 1, // B5G6R5U | 354 | 1, // B5G6R5U |
| 355 | 1, // B5G5R5A1U | ||
| 352 | 1, // A2B10G10R10U | 356 | 1, // A2B10G10R10U |
| 353 | 1, // A2B10G10R10UI | 357 | 1, // A2B10G10R10UI |
| 354 | 1, // A1B5G5R5U | 358 | 1, // A1B5G5R5U |
| @@ -448,6 +452,7 @@ constexpr std::array<u32, MaxPixelFormat> bpp_table = {{ | |||
| 448 | 32, // ABGR8I | 452 | 32, // ABGR8I |
| 449 | 32, // ABGR8UI | 453 | 32, // ABGR8UI |
| 450 | 16, // B5G6R5U | 454 | 16, // B5G6R5U |
| 455 | 16, // B5G5R5A1U | ||
| 451 | 32, // A2B10G10R10U | 456 | 32, // A2B10G10R10U |
| 452 | 32, // A2B10G10R10UI | 457 | 32, // A2B10G10R10UI |
| 453 | 16, // A1B5G5R5U | 458 | 16, // A1B5G5R5U |