pixman: Branch 'master'

Søren Sandmann Pedersen sandmann at kemper.freedesktop.org
Wed Sep 30 03:31:03 PDT 2009


 pixman/pixman-sse2.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 93acc10617c88fbf933120c6980ae8ef80cf94f0
Author: Gerdus van Zyl <gerdusvanzyl at gmail.com>
Date:   Tue Sep 29 12:28:03 2009 +0200

    Fix build with Visual Studio 2008
    
    moved __m64 ms declaration in sse2_composite_over_x888_8_8888 to top
    of function so it compiles with visual studio 2008

diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c
index 56fda4d..00b2b2a 100644
--- a/pixman/pixman-sse2.c
+++ b/pixman/pixman-sse2.c
@@ -5465,6 +5465,7 @@ sse2_composite_over_x888_8_8888 (pixman_implementation_t *imp,
     uint32_t m;
     int src_stride, mask_stride, dst_stride;
     uint16_t w;
+    __m64 ms;
 
     __m128i xmm_src, xmm_src_lo, xmm_src_hi;
     __m128i xmm_dst, xmm_dst_lo, xmm_dst_hi;
@@ -5498,8 +5499,9 @@ sse2_composite_over_x888_8_8888 (pixman_implementation_t *imp,
             s = 0xff000000 | *src++;
             m = (uint32_t) *mask++;
             d = *dst;
-
-            __m64 ms = unpack_32_1x64 (s);
+            
+            
+            ms = unpack_32_1x64 (s);
 
             if (m != 0xff)
             {


More information about the xorg-commit mailing list