Merge pull request #3110 from greggameplayer/CompleteRGBA16UI

Complete the implementation of RGBA16UI
This commit is contained in:
Rodrigo Locatti 2019-11-14 18:21:12 -03:00 committed by GitHub
commit 790a482bb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }