From c6bc13d0aafd0d825f05a5c64fa40f3da7a41876 Mon Sep 17 00:00:00 2001
From: greggameplayer <gregoire.hage@gmail.com>
Date: Tue, 12 Nov 2019 20:09:54 +0100
Subject: [PATCH] correct the implementation of RGBA16UI

---
 src/video_core/surface.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index 621136b6e..4b6846113 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;
         }