summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-13 01:42:33 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-13 01:42:33 +0100
commit4dcca90ef436b2177efa1108ee2504700bf014b4 (patch)
tree5e8edc95cc7828b3b604449cebf56d6f5d6c58c9 /src/video_core/surface.cpp
parentMerge pull request #3497 from FernandoS27/microprogfile-extend (diff)
downloadyuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.gz
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.bz2
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.lz
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.xz
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.zst
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.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 9707c353d..cc7181229 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -111,6 +111,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
return PixelFormat::RGBA16F;
case Tegra::RenderTargetFormat::RGBA16_UNORM:
return PixelFormat::RGBA16U;
+ case Tegra::RenderTargetFormat::RGBA16_SNORM:
+ return PixelFormat::RGBA16S;
case Tegra::RenderTargetFormat::RGBA16_UINT:
return PixelFormat::RGBA16UI;
case Tegra::RenderTargetFormat::RGBA32_FLOAT: