summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2020-05-09 05:28:55 -0300
committerGravatar GitHub2020-05-09 05:28:55 -0300
commit7e376af8fcd60baaa127b459e83bf716067be233 (patch)
tree074ebb06bf109a9277cc7e6f4b1a0a491adc8fd7 /src/video_core/surface.cpp
parentMerge pull request #3842 from makigumo/maxwell_to_vk_vertexattribute_signed_int (diff)
parenttexture: Implement R8G8UI (diff)
downloadyuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.gz
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.xz
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.zip
Merge pull request #3839 from Morph1984/r8g8ui
texture: Implement R8G8UI
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 cc7181229..bbe93903c 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -145,6 +145,8 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
145 return PixelFormat::RG8U; 145 return PixelFormat::RG8U;
146 case Tegra::RenderTargetFormat::RG8_SNORM: 146 case Tegra::RenderTargetFormat::RG8_SNORM:
147 return PixelFormat::RG8S; 147 return PixelFormat::RG8S;
148 case Tegra::RenderTargetFormat::RG8_UINT:
149 return PixelFormat::RG8UI;
148 case Tegra::RenderTargetFormat::R16_FLOAT: 150 case Tegra::RenderTargetFormat::R16_FLOAT:
149 return PixelFormat::R16F; 151 return PixelFormat::R16F;
150 case Tegra::RenderTargetFormat::R16_UNORM: 152 case Tegra::RenderTargetFormat::R16_UNORM: