summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-07-27 15:53:54 -0700
committerEric Anholt <[email protected]>2012-08-09 09:07:49 -0700
commit3eb8d7122507600ca7c65f8f3fd0e9e9dee7a432 (patch)
tree68338212833212ae0e0a837dc447b02e2ac8141a /src/mesa
parente119f98472f6ceb03ffd564eb0398233e7b81437 (diff)
i965/vs: Add comment noting copy_edgeflag state dependency.
It's already in the state struct. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.c2
1 files changed, 2 insertions, 0 deletions
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);