[Mesa-dev] [PATCH 3/5] i965/vs: Add comment noting copy_edgeflag state dependency.
Eric Anholt
eric at anholt.net
Sat Jul 28 16:43:34 PDT 2012
It's already in the state struct.
---
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 7e69032..c4d6db4 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.c
+++ b/src/mesa/drivers/dri/i965/brw_vs.c
@@ -319,6 +319,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);
--
1.7.10.4
More information about the mesa-dev
mailing list