diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-20 04:15:34 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-20 04:15:34 +0200 |
commit | 1158777737716536c0ac4c2eedb5e9b46d2dcfd8 (patch) | |
tree | 49a83d8ee1634bd4bf31f93e5f610ccc5fd43a53 /src/video_core/shader/decode/arithmetic_half_immediate.cpp | |
parent | Shader_Ir: correct clang format (diff) | |
download | yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar.gz yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar.bz2 yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar.lz yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar.xz yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.tar.zst yuzu-1158777737716536c0ac4c2eedb5e9b46d2dcfd8.zip |
Diffstat (limited to 'src/video_core/shader/decode/arithmetic_half_immediate.cpp')
-rw-r--r-- | src/video_core/shader/decode/arithmetic_half_immediate.cpp | 4 |
1 files changed, 3 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 60381b482..6466fc011 100644 --- a/src/video_core/shader/decode/arithmetic_half_immediate.cpp +++ b/src/video_core/shader/decode/arithmetic_half_immediate.cpp @@ -23,7 +23,9 @@ u32 ShaderIR::DecodeArithmeticHalfImmediate(NodeBlock& bb, u32 pc) { LOG_WARNING(HW_GPU, "{} FTZ not implemented", opcode->get().GetName()); } } else { - DEBUG_ASSERT(instr.alu_half_imm.precision == Tegra::Shader::HalfPrecision::None); + if (instr.alu_half_imm.precision != Tegra::Shader::HalfPrecision::None) { + LOG_WARNING(HW_GPU, "{} FTZ not implemented", opcode->get().GetName()); + } } Node op_a = UnpackHalfFloat(GetRegister(instr.gpr8), instr.alu_half_imm.type_a); |