summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:38:29 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:09 +0200
commit95c0f5afe580943fc58d8787aeb27623daacead5 (patch)
treebefe4d5bc15e2db36badc22d843b42eb8fd3df06 /src/video_core/surface.cpp
parentvideo_core: Implement RGBA8_SINT render target (diff)
downloadyuzu-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.cpp')
-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 0db995367..9c19e2838 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -100,6 +100,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
return PixelFormat::RGBA16U;
case Tegra::RenderTargetFormat::RGBA16_SNORM:
return PixelFormat::RGBA16S;
+ case Tegra::RenderTargetFormat::RGBA16_SINT:
+ return PixelFormat::RGBA16I;
case Tegra::RenderTargetFormat::RGBA16_UINT:
return PixelFormat::RGBA16UI;
case Tegra::RenderTargetFormat::RGBA16_FLOAT: