i965/vs: Add comment noting copy_edgeflag state dependency.
authorEric Anholt <eric@anholt.net>
Fri, 27 Jul 2012 22:53:54 +0000 (15:53 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 9 Aug 2012 16:07:49 +0000 (09:07 -0700)
It's already in the state struct.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vs.c

index ba818fd..d803dfa 100644 (file)
@@ -324,6 +324,8 @@ static void brw_upload_vs_prog(struct brw_context *brw)
             = _mesa_logbase2(ctx->Transform.ClipPlanesEnabled) + 1;
       }
    }
+
+   /* _NEW_POLYGON */
    key.copy_edgeflag = (ctx->Polygon.FrontMode != GL_FILL ||
                        ctx->Polygon.BackMode != GL_FILL);