diff options
author | bunnei <bunneidev@gmail.com> | 2019-02-12 16:39:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 16:39:03 +0100 |
commit | 444231a83d831c4cfcee03d29e2a375b258bdc4e (patch) | |
tree | f50984982c896100c7090deb90e2d95f3218d856 /src | |
parent | Merge pull request #2109 from FernandoS27/fix-f2i (diff) | |
parent | Fix incorrect value for CC bit in IADD (diff) | |
download | yuzu-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 |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/decode/arithmetic_integer.cpp | 4 |
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 |