1
0
Fork 0
forked from suyu/suyu

Merge pull request #1074 from greggameplayer/Z16_UNORM

Implement Z16 in PixelFormatFromTextureFormat function
This commit is contained in:
bunnei 2018-08-14 22:39:09 -04:00 committed by GitHub
commit 18dfa99030
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -396,6 +396,8 @@ struct SurfaceParams {
UNREACHABLE();
case Tegra::Texture::TextureFormat::ZF32:
return PixelFormat::Z32F;
case Tegra::Texture::TextureFormat::Z16:
return PixelFormat::Z16;
case Tegra::Texture::TextureFormat::Z24S8:
return PixelFormat::Z24S8;
case Tegra::Texture::TextureFormat::DXT1: