diff options
Diffstat (limited to 'src/video_core/surface.h')
| -rw-r--r-- | src/video_core/surface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h index ee9f00fa6..bfdbc3b81 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h | |||
| @@ -123,7 +123,7 @@ enum class SurfaceTarget { | |||
| 123 | TextureCubeArray, | 123 | TextureCubeArray, |
| 124 | }; | 124 | }; |
| 125 | 125 | ||
| 126 | inline constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ | 126 | constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ |
| 127 | 0, // ABGR8U | 127 | 0, // ABGR8U |
| 128 | 0, // ABGR8S | 128 | 0, // ABGR8S |
| 129 | 0, // ABGR8UI | 129 | 0, // ABGR8UI |
| @@ -446,7 +446,7 @@ enum class SurfaceCompression : u8 { | |||
| 446 | Rearranged = 3, | 446 | Rearranged = 3, |
| 447 | }; | 447 | }; |
| 448 | 448 | ||
| 449 | inline constexpr std::array<SurfaceCompression, MaxPixelFormat> compression_type_table = {{ | 449 | constexpr std::array<SurfaceCompression, MaxPixelFormat> compression_type_table = {{ |
| 450 | SurfaceCompression::None, // ABGR8U | 450 | SurfaceCompression::None, // ABGR8U |
| 451 | SurfaceCompression::None, // ABGR8S | 451 | SurfaceCompression::None, // ABGR8S |
| 452 | SurfaceCompression::None, // ABGR8UI | 452 | SurfaceCompression::None, // ABGR8UI |