diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-09-16 22:48:01 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-09-16 22:48:01 +0200 |
commit | eb914b6c50cbd79cdc76a508ab774e54e34c9b11 (patch) | |
tree | cba7d92a8b7250e0afd889057b08149a352ca91a /src/video_core/shader/decode/arithmetic_half.cpp | |
parent | Merge pull request #4661 from lioncash/system-loader (diff) | |
download | yuzu-eb914b6c50cbd79cdc76a508ab774e54e34c9b11.tar yuzu-eb914b6c50cbd79cdc76a508ab774e54e34c9b11.tar.gz yuzu-eb914b6c50cbd79cdc76a508ab774e54e34c9b11.tar.bz2 yuzu-eb914b6c50cbd79cdc76a508ab774e54e34c9b11.tar.lz yuzu-eb914b6c50cbd79cdc76a508ab774e54e34c9b11.tar.xz yuzu-eb914b6c50cbd79cdc76a508ab774e54e34c9b11.tar.zst yuzu-eb914b6c50cbd79cdc76a508ab774e54e34c9b11.zip |
Diffstat (limited to '')
-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); |