diff options
| author | 2018-04-17 21:44:36 -0400 | |
|---|---|---|
| committer | 2018-04-17 21:44:36 -0400 | |
| commit | 7222d9a4c3aa23f16909a7094b3ef2826bafa58f (patch) | |
| tree | d99b9bf1491a0d0c149b7eb1a6063806f768fa83 | |
| parent | texture: Add missing formats. (diff) | |
| download | yuzu-7222d9a4c3aa23f16909a7094b3ef2826bafa58f.tar.gz yuzu-7222d9a4c3aa23f16909a7094b3ef2826bafa58f.tar.xz yuzu-7222d9a4c3aa23f16909a7094b3ef2826bafa58f.zip | |
gl_rasterizer_cache: Add missing LOG statements.
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 3 |
1 files changed, 3 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 e7ce506cf..3293905d6 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h | |||
| @@ -87,6 +87,7 @@ struct SurfaceParams { | |||
| 87 | case Tegra::RenderTargetFormat::RGBA8_UNORM: | 87 | case Tegra::RenderTargetFormat::RGBA8_UNORM: |
| 88 | return PixelFormat::RGBA8; | 88 | return PixelFormat::RGBA8; |
| 89 | default: | 89 | default: |
| 90 | NGLOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format)); | ||
| 90 | UNREACHABLE(); | 91 | UNREACHABLE(); |
| 91 | } | 92 | } |
| 92 | } | 93 | } |
| @@ -96,6 +97,7 @@ struct SurfaceParams { | |||
| 96 | case Tegra::FramebufferConfig::PixelFormat::ABGR8: | 97 | case Tegra::FramebufferConfig::PixelFormat::ABGR8: |
| 97 | return PixelFormat::RGBA8; | 98 | return PixelFormat::RGBA8; |
| 98 | default: | 99 | default: |
| 100 | NGLOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format)); | ||
| 99 | UNREACHABLE(); | 101 | UNREACHABLE(); |
| 100 | } | 102 | } |
| 101 | } | 103 | } |
| @@ -108,6 +110,7 @@ struct SurfaceParams { | |||
| 108 | case Tegra::Texture::TextureFormat::DXT1: | 110 | case Tegra::Texture::TextureFormat::DXT1: |
| 109 | return PixelFormat::DXT1; | 111 | return PixelFormat::DXT1; |
| 110 | default: | 112 | default: |
| 113 | NGLOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format)); | ||
| 111 | UNREACHABLE(); | 114 | UNREACHABLE(); |
| 112 | } | 115 | } |
| 113 | } | 116 | } |