Procházet zdrojové kódy

correct the implementation of RGBA16UI

greggameplayer před 6 roky
rodič
revize
c6bc13d0aa
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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;
         }