summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-02 14:47:03 -0700
committerBrian <[email protected]>2007-02-02 14:47:03 -0700
commitfa1fe5f6f3f33891abec491329e2a35adf7ffdca (patch)
tree112a7d172d7645f105351d764ce3e846ad7c1a41
parent1b24e2d5a7a7f97c179d7881a014f4aa025cacf7 (diff)
fix emit_tex() breakage
-rw-r--r--src/mesa/shader/slang/slang_emit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c
index 0626f7a6436..01fb5a41da7 100644
--- a/src/mesa/shader/slang/slang_emit.c
+++ b/src/mesa/shader/slang/slang_emit.c
@@ -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);