summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode/arithmetic_half_immediate.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-18 14:17:19 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-07-18 14:17:19 +0200
commit0b65e9335eaec6bef6423f6aa3be8d6b930657b9 (patch)
treeeadd594ef4e32149cbd2aaf10e523daf89483c87 /src/video_core/shader/decode/arithmetic_half_immediate.cpp
parentMerge pull request #2741 from FernandoS27/trace-log (diff)
downloadyuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar.gz
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar.bz2
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar.lz
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar.xz
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.tar.zst
yuzu-0b65e9335eaec6bef6423f6aa3be8d6b930657b9.zip
Diffstat (limited to 'src/video_core/shader/decode/arithmetic_half_immediate.cpp')
-rw-r--r--src/video_core/shader/decode/arithmetic_half_immediate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/arithmetic_half_immediate.cpp b/src/video_core/shader/decode/arithmetic_half_immediate.cpp
index 7bcf38f23..60381b482 100644
--- a/src/video_core/shader/decode/arithmetic_half_immediate.cpp
+++ b/src/video_core/shader/decode/arithmetic_half_immediate.cpp
@@ -23,7 +23,7 @@ u32 ShaderIR::DecodeArithmeticHalfImmediate(NodeBlock& bb, u32 pc) {
LOG_WARNING(HW_GPU, "{} FTZ not implemented", opcode->get().GetName());
}
} else {
- UNIMPLEMENTED_IF(instr.alu_half_imm.precision != Tegra::Shader::HalfPrecision::None);
+ DEBUG_ASSERT(instr.alu_half_imm.precision == Tegra::Shader::HalfPrecision::None);
}
Node op_a = UnpackHalfFloat(GetRegister(instr.gpr8), instr.alu_half_imm.type_a);