diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-07 19:48:58 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-07 19:48:58 +0200 |
commit | 632c9e4ee3417aaa89db377777377d91c69c7887 (patch) | |
tree | b817ca5ae5c5915b3549f113548982c0b47ba590 /src/video_core/shader | |
parent | Merge pull request #2952 from lioncash/warning (diff) | |
download | yuzu-632c9e4ee3417aaa89db377777377d91c69c7887.tar yuzu-632c9e4ee3417aaa89db377777377d91c69c7887.tar.gz yuzu-632c9e4ee3417aaa89db377777377d91c69c7887.tar.bz2 yuzu-632c9e4ee3417aaa89db377777377d91c69c7887.tar.lz yuzu-632c9e4ee3417aaa89db377777377d91c69c7887.tar.xz yuzu-632c9e4ee3417aaa89db377777377d91c69c7887.tar.zst yuzu-632c9e4ee3417aaa89db377777377d91c69c7887.zip |
Diffstat (limited to 'src/video_core/shader')
-rw-r--r-- | src/video_core/shader/decode/half_set_predicate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/half_set_predicate.cpp b/src/video_core/shader/decode/half_set_predicate.cpp index 840694527..26d267b4c 100644 --- a/src/video_core/shader/decode/half_set_predicate.cpp +++ b/src/video_core/shader/decode/half_set_predicate.cpp @@ -4,6 +4,7 @@ #include "common/assert.h" #include "common/common_types.h" +#include "common/logging/log.h" #include "video_core/engines/shader_bytecode.h" #include "video_core/shader/node_helper.h" #include "video_core/shader/shader_ir.h" @@ -18,7 +19,7 @@ u32 ShaderIR::DecodeHalfSetPredicate(NodeBlock& bb, u32 pc) { const Instruction instr = {program_code[pc]}; const auto opcode = OpCode::Decode(instr); - DEBUG_ASSERT(instr.hsetp2.ftz == 0); + LOG_DEBUG(HW_GPU, "ftz={}", static_cast<u32>(instr.hsetp2.ftz)); Node op_a = UnpackHalfFloat(GetRegister(instr.gpr8), instr.hsetp2.type_a); op_a = GetOperandAbsNegHalf(op_a, instr.hsetp2.abs_a, instr.hsetp2.negate_a); |