Browse Source

correct the implementation of RGBA16UI

greggameplayer 6 years ago
parent
commit
c6bc13d0aa
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/video_core/surface.cpp

+ 2 - 0
src/video_core/surface.cpp

@@ -249,6 +249,8 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format,
             return PixelFormat::RGBA16U;
             return PixelFormat::RGBA16U;
         case Tegra::Texture::ComponentType::FLOAT:
         case Tegra::Texture::ComponentType::FLOAT:
             return PixelFormat::RGBA16F;
             return PixelFormat::RGBA16F;
+        case Tegra::Texture::ComponentType::UINT:
+            return PixelFormat::RGBA16UI;
         default:
         default:
             break;
             break;
         }
         }