diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-24 07:43:57 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-24 07:43:57 +0200 |
commit | d6a5a00c24daa90911d39734baa5283ca3c67f0b (patch) | |
tree | 40b14735a8c35b1f88cc9382cccbae97461a39a5 /src/video_core | |
parent | Merge pull request #1062 from aroulin/shader-rcp-rsq (diff) | |
parent | shader_jit: Replace two MDisp usages with MatR (diff) | |
download | yuzu-d6a5a00c24daa90911d39734baa5283ca3c67f0b.tar yuzu-d6a5a00c24daa90911d39734baa5283ca3c67f0b.tar.gz yuzu-d6a5a00c24daa90911d39734baa5283ca3c67f0b.tar.bz2 yuzu-d6a5a00c24daa90911d39734baa5283ca3c67f0b.tar.lz yuzu-d6a5a00c24daa90911d39734baa5283ca3c67f0b.tar.xz yuzu-d6a5a00c24daa90911d39734baa5283ca3c67f0b.tar.zst yuzu-d6a5a00c24daa90911d39734baa5283ca3c67f0b.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 4 |
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; |