summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:00:23 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:08 +0200
commitf29fede49c647ce336de2fb4f48aba25f968a882 (patch)
tree221f82144265a6587440ee801b5d4662f1d49a27 /src/video_core/surface.h
parentvideo_core: Implement R8_SNORM render target (diff)
downloadyuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.gz
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.bz2
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.lz
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.xz
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.zst
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.zip
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 def206740..a6cac3bf9 100644
--- a/src/video_core/surface.h
+++ b/src/video_core/surface.h
@@ -23,6 +23,7 @@ enum class PixelFormat {
A1B5G5R5U,
R8U,
R8S,
+ R8I,
R8UI,
RGBA16F,
RGBA16U,
@@ -139,6 +140,7 @@ constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{
0, // A1B5G5R5U
0, // R8U
0, // R8S
+ 0, // R8I
0, // R8UI
0, // RGBA16F
0, // RGBA16U
@@ -239,6 +241,7 @@ constexpr std::array<u32, MaxPixelFormat> block_width_table = {{
1, // A1B5G5R5U
1, // R8U
1, // R8S
+ 1, // R8I
1, // R8UI
1, // RGBA16F
1, // RGBA16U
@@ -331,6 +334,7 @@ constexpr std::array<u32, MaxPixelFormat> block_height_table = {{
1, // A1B5G5R5U
1, // R8U
1, // R8S
+ 1, // R8I
1, // R8UI
1, // RGBA16F
1, // RGBA16U
@@ -423,6 +427,7 @@ constexpr std::array<u32, MaxPixelFormat> bpp_table = {{
16, // A1B5G5R5U
8, // R8U
8, // R8S
+ 8, // R8I
8, // R8UI
64, // RGBA16F
64, // RGBA16U