Mesa (master): tgsi: get texturing working in vertex shader sse2 path

Keith Whitwell keithw at kemper.freedesktop.org
Mon Jul 20 18:33:46 UTC 2009


Module: Mesa
Branch: master
Commit: 442101dad72373bcbd576bce3cbf77c49280e04b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=442101dad72373bcbd576bce3cbf77c49280e04b

Author: Keith Whitwell <keithw at vmware.com>
Date:   Mon Jul 20 19:29:22 2009 +0100

tgsi: get texturing working in vertex shader sse2 path

---

 src/gallium/auxiliary/tgsi/tgsi_sse2.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
index a4b86ab..4c3343d 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_sse2.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
@@ -2910,14 +2910,14 @@ tgsi_emit_sse2(
 	 func,
 	 get_coef_base(),
 	 x86_fn_arg( func, 4 ) );
-
-      x86_mov(
-	 func,
-	 get_sampler_base(),
-	 x86_make_disp( get_machine_base(),
-                        Offset( struct tgsi_exec_machine, Samplers ) ) );
    }
 
+   x86_mov(
+      func,
+      get_sampler_base(),
+      x86_make_disp( get_machine_base(),
+                     Offset( struct tgsi_exec_machine, Samplers ) ) );
+
 
    while( !tgsi_parse_end_of_tokens( &parse ) && ok ) {
       tgsi_parse_token( &parse );




More information about the mesa-commit mailing list