diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2008-05-14 09:52:46 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2008-05-14 09:55:08 +0800 |
commit | 4b7d301c94d33394550322768a9d2232087b2d64 (patch) | |
tree | 9309a16aef0e66ecf548b512ff55f1b4b8c449ae /src/mesa/x86 | |
parent | 738d811b04ab1c3f5315e7bf8b7d0bc553dea501 (diff) |
_generic_read_RGBA_span_BGRA8888_REV_SSE2: It should adjust the source
and target pointers after do the first 2 pixels. fix bug #15850
Diffstat (limited to 'src/mesa/x86')
-rw-r--r-- | src/mesa/x86/read_rgba_span_x86.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/x86/read_rgba_span_x86.S b/src/mesa/x86/read_rgba_span_x86.S index 2e5c3be83f..80144b889c 100644 --- a/src/mesa/x86/read_rgba_span_x86.S +++ b/src/mesa/x86/read_rgba_span_x86.S @@ -434,7 +434,8 @@ _generic_read_RGBA_span_BGRA8888_REV_SSE2: je .L47 movq (%ebx), %xmm0 - + addl $8, %ebx + movdqa %xmm0, %xmm3 movdqa %xmm0, %xmm4 andps %xmm1, %xmm0 @@ -448,6 +449,7 @@ _generic_read_RGBA_span_BGRA8888_REV_SSE2: orps %xmm3, %xmm0 movq %xmm0, (%ecx) + addl $8, %ecx .L47: testl $1, %edx |