diff options
author | Brian <brian@yutani.localnet.net> | 2007-01-04 17:44:04 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-01-04 17:44:04 -0700 |
commit | 4cc90ee0b0fa30a71c275abe4cad68b7e99d025a (patch) | |
tree | f4ed97234435c5ccfaf7e222d361a4feb4910401 | |
parent | 4428e8f20f8b6f5db086d8bd8b68ea3da9e9b0f0 (diff) |
update TexturesUsed[] in slang_update_inputs_outputs()
-rw-r--r-- | src/mesa/shader/slang/slang_emit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index c5be169969..a3d970694f 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; } |