diff options
author | Nicolai Haehnle <[email protected]> | 2008-07-05 18:03:44 +0200 |
---|---|---|
committer | Nicolai Haehnle <[email protected]> | 2008-07-05 18:04:04 +0200 |
commit | 82635aad4203d44648dd6e345ec2b5e21ff06510 (patch) | |
tree | 2a4d219489240dd2d93b9ec667e9183f1084b069 /src/mesa/shader/program.c | |
parent | e187627c1d3b06e5d185989dd3d37f09a8953a1b (diff) |
_mesa_clone_program: Copy ShadowSamplers
Diffstat (limited to 'src/mesa/shader/program.c')
-rw-r--r-- | src/mesa/shader/program.c | 1 |
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) |