From: Brian Date: Fri, 5 Jan 2007 00:44:04 +0000 (-0700) Subject: update TexturesUsed[] in slang_update_inputs_outputs() X-Git-Tag: 062012170305~19731^2~417 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4cc90ee0b0fa30a71c275abe4cad68b7e99d025a;p=profile%2Fivi%2Fmesa.git update TexturesUsed[] in slang_update_inputs_outputs() --- diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index c5be169..a3d9706 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -1031,8 +1031,6 @@ emit_tex(slang_gen_context *gc, slang_ir_node *n, struct gl_program *prog) inst->TexSrcTarget = n->TexTarget; inst->TexSrcUnit = 0; /* XXX temp */ - prog->TexturesUsed[inst->TexSrcUnit] |= (1 << inst->TexSrcTarget); - return inst; }