diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 09:53:48 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 06:01:09 +0200 |
commit | 1d20aac795857f8d28e7fc196473a90da4ced33d (patch) | |
tree | 3ffb19ef38a1420967a55c8181554f7abe766293 /src/video_core/surface.h | |
parent | video_core: Implement RGBA32_SINT render target (diff) | |
download | yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.gz yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.bz2 yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.lz yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.xz yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.zst yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.zip |
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 a564a00e9..aec6b1734 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h @@ -21,6 +21,7 @@ enum class PixelFormat { ABGR8UI, B5G6R5U, A2B10G10R10U, + A2B10G10R10UI, A1B5G5R5U, R8U, R8S, @@ -143,6 +144,7 @@ constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ 0, // ABGR8UI 0, // B5G6R5U 0, // A2B10G10R10U + 0, // A2B10G10R10UI 0, // A1B5G5R5U 0, // R8U 0, // R8S @@ -249,6 +251,7 @@ constexpr std::array<u32, MaxPixelFormat> block_width_table = {{ 1, // ABGR8UI 1, // B5G6R5U 1, // A2B10G10R10U + 1, // A2B10G10R10UI 1, // A1B5G5R5U 1, // R8U 1, // R8S @@ -347,6 +350,7 @@ constexpr std::array<u32, MaxPixelFormat> block_height_table = {{ 1, // ABGR8UI 1, // B5G6R5U 1, // A2B10G10R10U + 1, // A2B10G10R10UI 1, // A1B5G5R5U 1, // R8U 1, // R8S @@ -445,6 +449,7 @@ constexpr std::array<u32, MaxPixelFormat> bpp_table = {{ 32, // ABGR8UI 16, // B5G6R5U 32, // A2B10G10R10U + 32, // A2B10G10R10UI 16, // A1B5G5R5U 8, // R8U 8, // R8S |