Browse Source

Implement Z16_UNORM in PixelFormatFromTextureFormat function

Require by Zelda Breath Of The Wild
nce_cpp
greggameplayer 7 years ago
committed by Unknown
parent
commit
e4e15aa6c5
  1. 2
      src/video_core/renderer_opengl/gl_rasterizer_cache.h

2
src/video_core/renderer_opengl/gl_rasterizer_cache.h

@ -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:

Loading…
Cancel
Save