mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-24 18:32:49 -06:00
Implement Texture Format ZF32_X24S8.
This commit is contained in:
parent
b0aa8ad736
commit
7c458311d3
1 changed files with 2 additions and 0 deletions
|
@ -294,6 +294,8 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format,
|
||||||
return PixelFormat::Z16;
|
return PixelFormat::Z16;
|
||||||
case Tegra::Texture::TextureFormat::Z24S8:
|
case Tegra::Texture::TextureFormat::Z24S8:
|
||||||
return PixelFormat::Z24S8;
|
return PixelFormat::Z24S8;
|
||||||
|
case Tegra::Texture::TextureFormat::ZF32_X24S8:
|
||||||
|
return PixelFormat::Z32FS8;
|
||||||
case Tegra::Texture::TextureFormat::DXT1:
|
case Tegra::Texture::TextureFormat::DXT1:
|
||||||
return is_srgb ? PixelFormat::DXT1_SRGB : PixelFormat::DXT1;
|
return is_srgb ? PixelFormat::DXT1_SRGB : PixelFormat::DXT1;
|
||||||
case Tegra::Texture::TextureFormat::DXT23:
|
case Tegra::Texture::TextureFormat::DXT23:
|
||||||
|
|
Loading…
Reference in a new issue