From 3eb8d7122507600ca7c65f8f3fd0e9e9dee7a432 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 27 Jul 2012 15:53:54 -0700 Subject: [PATCH] i965/vs: Add comment noting copy_edgeflag state dependency. It's already in the state struct. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_vs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c index ba818fda353..d803dfa96d4 100644 --- a/src/mesa/drivers/dri/i965/brw_vs.c +++ b/src/mesa/drivers/dri/i965/brw_vs.c @@ -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); -- 2.30.2