From 82635aad4203d44648dd6e345ec2b5e21ff06510 Mon Sep 17 00:00:00 2001 From: Nicolai Haehnle Date: Sat, 5 Jul 2008 18:03:44 +0200 Subject: [PATCH] _mesa_clone_program: Copy ShadowSamplers --- src/mesa/shader/program.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2