summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-08-23 22:43:57 -0700
committerGravatar Yuri Kunde Schlesner2015-08-23 22:43:57 -0700
commitd6a5a00c24daa90911d39734baa5283ca3c67f0b (patch)
tree40b14735a8c35b1f88cc9382cccbae97461a39a5
parentMerge pull request #1062 from aroulin/shader-rcp-rsq (diff)
parentshader_jit: Replace two MDisp usages with MatR (diff)
downloadyuzu-d6a5a00c24daa90911d39734baa5283ca3c67f0b.tar.gz
yuzu-d6a5a00c24daa90911d39734baa5283ca3c67f0b.tar.xz
yuzu-d6a5a00c24daa90911d39734baa5283ca3c67f0b.zip
Merge pull request #1064 from lioncash/matr
shader_jit: Replace two MDisp usages with MatR
Diffstat (limited to '')
-rw-r--r--src/video_core/shader/shader_jit_x64.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp
index 6865c64e3..cc66fc8d6 100644
--- a/src/video_core/shader/shader_jit_x64.cpp
+++ b/src/video_core/shader/shader_jit_x64.cpp
@@ -749,12 +749,12 @@ CompiledShader* JitCompiler::Compile() {
749 // Used to set a register to one 749 // Used to set a register to one
750 static const __m128 one = { 1.f, 1.f, 1.f, 1.f }; 750 static const __m128 one = { 1.f, 1.f, 1.f, 1.f };
751 MOV(PTRBITS, R(RAX), ImmPtr(&one)); 751 MOV(PTRBITS, R(RAX), ImmPtr(&one));
752 MOVAPS(ONE, MDisp(RAX, 0)); 752 MOVAPS(ONE, MatR(RAX));
753 753
754 // Used to negate registers 754 // Used to negate registers
755 static const __m128 neg = { -0.f, -0.f, -0.f, -0.f }; 755 static const __m128 neg = { -0.f, -0.f, -0.f, -0.f };
756 MOV(PTRBITS, R(RAX), ImmPtr(&neg)); 756 MOV(PTRBITS, R(RAX), ImmPtr(&neg));
757 MOVAPS(NEGBIT, MDisp(RAX, 0)); 757 MOVAPS(NEGBIT, MatR(RAX));
758 758
759 looping = false; 759 looping = false;
760 760