OSDN Git Service

draw: don't assume output buffer pointer is aligned
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 7 Oct 2008 15:44:24 +0000 (16:44 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 15 Oct 2008 16:24:42 +0000 (17:24 +0100)
(cherry picked from commit 23cc303994eb630c56b1224dfdac51dcea41ed03)

src/gallium/auxiliary/draw/draw_vs_aos_io.c

index dd79bc7..39f75b5 100644 (file)
@@ -338,7 +338,7 @@ static void emit_store_R32G32B32A32( struct aos_compilation *cp,
                                     struct x86_reg dst_ptr,
                                     struct x86_reg dataXMM )
 {
-   sse_movaps(cp->func, dst_ptr, dataXMM);
+   sse_movups(cp->func, dst_ptr, dataXMM);
 }
 
 static void emit_store_R32G32B32( struct aos_compilation *cp,