summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h
index e1d3670d9..9b2afeace 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h
@@ -244,6 +244,8 @@ struct SurfaceParams {
244 UNREACHABLE(); 244 UNREACHABLE();
245 case Tegra::Texture::TextureFormat::R32: 245 case Tegra::Texture::TextureFormat::R32:
246 return PixelFormat::R32F; 246 return PixelFormat::R32F;
247 case Tegra::Texture::TextureFormat::ZF32:
248 return PixelFormat::Z32F;
247 case Tegra::Texture::TextureFormat::DXT1: 249 case Tegra::Texture::TextureFormat::DXT1:
248 return PixelFormat::DXT1; 250 return PixelFormat::DXT1;
249 case Tegra::Texture::TextureFormat::DXT23: 251 case Tegra::Texture::TextureFormat::DXT23:
@@ -309,6 +311,8 @@ struct SurfaceParams {
309 case PixelFormat::R16F: 311 case PixelFormat::R16F:
310 case PixelFormat::R16UNORM: 312 case PixelFormat::R16UNORM:
311 return Tegra::Texture::TextureFormat::R16; 313 return Tegra::Texture::TextureFormat::R16;
314 case PixelFormat::Z32F:
315 return Tegra::Texture::TextureFormat::ZF32;
312 default: 316 default:
313 LOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format)); 317 LOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format));
314 UNREACHABLE(); 318 UNREACHABLE();