summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:23:03 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:09 +0200
commit50c6030a8dc19454f558ba38562aed44b8c294f2 (patch)
tree9b36c6358ff0fe662f0f5b08125a2c2b28ebcbd4 /src/video_core/surface.cpp
parentvideo_core: Implement RG8_SINT render target and fix RG8_UINT (diff)
downloadyuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.gz
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.bz2
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.lz
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.xz
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.zst
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.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 1f12163fe..13e598972 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: