From 4f57e40c91cb3c3f8870d08b4136dc7539c6848c Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Fri, 18 Mar 2022 02:54:42 -0500 Subject: [PATCH] GS:SW: Fix lod on x64 --- pcsx2/GS/Renderers/SW/GSDrawScanlineCodeGenerator.all.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pcsx2/GS/Renderers/SW/GSDrawScanlineCodeGenerator.all.cpp b/pcsx2/GS/Renderers/SW/GSDrawScanlineCodeGenerator.all.cpp index 65b380872e..65f0a1dc12 100644 --- a/pcsx2/GS/Renderers/SW/GSDrawScanlineCodeGenerator.all.cpp +++ b/pcsx2/GS/Renderers/SW/GSDrawScanlineCodeGenerator.all.cpp @@ -1756,6 +1756,11 @@ void GSDrawScanlineCodeGenerator2::SampleTextureLOD() cvttps2dq(xym2, xym2); cvttps2dq(xym3, xym3); } + else + { + ONLY64(movdqa(xym2, _s)); + ONLY64(movdqa(xym3, _t)); + } // xym2 = u // xym3 = v