summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-02-12 16:39:03 +0100
committerGitHub <noreply@github.com>2019-02-12 16:39:03 +0100
commit444231a83d831c4cfcee03d29e2a375b258bdc4e (patch)
treef50984982c896100c7090deb90e2d95f3218d856
parentMerge pull request #2109 from FernandoS27/fix-f2i (diff)
parentFix incorrect value for CC bit in IADD (diff)
downloadyuzu-444231a83d831c4cfcee03d29e2a375b258bdc4e.tar
yuzu-444231a83d831c4cfcee03d29e2a375b258bdc4e.tar.gz
yuzu-444231a83d831c4cfcee03d29e2a375b258bdc4e.tar.bz2
yuzu-444231a83d831c4cfcee03d29e2a375b258bdc4e.tar.lz
yuzu-444231a83d831c4cfcee03d29e2a375b258bdc4e.tar.xz
yuzu-444231a83d831c4cfcee03d29e2a375b258bdc4e.tar.zst
yuzu-444231a83d831c4cfcee03d29e2a375b258bdc4e.zip
-rw-r--r--src/video_core/shader/decode/arithmetic_integer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/arithmetic_integer.cpp b/src/video_core/shader/decode/arithmetic_integer.cpp
index 38bb692d6..9fd4b273e 100644
--- a/src/video_core/shader/decode/arithmetic_integer.cpp
+++ b/src/video_core/shader/decode/arithmetic_integer.cpp
@@ -41,7 +41,7 @@ u32 ShaderIR::DecodeArithmeticInteger(NodeBlock& bb, u32 pc) {
const Node value = Operation(OperationCode::IAdd, PRECISE, op_a, op_b);
- SetInternalFlagsFromInteger(bb, value, instr.op_32.generates_cc);
+ SetInternalFlagsFromInteger(bb, value, instr.generates_cc);
SetRegister(bb, instr.gpr0, value);
break;
}
@@ -284,4 +284,4 @@ void ShaderIR::WriteLop3Instruction(NodeBlock& bb, Register dest, Node op_a, Nod
SetRegister(bb, dest, value);
}
-} // namespace VideoCommon::Shader \ No newline at end of file
+} // namespace VideoCommon::Shader