Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

correct the implementation of RGBA16UI

greggameplayerd60bce4eddd6
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index 621136b6ed..4b68461132 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -249,6 +249,8 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format,
return PixelFormat::RGBA16U;
case Tegra::Texture::ComponentType::FLOAT:
return PixelFormat::RGBA16F;
+ case Tegra::Texture::ComponentType::UINT:
+ return PixelFormat::RGBA16UI;
default:
break;
}