summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program.c
diff options
context:
space:
mode:
authorNicolai Haehnle <[email protected]>2008-07-05 18:03:44 +0200
committerNicolai Haehnle <[email protected]>2008-07-05 18:04:04 +0200
commit82635aad4203d44648dd6e345ec2b5e21ff06510 (patch)
tree2a4d219489240dd2d93b9ec667e9183f1084b069 /src/mesa/shader/program.c
parente187627c1d3b06e5d185989dd3d37f09a8953a1b (diff)
_mesa_clone_program: Copy ShadowSamplers
Diffstat (limited to 'src/mesa/shader/program.c')
-rw-r--r--src/mesa/shader/program.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c
index 7048770cf74..376d7ee60d4 100644
--- 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)