summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:13:46 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:09 +0200
commite849d680480e07e430793fd9657a08b676655803 (patch)
tree640b2cfed02f0e67750ff4ec4c8fc15e909a099f /src/video_core/surface.cpp
parentvideo_core: Implement R8_SINT render target (diff)
downloadyuzu-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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index f132f1b43..1f12163fe 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -150,6 +150,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
return PixelFormat::RG8U;
case Tegra::RenderTargetFormat::RG8_SNORM:
return PixelFormat::RG8S;
+ case Tegra::RenderTargetFormat::RG8_SINT:
+ return PixelFormat::RG8I;
case Tegra::RenderTargetFormat::RG8_UINT:
return PixelFormat::RG8UI;
case Tegra::RenderTargetFormat::R16_UNORM: