summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-06-30 04:23:03 -0300
committerGravatar ReinUsesLisp2020-07-13 01:01:09 -0300
commit50c6030a8dc19454f558ba38562aed44b8c294f2 (patch)
tree9b36c6358ff0fe662f0f5b08125a2c2b28ebcbd4 /src/video_core/surface.cpp
parentvideo_core: Implement RG8_SINT render target and fix RG8_UINT (diff)
downloadyuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.gz
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.tar.xz
yuzu-50c6030a8dc19454f558ba38562aed44b8c294f2.zip
video_core: Implement RG32_SINT render target
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 1f12163fe..13e598972 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -106,6 +106,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
106 return PixelFormat::RGBA16F; 106 return PixelFormat::RGBA16F;
107 case Tegra::RenderTargetFormat::RG32_FLOAT: 107 case Tegra::RenderTargetFormat::RG32_FLOAT:
108 return PixelFormat::RG32F; 108 return PixelFormat::RG32F;
109 case Tegra::RenderTargetFormat::RG32_SINT:
110 return PixelFormat::RG32I;
109 case Tegra::RenderTargetFormat::RG32_UINT: 111 case Tegra::RenderTargetFormat::RG32_UINT:
110 return PixelFormat::RG32UI; 112 return PixelFormat::RG32UI;
111 case Tegra::RenderTargetFormat::RGBX16_FLOAT: 113 case Tegra::RenderTargetFormat::RGBX16_FLOAT: