aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 04:23:03 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 01:01:09 -0300
commitad494d0a3c990d3d64d1d581e506ca43b55e0cd7 (patch)
tree9b36c6358ff0fe662f0f5b08125a2c2b28ebcbd4 /src/video_core/surface.cpp
parent469c89d31a9359b0839e93b9d084730d14e5991a (diff)
video_core: Implement RG32_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 1f12163fed..13e598972c 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -106,6 +106,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
return PixelFormat::RGBA16F;
case Tegra::RenderTargetFormat::RG32_FLOAT:
return PixelFormat::RG32F;
+ case Tegra::RenderTargetFormat::RG32_SINT:
+ return PixelFormat::RG32I;
case Tegra::RenderTargetFormat::RG32_UINT:
return PixelFormat::RG32UI;
case Tegra::RenderTargetFormat::RGBX16_FLOAT: