diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-07 19:49:47 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-07 19:49:47 +0200 |
commit | 3d0f35730734598651dc4cac830fff5158e53635 (patch) | |
tree | 98423bf6143a7e886c499160de694b71913b0da7 /src/video_core | |
parent | shader/half_set_predicate: Reduce DEBUG_ASSERT to LOG_DEBUG (diff) | |
download | yuzu-3d0f35730734598651dc4cac830fff5158e53635.tar yuzu-3d0f35730734598651dc4cac830fff5158e53635.tar.gz yuzu-3d0f35730734598651dc4cac830fff5158e53635.tar.bz2 yuzu-3d0f35730734598651dc4cac830fff5158e53635.tar.lz yuzu-3d0f35730734598651dc4cac830fff5158e53635.tar.xz yuzu-3d0f35730734598651dc4cac830fff5158e53635.tar.zst yuzu-3d0f35730734598651dc4cac830fff5158e53635.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/shader/decode/half_set_predicate.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/decode/half_set_predicate.cpp b/src/video_core/shader/decode/half_set_predicate.cpp index 26d267b4c..fec8f2dbe 100644 --- a/src/video_core/shader/decode/half_set_predicate.cpp +++ b/src/video_core/shader/decode/half_set_predicate.cpp @@ -33,6 +33,8 @@ u32 ShaderIR::DecodeHalfSetPredicate(NodeBlock& bb, u32 pc) { h_and = instr.hsetp2.cbuf_and_imm.h_and; op_b = GetOperandAbsNegHalf(GetConstBuffer(instr.cbuf34.index, instr.cbuf34.GetOffset()), instr.hsetp2.cbuf.abs_b, instr.hsetp2.cbuf.negate_b); + // F32 is hardcoded in hardware + op_b = UnpackHalfFloat(std::move(op_b), Tegra::Shader::HalfType::F32); break; case OpCode::Id::HSETP2_IMM: cond = instr.hsetp2.cbuf_and_imm.cond; |