mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-23 14:25:38 +01:00
Merge pull request #1074 from greggameplayer/Z16_UNORM
Implement Z16 in PixelFormatFromTextureFormat function
This commit is contained in:
commit
18dfa99030
@ -396,6 +396,8 @@ struct SurfaceParams {
|
|||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
case Tegra::Texture::TextureFormat::ZF32:
|
case Tegra::Texture::TextureFormat::ZF32:
|
||||||
return PixelFormat::Z32F;
|
return PixelFormat::Z32F;
|
||||||
|
case Tegra::Texture::TextureFormat::Z16:
|
||||||
|
return PixelFormat::Z16;
|
||||||
case Tegra::Texture::TextureFormat::Z24S8:
|
case Tegra::Texture::TextureFormat::Z24S8:
|
||||||
return PixelFormat::Z24S8;
|
return PixelFormat::Z24S8;
|
||||||
case Tegra::Texture::TextureFormat::DXT1:
|
case Tegra::Texture::TextureFormat::DXT1:
|
||||||
|
Loading…
Reference in New Issue
Block a user