2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

video_core/surface: Address feedback

This commit is contained in:
ReinUsesLisp 2019-06-24 02:07:11 -03:00
parent 10a83653ee
commit 75de730e28

View file

@ -123,7 +123,7 @@ enum class SurfaceTarget {
TextureCubeArray,
};
inline constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{
constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{
0, // ABGR8U
0, // ABGR8S
0, // ABGR8UI
@ -446,7 +446,7 @@ enum class SurfaceCompression : u8 {
Rearranged = 3,
};
inline constexpr std::array<SurfaceCompression, MaxPixelFormat> compression_type_table = {{
constexpr std::array<SurfaceCompression, MaxPixelFormat> compression_type_table = {{
SurfaceCompression::None, // ABGR8U
SurfaceCompression::None, // ABGR8S
SurfaceCompression::None, // ABGR8UI