瀏覽代碼

correct the implementation of RGBA16UI

greggameplayer 6 年之前
父節點
當前提交
c6bc13d0aa
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;
         case Tegra::Texture::ComponentType::FLOAT:
             return PixelFormat::RGBA16F;
+        case Tegra::Texture::ComponentType::UINT:
+            return PixelFormat::RGBA16UI;
         default:
             break;
         }