projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e187627
)
_mesa_clone_program: Copy ShadowSamplers
author
Nicolai Haehnle
<nhaehnle@gmail.com>
Sat, 5 Jul 2008 16:03:44 +0000
(18:03 +0200)
committer
Nicolai Haehnle
<nhaehnle@gmail.com>
Sat, 5 Jul 2008 16:04:04 +0000
(18:04 +0200)
src/mesa/shader/program.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/program.c
b/src/mesa/shader/program.c
index 7048770cf7447cb652c1c346e6da7a140577dc3c..376d7ee60d4b21804cffbc493241f2c623a68c2e 100644
(file)
--- a/
src/mesa/shader/program.c
+++ b/
src/mesa/shader/program.c
@@
-437,6
+437,7
@@
_mesa_clone_program(GLcontext *ctx, const struct gl_program *prog)
clone->InputsRead = prog->InputsRead;
clone->OutputsWritten = prog->OutputsWritten;
clone->SamplersUsed = prog->SamplersUsed;
+ clone->ShadowSamplers = prog->ShadowSamplers;
memcpy(clone->TexturesUsed, prog->TexturesUsed, sizeof(prog->TexturesUsed));
if (prog->Parameters)