Mesa (master): i965/vs: Add comment noting copy_edgeflag state dependency.
Eric Anholt
anholt at kemper.freedesktop.org
Thu Aug 9 16:08:32 UTC 2012
Module: Mesa
Branch: master
Commit: 3eb8d7122507600ca7c65f8f3fd0e9e9dee7a432
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3eb8d7122507600ca7c65f8f3fd0e9e9dee7a432
Author: Eric Anholt <eric at anholt.net>
Date: Fri Jul 27 15:53:54 2012 -0700
i965/vs: Add comment noting copy_edgeflag state dependency.
It's already in the state struct.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/brw_vs.c | 2 ++
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 ba818fd..d803dfa 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);
More information about the mesa-commit
mailing list