fix emit_tex() breakage
authorBrian <brian@yutani.localnet.net>
Fri, 2 Feb 2007 21:47:03 +0000 (14:47 -0700)
committerBrian <brian@yutani.localnet.net>
Fri, 2 Feb 2007 21:47:03 +0000 (14:47 -0700)
src/mesa/shader/slang/slang_emit.c

index 0626f7a64369060ed83895e8befcdd44ef061a33..01fb5a41da7dcfc4329aab1ea5a22d5030dce005 100644 (file)
@@ -858,6 +858,8 @@ emit_tex(slang_var_table *vt, slang_ir_node *n, struct gl_program *prog)
 
    storage_to_dst_reg(&inst->DstReg, n->Store, n->Writemask);
 
+   (void) emit(vt, n->Children[1], prog);
+
    /* Child[1] is the coord */
    storage_to_src_reg(&inst->SrcReg[0], n->Children[1]->Store);