aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-02-25 17:19:34 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-02-25 17:19:34 -0300
commit74984326b059c28a16093db0a1611f6be0adf91b (patch)
tree82f45c5fc23e4ffe23be8fa6e100d82b859b4d98 /src/video_core/surface.cpp
parent75487d9d84da3daacae90ff0e577256c8909fa00 (diff)
video_core/surface: Add R32_SINT render target format
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 1655ccf16e..9707c353d8 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -155,6 +155,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
return PixelFormat::R16I;
case Tegra::RenderTargetFormat::R32_FLOAT:
return PixelFormat::R32F;
+ case Tegra::RenderTargetFormat::R32_SINT:
+ return PixelFormat::R32I;
case Tegra::RenderTargetFormat::R32_UINT:
return PixelFormat::R32UI;
case Tegra::RenderTargetFormat::RG32_UINT: