From 466ce715e4bbd7c4b3889f98e282c1ca4c167e71 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Tue, 25 Feb 2020 17:19:34 -0300 Subject: video_core/surface: Add R32_SINT render target format --- src/video_core/surface.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/video_core/surface.cpp') diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp index 1655ccf16..9707c353d 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp @@ -155,6 +155,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) return PixelFormat::R16I; case Tegra::RenderTargetFormat::R32_FLOAT: return PixelFormat::R32F; + case Tegra::RenderTargetFormat::R32_SINT: + return PixelFormat::R32I; case Tegra::RenderTargetFormat::R32_UINT: return PixelFormat::R32UI; case Tegra::RenderTargetFormat::RG32_UINT: -- cgit v1.2.3