diff options
author | bunnei <bunneidev@gmail.com> | 2020-09-17 05:43:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 05:43:23 +0200 |
commit | 1eae35621e74dc85cfbbab38b56f228bf7e38bf0 (patch) | |
tree | 7d9025464cca40265141fb3f39ef7b2ef76c5234 /src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |
parent | Merge pull request #4662 from lioncash/factory (diff) | |
parent | video_core: Enforce -Werror=switch (diff) | |
download | yuzu-1eae35621e74dc85cfbbab38b56f228bf7e38bf0.tar yuzu-1eae35621e74dc85cfbbab38b56f228bf7e38bf0.tar.gz yuzu-1eae35621e74dc85cfbbab38b56f228bf7e38bf0.tar.bz2 yuzu-1eae35621e74dc85cfbbab38b56f228bf7e38bf0.tar.lz yuzu-1eae35621e74dc85cfbbab38b56f228bf7e38bf0.tar.xz yuzu-1eae35621e74dc85cfbbab38b56f228bf7e38bf0.tar.zst yuzu-1eae35621e74dc85cfbbab38b56f228bf7e38bf0.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_decompiler.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 3f75fcd2b..ce3a65122 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -1443,8 +1443,10 @@ private: return expr + ", vec2(0.0), vec2(0.0))"; case TextureType::TextureCube: return expr + ", vec3(0.0), vec3(0.0))"; + default: + UNREACHABLE(); + break; } - UNREACHABLE(); } for (const auto& variant : extras) { |