projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4428e8f
)
update TexturesUsed[] in slang_update_inputs_outputs()
author
Brian
<brian@yutani.localnet.net>
Fri, 5 Jan 2007 00:44:04 +0000
(17:44 -0700)
committer
Brian
<brian@yutani.localnet.net>
Fri, 5 Jan 2007 00:44:04 +0000
(17:44 -0700)
src/mesa/shader/slang/slang_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_emit.c
b/src/mesa/shader/slang/slang_emit.c
index c5be1699699091baf22ea07902a1a93ab33eccdb..a3d970694f9bcc1fb77a5bd703a850dda0ca173c 100644
(file)
--- 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;
}