From: Brian Date: Fri, 2 Feb 2007 21:47:03 +0000 (-0700) Subject: fix emit_tex() breakage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa1fe5f6f3f33891abec491329e2a35adf7ffdca;p=mesa.git fix emit_tex() breakage --- 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);