From 442101dad72373bcbd576bce3cbf77c49280e04b Mon Sep 17 00:00:00 2001
From: Keith Whitwell <keithw@vmware.com>
Date: Mon, 20 Jul 2009 19:29:22 +0100
Subject: tgsi: get texturing working in vertex shader sse2 path

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

(limited to 'src/gallium/auxiliary')

diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
index a4b86aba98..4c3343d26c 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 );
-- 
cgit v1.2.3