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 b9ff08d..c6ea5c4 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);