From: Keith Whitwell Date: Mon, 20 Jul 2009 18:29:22 +0000 (+0100) Subject: tgsi: get texturing working in vertex shader sse2 path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=442101dad72373bcbd576bce3cbf77c49280e04b;p=mesa.git tgsi: get texturing working in vertex shader sse2 path --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c index a4b86aba986..4c3343d26c3 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 );