diff options
author | bunnei <bunneidev@gmail.com> | 2019-04-29 04:24:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-29 04:24:58 +0200 |
commit | c52233ec8b26d5dc8cdca746fc181191c99fb33b (patch) | |
tree | 9d56a04c21f541570426042e74c7befe6b279317 /src/video_core/shader/decode/xmad.cpp | |
parent | Merge pull request #2423 from FernandoS27/half-correct (diff) | |
parent | video_core: Silent -Wswitch warnings (diff) | |
download | yuzu-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/xmad.cpp')
-rw-r--r-- | src/video_core/shader/decode/xmad.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/xmad.cpp b/src/video_core/shader/decode/xmad.cpp index db15c0718..04a776398 100644 --- a/src/video_core/shader/decode/xmad.cpp +++ b/src/video_core/shader/decode/xmad.cpp @@ -56,9 +56,10 @@ u32 ShaderIR::DecodeXmad(NodeBlock& bb, u32 pc) { instr.xmad.mode, Immediate(static_cast<u32>(instr.xmad.imm20_16)), GetRegister(instr.gpr39)}; + default: + UNIMPLEMENTED_MSG("Unhandled XMAD instruction: {}", opcode->get().GetName()); + return {false, false, false, Tegra::Shader::XmadMode::None, Immediate(0), Immediate(0)}; } - UNIMPLEMENTED_MSG("Unhandled XMAD instruction: {}", opcode->get().GetName()); - return {false, false, false, Tegra::Shader::XmadMode::None, Immediate(0), Immediate(0)}; }(); op_a = BitfieldExtract(op_a, instr.xmad.high_a ? 16 : 0, 16); |