diff options
author | Brian <brian@yutani.localnet.net> | 2007-02-02 14:47:03 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-02-02 14:47:03 -0700 |
commit | fa1fe5f6f3f33891abec491329e2a35adf7ffdca (patch) | |
tree | 112a7d172d7645f105351d764ce3e846ad7c1a41 | |
parent | 1b24e2d5a7a7f97c179d7881a014f4aa025cacf7 (diff) |
fix emit_tex() breakage
-rw-r--r-- | src/mesa/shader/slang/slang_emit.c | 2 |
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 0626f7a643..01fb5a41da 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); |