mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 11:04:28 +01:00
GSdx: using mipmap levels (only per batch, no tri-linear) and a couple of small changes, including the stdcall fix for linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4419 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
8f6151945d
commit
b31634df8f
27 files changed
+1178
-340
No files matched your search
@@ -251,8 +251,7 @@ void GSDrawScanlineCodeGenerator::Init()
|
||||
|
||||
// int steps = right - left - 4;
|
||||
|
||||
sub(ecx, ebx);
|
||||
sub(ecx, 4);
|
||||
lea(ecx, ptr[ecx + edx - 4]);
|
||||
|
||||
// GSVector4i test = m_test[skip] | m_test[7 + (steps & (steps >> 31))];
|
||||
|
||||
@@ -555,6 +554,12 @@ void GSDrawScanlineCodeGenerator::Step()
|
||||
paddw(xmm5, ptr[&m_local.temp.rb]);
|
||||
paddw(xmm6, ptr[&m_local.temp.ga]);
|
||||
|
||||
// FIXME: color may underflow and roll over at the end of the line, if decreasing
|
||||
|
||||
pxor(xmm7, xmm7);
|
||||
pmaxsw(xmm5, xmm7);
|
||||
pmaxsw(xmm6, xmm7);
|
||||
|
||||
movdqa(ptr[&m_local.temp.rb], xmm5);
|
||||
movdqa(ptr[&m_local.temp.ga], xmm6);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user