_mesa_clone_program: Copy ShadowSamplers
authorNicolai Haehnle <nhaehnle@gmail.com>
Sat, 5 Jul 2008 16:03:44 +0000 (18:03 +0200)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sat, 5 Jul 2008 16:04:04 +0000 (18:04 +0200)
src/mesa/shader/program.c

index 7048770cf7447cb652c1c346e6da7a140577dc3c..376d7ee60d4b21804cffbc493241f2c623a68c2e 100644 (file)
@@ -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)