summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-04-29 04:24:58 +0200
committerGitHub <noreply@github.com>2019-04-29 04:24:58 +0200
commitc52233ec8b26d5dc8cdca746fc181191c99fb33b (patch)
tree9d56a04c21f541570426042e74c7befe6b279317 /src/video_core/shader/decode.cpp
parentMerge pull request #2423 from FernandoS27/half-correct (diff)
parentvideo_core: Silent -Wswitch warnings (diff)
downloadyuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar
yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar.gz
yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar.bz2
yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar.lz
yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar.xz
yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar.zst
yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.zip
Diffstat (limited to 'src/video_core/shader/decode.cpp')
-rw-r--r--src/video_core/shader/decode.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/shader/decode.cpp b/src/video_core/shader/decode.cpp
index e4c438792..2da595c0d 100644
--- a/src/video_core/shader/decode.cpp
+++ b/src/video_core/shader/decode.cpp
@@ -116,6 +116,8 @@ ExitMethod ShaderIR::Scan(u32 begin, u32 end, std::set<u32>& labels) {
// Continue scanning for an exit method.
break;
}
+ default:
+ break;
}
}
return exit_method = ExitMethod::AlwaysReturn;
@@ -206,4 +208,4 @@ u32 ShaderIR::DecodeInstr(NodeBlock& bb, u32 pc) {
return pc + 1;
}
-} // namespace VideoCommon::Shader \ No newline at end of file
+} // namespace VideoCommon::Shader