diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 09:38:29 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 06:01:09 +0200 |
commit | 95c0f5afe580943fc58d8787aeb27623daacead5 (patch) | |
tree | befe4d5bc15e2db36badc22d843b42eb8fd3df06 /src/video_core/surface.h | |
parent | video_core: Implement RGBA8_SINT render target (diff) | |
download | yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.gz yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.bz2 yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.lz yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.xz yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.zst yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.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 6f3162986..27d447cb9 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h @@ -29,6 +29,7 @@ enum class PixelFormat { RGBA16F, RGBA16U, RGBA16S, + RGBA16I, RGBA16UI, R11FG11FB10F, RGBA32UI, @@ -149,6 +150,7 @@ constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ 0, // RGBA16F 0, // RGBA16U 0, // RGBA16S + 0, // RGBA16I 0, // RGBA16UI 0, // R11FG11FB10F 0, // RGBA32UI @@ -253,6 +255,7 @@ constexpr std::array<u32, MaxPixelFormat> block_width_table = {{ 1, // RGBA16F 1, // RGBA16U 1, // RGBA16S + 1, // RGBA16I 1, // RGBA16UI 1, // R11FG11FB10F 1, // RGBA32UI @@ -349,6 +352,7 @@ constexpr std::array<u32, MaxPixelFormat> block_height_table = {{ 1, // RGBA16F 1, // RGBA16U 1, // RGBA16S + 1, // RGBA16I 1, // RGBA16UI 1, // R11FG11FB10F 1, // RGBA32UI @@ -445,6 +449,7 @@ constexpr std::array<u32, MaxPixelFormat> bpp_table = {{ 64, // RGBA16F 64, // RGBA16U 64, // RGBA16S + 64, // RGBA16I 64, // RGBA16UI 32, // R11FG11FB10F 128, // RGBA32UI |