summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:31:48 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:09 +0200
commit977d6c46f334493852c5c31ff824a871e94188a1 (patch)
treed7a9105d1bd9d93b8f0b2dc6a66c188b9e14d89a /src/video_core/surface.cpp
parentvideo_core: Implement RG32_SINT render target (diff)
downloadyuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar
yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.gz
yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.bz2
yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.lz
yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.xz
yuzu-977d6c46f334493852c5c31ff824a871e94188a1.tar.zst
yuzu-977d6c46f334493852c5c31ff824a871e94188a1.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 13e598972..0db995367 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -124,6 +124,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
return PixelFormat::RGBA8_SRGB;
case Tegra::RenderTargetFormat::RGBA8_SNORM:
return PixelFormat::ABGR8S;
+ case Tegra::RenderTargetFormat::RGBA8_SINT:
+ return PixelFormat::ABGR8I;
case Tegra::RenderTargetFormat::RGBA8_UINT:
return PixelFormat::ABGR8UI;
case Tegra::RenderTargetFormat::RG16_UNORM: