mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 19:14:18 +01:00
GSdx: still working on the rasterizer, would be nice to add some avx code there, but it's just so unfitting for anything.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4407 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
c1e844b7f7
commit
9586e38dd4
18 files changed
+343
-319
No files matched your search
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "GSDrawScanlineCodeGenerator.h"
|
||||
#include "GSVertexSW.h"
|
||||
|
||||
#if _M_SSE < 0x500 && !(defined(_M_AMD64) || defined(_WIN64))
|
||||
|
||||
@@ -293,7 +294,7 @@ void GSDrawScanlineCodeGenerator::Init()
|
||||
{
|
||||
if(m_sel.fwrite && m_sel.fge || m_sel.zb)
|
||||
{
|
||||
movaps(xmm0, ptr[ebx + 16]); // v.p
|
||||
movaps(xmm0, ptr[ebx + offsetof(GSVertexSW, p)]); // v.p
|
||||
|
||||
if(m_sel.fwrite && m_sel.fge)
|
||||
{
|
||||
@@ -330,7 +331,7 @@ void GSDrawScanlineCodeGenerator::Init()
|
||||
{
|
||||
if(m_sel.edge || m_sel.tfx != TFX_NONE)
|
||||
{
|
||||
movaps(xmm4, ptr[ebx + 32]); // v.t
|
||||
movaps(xmm4, ptr[ebx + offsetof(GSVertexSW, t)]); // v.t
|
||||
}
|
||||
|
||||
if(m_sel.edge)
|
||||
@@ -410,7 +411,7 @@ void GSDrawScanlineCodeGenerator::Init()
|
||||
{
|
||||
// GSVector4i vc = GSVector4i(v.c);
|
||||
|
||||
cvttps2dq(xmm6, ptr[ebx]); // v.c
|
||||
cvttps2dq(xmm6, ptr[ebx + offsetof(GSVertexSW, c)]); // v.c
|
||||
|
||||
// vc = vc.upl16(vc.zwxy());
|
||||
|
||||
|
||||
Reference in new issue
Block a user