projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66a4f5c
)
glsl: fix broken sampler assignments
author
Brian Paul
<brianp@vmware.com>
Fri, 16 Jan 2009 16:30:37 +0000
(09:30 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 16 Jan 2009 16:30:58 +0000
(09:30 -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 6b744d72c82ab86a1329eb5faedb9e2a95a5db90..ea446fa5d49bc689025abcc74778c33a62e10e10 100644
(file)
--- a/
src/mesa/shader/slang/slang_emit.c
+++ b/
src/mesa/shader/slang/slang_emit.c
@@
-1349,9
+1349,10
@@
emit_copy(slang_emit_info *emitInfo, slang_ir_node *n)
if (n->Store->File == PROGRAM_SAMPLER) {
/* no code generated for sampler assignments,
- * just copy the sampler index at compile time.
+ * just copy the sampler index
/target
at compile time.
*/
n->Store->Index = n->Children[1]->Store->Index;
+ n->Store->TexTarget = n->Children[1]->Store->TexTarget;
return NULL;
}