From fa1fe5f6f3f33891abec491329e2a35adf7ffdca Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 2 Feb 2007 14:47:03 -0700 Subject: fix emit_tex() breakage --- src/mesa/shader/slang/slang_emit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/shader/slang/slang_emit.c') 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); -- cgit v1.2.3