summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-08-24 00:39:50 -0400
committerLioncash <mathew1800@gmail.com>2015-08-24 00:39:50 -0400
commitfa5076eb9bd69ac1933a0515a98c9cb23e6c7ac7 (patch)
tree40b14735a8c35b1f88cc9382cccbae97461a39a5 /src
parent83c214f6d8b1434503b6d8219bdac7064b8df2ca (diff)
shader_jit: Replace two MDisp usages with MatR
Diffstat (limited to 'src')
-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() {
// Used to set a register to one
static const __m128 one = { 1.f, 1.f, 1.f, 1.f };
MOV(PTRBITS, R(RAX), ImmPtr(&one));
- MOVAPS(ONE, MDisp(RAX, 0));
+ MOVAPS(ONE, MatR(RAX));
// Used to negate registers
static const __m128 neg = { -0.f, -0.f, -0.f, -0.f };
MOV(PTRBITS, R(RAX), ImmPtr(&neg));
- MOVAPS(NEGBIT, MDisp(RAX, 0));
+ MOVAPS(NEGBIT, MatR(RAX));
looping = false;