summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 04:38:29 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 01:01:09 -0300
commit95c0f5afe580943fc58d8787aeb27623daacead5 (patch)
treebefe4d5bc15e2db36badc22d843b42eb8fd3df06 /src/video_core/surface.cpp
parent977d6c46f334493852c5c31ff824a871e94188a1 (diff)
video_core: Implement RGBA16_SINT render target
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: