diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 08:51:42 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 06:01:08 +0200 |
commit | fd33e996e0d6d441917446f7a9ec854b0a79a909 (patch) | |
tree | fcc3d6086372cb7b04f2ed494ea60ce30298dfc2 /src/video_core/surface.h | |
parent | video_core/surface: Remove explicit values on PixelFormat's definition (diff) | |
download | yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.gz yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.bz2 yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.lz yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.xz yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.zst yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.zip |
Diffstat (limited to '')
-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 422c9fcb2..def206740 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h @@ -22,6 +22,7 @@ enum class PixelFormat { A2B10G10R10U, A1B5G5R5U, R8U, + R8S, R8UI, RGBA16F, RGBA16U, @@ -137,6 +138,7 @@ constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ 0, // A2B10G10R10U 0, // A1B5G5R5U 0, // R8U + 0, // R8S 0, // R8UI 0, // RGBA16F 0, // RGBA16U @@ -236,6 +238,7 @@ constexpr std::array<u32, MaxPixelFormat> block_width_table = {{ 1, // A2B10G10R10U 1, // A1B5G5R5U 1, // R8U + 1, // R8S 1, // R8UI 1, // RGBA16F 1, // RGBA16U @@ -327,6 +330,7 @@ constexpr std::array<u32, MaxPixelFormat> block_height_table = {{ 1, // A2B10G10R10U 1, // A1B5G5R5U 1, // R8U + 1, // R8S 1, // R8UI 1, // RGBA16F 1, // RGBA16U @@ -418,6 +422,7 @@ constexpr std::array<u32, MaxPixelFormat> bpp_table = {{ 32, // A2B10G10R10U 16, // A1B5G5R5U 8, // R8U + 8, // R8S 8, // R8UI 64, // RGBA16F 64, // RGBA16U |