aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 04:53:48 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 01:01:09 -0300
commitac8eeffbbc3e41e09f0e7d56401fe176c7e6e536 (patch)
tree3ffb19ef38a1420967a55c8181554f7abe766293 /src/video_core/surface.cpp
parent59610b129f61c45973416f1655644534bb4baeb1 (diff)
video_core: Implement RGBA32_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 b287fe83f5..ea1e20de71 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -122,6 +122,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
return PixelFormat::BGRA8_SRGB;
case Tegra::RenderTargetFormat::RGB10_A2_UNORM:
return PixelFormat::A2B10G10R10U;
+ case Tegra::RenderTargetFormat::RGB10_A2_UINT:
+ return PixelFormat::A2B10G10R10UI;
case Tegra::RenderTargetFormat::RGBA8_UNORM:
return PixelFormat::ABGR8U;
case Tegra::RenderTargetFormat::RGBA8_SRGB: