projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e119f98
)
i965/vs: Add comment noting copy_edgeflag state dependency.
author
Eric Anholt
<eric@anholt.net>
Fri, 27 Jul 2012 22:53:54 +0000
(15:53 -0700)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vs.c
b/src/mesa/drivers/dri/i965/brw_vs.c
index ba818fda353baaa00a2ab4ebee5f59841d047a8c..d803dfa96d4b3f952573da2449bb6bc07ddeb313 100644
(file)
--- 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);