Преглед на файлове

Merge pull request #3110 from greggameplayer/CompleteRGBA16UI

Complete the implementation of RGBA16UI
Rodrigo Locatti преди 6 години
родител
ревизия
790a482bb4
променени са 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;
         }