summaryrefslogtreecommitdiff
path: root/src/video_core/surface.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-06-30 04:53:48 -0300
committerGravatar ReinUsesLisp2020-07-13 01:01:09 -0300
commit1d20aac795857f8d28e7fc196473a90da4ced33d (patch)
tree3ffb19ef38a1420967a55c8181554f7abe766293 /src/video_core/surface.h
parentvideo_core: Implement RGBA32_SINT render target (diff)
downloadyuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.gz
yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.tar.xz
yuzu-1d20aac795857f8d28e7fc196473a90da4ced33d.zip
video_core: Implement RGBA32_SINT render target
Diffstat (limited to 'src/video_core/surface.h')
-rw-r--r--src/video_core/surface.h5
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 {
21 ABGR8UI, 21 ABGR8UI,
22 B5G6R5U, 22 B5G6R5U,
23 A2B10G10R10U, 23 A2B10G10R10U,
24 A2B10G10R10UI,
24 A1B5G5R5U, 25 A1B5G5R5U,
25 R8U, 26 R8U,
26 R8S, 27 R8S,
@@ -143,6 +144,7 @@ constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{
143 0, // ABGR8UI 144 0, // ABGR8UI
144 0, // B5G6R5U 145 0, // B5G6R5U
145 0, // A2B10G10R10U 146 0, // A2B10G10R10U
147 0, // A2B10G10R10UI
146 0, // A1B5G5R5U 148 0, // A1B5G5R5U
147 0, // R8U 149 0, // R8U
148 0, // R8S 150 0, // R8S
@@ -249,6 +251,7 @@ constexpr std::array<u32, MaxPixelFormat> block_width_table = {{
249 1, // ABGR8UI 251 1, // ABGR8UI
250 1, // B5G6R5U 252 1, // B5G6R5U
251 1, // A2B10G10R10U 253 1, // A2B10G10R10U
254 1, // A2B10G10R10UI
252 1, // A1B5G5R5U 255 1, // A1B5G5R5U
253 1, // R8U 256 1, // R8U
254 1, // R8S 257 1, // R8S
@@ -347,6 +350,7 @@ constexpr std::array<u32, MaxPixelFormat> block_height_table = {{
347 1, // ABGR8UI 350 1, // ABGR8UI
348 1, // B5G6R5U 351 1, // B5G6R5U
349 1, // A2B10G10R10U 352 1, // A2B10G10R10U
353 1, // A2B10G10R10UI
350 1, // A1B5G5R5U 354 1, // A1B5G5R5U
351 1, // R8U 355 1, // R8U
352 1, // R8S 356 1, // R8S
@@ -445,6 +449,7 @@ constexpr std::array<u32, MaxPixelFormat> bpp_table = {{
445 32, // ABGR8UI 449 32, // ABGR8UI
446 16, // B5G6R5U 450 16, // B5G6R5U
447 32, // A2B10G10R10U 451 32, // A2B10G10R10U
452 32, // A2B10G10R10UI
448 16, // A1B5G5R5U 453 16, // A1B5G5R5U
449 8, // R8U 454 8, // R8U
450 8, // R8S 455 8, // R8S