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/shader/decode/arithmetic_half.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/shader/decode/arithmetic_half.cpp')
-rw-r--r-- | src/video_core/shader/decode/arithmetic_half.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/shader/decode/arithmetic_half.cpp b/src/video_core/shader/decode/arithmetic_half.cpp index a276aee44..88103fede 100644 --- a/src/video_core/shader/decode/arithmetic_half.cpp +++ b/src/video_core/shader/decode/arithmetic_half.cpp @@ -53,6 +53,9 @@ u32 ShaderIR::DecodeArithmeticHalf(NodeBlock& bb, u32 pc) { absolute_a = ((instr.value >> 44) & 1) != 0; absolute_b = ((instr.value >> 54) & 1) != 0; break; + default: + UNREACHABLE(); + break; } Node op_a = UnpackHalfFloat(GetRegister(instr.gpr8), instr.alu_half.type_a); |