VERY experimental Nintendo Switch 2 emulator
C++
shader_jit: Replace two MDisp usages with MatR
Lioncash33955e171bb2
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cppindex 6865c64e35..cc66fc8d61 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 onestatic 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 registersstatic 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;