From 9b651e44d03a9d43d3d54daa7be8c54d4589771e Mon Sep 17 00:00:00 2001 From: KrossX Date: Fri, 16 Aug 2019 05:03:05 -0300 Subject: [PATCH] GSdx: Fix mipmap SSE2 code for linear mipmap nearest filter. (#3064) Fixes a regression introduced in e728a14c19eb55ea867cbf27d5985f97ed130a9e --- plugins/GSdx/Renderers/SW/GSDrawScanlineCodeGenerator.x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/Renderers/SW/GSDrawScanlineCodeGenerator.x86.cpp b/plugins/GSdx/Renderers/SW/GSDrawScanlineCodeGenerator.x86.cpp index 61bb8acd4b..02d64d112e 100644 --- a/plugins/GSdx/Renderers/SW/GSDrawScanlineCodeGenerator.x86.cpp +++ b/plugins/GSdx/Renderers/SW/GSDrawScanlineCodeGenerator.x86.cpp @@ -1765,7 +1765,7 @@ void GSDrawScanlineCodeGenerator::SampleTextureLOD_SSE() // c[0] = c00 & mask; // c[1] = (c00 >> 8) & mask; - split16_2x8(xmm5, xmm6, xmm5); + split16_2x8(xmm5, xmm6, xmm6); } movdqa(xmm0, ptr[m_sel.lcm ? &m_local.gd->lod.f : &m_local.temp.lod.f]);