summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 08:51:42 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:08 +0200
commitfd33e996e0d6d441917446f7a9ec854b0a79a909 (patch)
treefcc3d6086372cb7b04f2ed494ea60ce30298dfc2 /src/video_core/surface.cpp
parentvideo_core/surface: Remove explicit values on PixelFormat's definition (diff)
downloadyuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar
yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.gz
yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.bz2
yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.lz
yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.xz
yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.zst
yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.zip
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 2392a46f4..6e9b496d3 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -164,6 +164,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
return PixelFormat::R16F;
case Tegra::RenderTargetFormat::R8_UNORM:
return PixelFormat::R8U;
+ case Tegra::RenderTargetFormat::R8_SNORM:
+ return PixelFormat::R8S;
case Tegra::RenderTargetFormat::R8_UINT:
return PixelFormat::R8UI;
default: