summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:00:23 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:08 +0200
commitf29fede49c647ce336de2fb4f48aba25f968a882 (patch)
tree221f82144265a6587440ee801b5d4662f1d49a27 /src/video_core/surface.cpp
parentvideo_core: Implement R8_SNORM render target (diff)
downloadyuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.gz
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.bz2
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.lz
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.xz
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.zst
yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.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 6e9b496d3..f132f1b43 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -166,6 +166,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
return PixelFormat::R8U;
case Tegra::RenderTargetFormat::R8_SNORM:
return PixelFormat::R8S;
+ case Tegra::RenderTargetFormat::R8_SINT:
+ return PixelFormat::R8I;
case Tegra::RenderTargetFormat::R8_UINT:
return PixelFormat::R8UI;
default: