diff options
author | Jannik Vogel <email@jannikvogel.de> | 2016-05-13 08:49:20 +0200 |
---|---|---|
committer | Jannik Vogel <email@jannikvogel.de> | 2016-05-16 18:55:51 +0200 |
commit | ff0fa86b17e8133263bb54c1338ade8ecd97e5d9 (patch) | |
tree | aedf8d5ac4ecc967ab7bacff7ea011104e95f99f /src/video_core/shader/shader_interpreter.cpp | |
parent | Merge pull request #1787 from JayFoxRox/refactor-jit (diff) | |
download | yuzu-ff0fa86b17e8133263bb54c1338ade8ecd97e5d9.tar yuzu-ff0fa86b17e8133263bb54c1338ade8ecd97e5d9.tar.gz yuzu-ff0fa86b17e8133263bb54c1338ade8ecd97e5d9.tar.bz2 yuzu-ff0fa86b17e8133263bb54c1338ade8ecd97e5d9.tar.lz yuzu-ff0fa86b17e8133263bb54c1338ade8ecd97e5d9.tar.xz yuzu-ff0fa86b17e8133263bb54c1338ade8ecd97e5d9.tar.zst yuzu-ff0fa86b17e8133263bb54c1338ade8ecd97e5d9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_interpreter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_interpreter.cpp b/src/video_core/shader/shader_interpreter.cpp index 714e8bfd5..b1eadc071 100644 --- a/src/video_core/shader/shader_interpreter.cpp +++ b/src/video_core/shader/shader_interpreter.cpp @@ -144,7 +144,7 @@ void RunInterpreter(const ShaderSetup& setup, UnitState<Debug>& state, unsigned src2[3] = src2[3] * float24::FromFloat32(-1); } - float24* dest = (instr.common.dest.Value() < 0x10) ? &state.registers.output[instr.common.dest.Value().GetIndex()][0] + float24* dest = (instr.common.dest.Value() < 0x10) ? &state.output_registers.value[instr.common.dest.Value().GetIndex()][0] : (instr.common.dest.Value() < 0x20) ? &state.registers.temporary[instr.common.dest.Value().GetIndex()][0] : dummy_vec4_float24; @@ -483,7 +483,7 @@ void RunInterpreter(const ShaderSetup& setup, UnitState<Debug>& state, unsigned src3[3] = src3[3] * float24::FromFloat32(-1); } - float24* dest = (instr.mad.dest.Value() < 0x10) ? &state.registers.output[instr.mad.dest.Value().GetIndex()][0] + float24* dest = (instr.mad.dest.Value() < 0x10) ? &state.output_registers.value[instr.mad.dest.Value().GetIndex()][0] : (instr.mad.dest.Value() < 0x20) ? &state.registers.temporary[instr.mad.dest.Value().GetIndex()][0] : dummy_vec4_float24; |