Mesa (gallium-0.1): draw: don't assume output buffer pointer is aligned

Keith Whitwell keithw at kemper.freedesktop.org
Tue Oct 7 15:45:51 UTC 2008


Module: Mesa
Branch: gallium-0.1
Commit: 23cc303994eb630c56b1224dfdac51dcea41ed03
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23cc303994eb630c56b1224dfdac51dcea41ed03

Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Tue Oct  7 16:44:24 2008 +0100

draw: don't assume output buffer pointer is aligned

---

 src/gallium/auxiliary/draw/draw_vs_aos_io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_vs_aos_io.c b/src/gallium/auxiliary/draw/draw_vs_aos_io.c
index dd79bc7..39f75b5 100644
--- a/src/gallium/auxiliary/draw/draw_vs_aos_io.c
+++ b/src/gallium/auxiliary/draw/draw_vs_aos_io.c
@@ -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, 




More information about the mesa-commit mailing list