diff options
| author | 2018-04-17 22:17:07 -0400 | |
|---|---|---|
| committer | 2018-04-17 22:17:07 -0400 | |
| commit | c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca (patch) | |
| tree | c9843ee4078d8d1180c92d033fad123d28c6a1a0 /src/video_core/renderer_opengl | |
| parent | Merge pull request #344 from bunnei/shader-decompiler-p2 (diff) | |
| parent | gl_rasterizer_cache: Add missing LOG statements. (diff) | |
| download | yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.tar.gz yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.tar.xz yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.zip | |
Merge pull request #346 from bunnei/misc-gpu-improvements
Misc gpu improvements
Diffstat (limited to 'src/video_core/renderer_opengl')
| -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 | } |