Browse Source
Merge pull request #1074 from greggameplayer/Z16_UNORM
Implement Z16 in PixelFormatFromTextureFormat function
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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: |
|
|
|
|