diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 09:13:46 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 06:01:09 +0200 |
commit | e849d680480e07e430793fd9657a08b676655803 (patch) | |
tree | 640b2cfed02f0e67750ff4ec4c8fc15e909a099f /src/video_core/surface.h | |
parent | video_core: Implement R8_SINT render target (diff) | |
download | yuzu-e849d680480e07e430793fd9657a08b676655803.tar yuzu-e849d680480e07e430793fd9657a08b676655803.tar.gz yuzu-e849d680480e07e430793fd9657a08b676655803.tar.bz2 yuzu-e849d680480e07e430793fd9657a08b676655803.tar.lz yuzu-e849d680480e07e430793fd9657a08b676655803.tar.xz yuzu-e849d680480e07e430793fd9657a08b676655803.tar.zst yuzu-e849d680480e07e430793fd9657a08b676655803.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 a6cac3bf9..6999d9dc3 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h @@ -59,6 +59,7 @@ enum class PixelFormat { RGBA8_SRGB, RG8U, RG8S, + RG8I, RG8UI, RG32UI, RGBX16F, @@ -176,6 +177,7 @@ constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ 0, // RGBA8_SRGB 0, // RG8U 0, // RG8S + 0, // RG8I 0, // RG8UI 0, // RG32UI 0, // RGBX16F @@ -277,6 +279,7 @@ constexpr std::array<u32, MaxPixelFormat> block_width_table = {{ 1, // RGBA8_SRGB 1, // RG8U 1, // RG8S + 1, // RG8I 1, // RG8UI 1, // RG32UI 1, // RGBX16F @@ -370,6 +373,7 @@ constexpr std::array<u32, MaxPixelFormat> block_height_table = {{ 1, // RGBA8_SRGB 1, // RG8U 1, // RG8S + 1, // RG8I 1, // RG8UI 1, // RG32UI 1, // RGBX16F @@ -463,6 +467,7 @@ constexpr std::array<u32, MaxPixelFormat> bpp_table = {{ 32, // RGBA8_SRGB 16, // RG8U 16, // RG8S + 16, // RG8I 16, // RG8UI 64, // RG32UI 64, // RGBX16F |