Propogate UsesKill information.
authorKeith Whitwell <keith@tungstengraphics.com>
Sun, 4 Mar 2007 21:47:05 +0000 (21:47 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Sun, 4 Mar 2007 21:50:51 +0000 (21:50 +0000)
src/mesa/shader/arbprogparse.c

index b9ff08de5fcc4e9ae7ab5d55dcf178c74f935e26..c6ea5c4f97384b73431eb7cd8cd09257035a3ed8 100644 (file)
@@ -4038,6 +4038,7 @@ _mesa_parse_arb_fragment_program(GLcontext* ctx, GLenum target,
    for (i = 0; i < MAX_TEXTURE_IMAGE_UNITS; i++)
       program->TexturesUsed[i] = ap.TexturesUsed[i];
    program->FogOption          = ap.FogOption;
+   program->UsesKill          = ap.UsesKill;
 
    if (program->Base.Instructions)
       _mesa_free(program->Base.Instructions);