mesa/st: Gallium quads, by spec, never change provoking vertex.
diff mbox

Message ID e7bd23c31002101102r431d5d8bka9ce9d9ffe948490@mail.gmail.com
State Not Applicable
Headers show

Commit Message

Corbin Simpson Feb. 10, 2010, 7:02 p.m. UTC
None

Patch
diff mbox

diff --git a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index d5f5854..e2d871b 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -137,6 +137,9 @@  void st_init_limits(struct st_context *st)
    /* XXX separate query for early function return? */
    st->ctx->Shader.EmitContReturn =
       screen->get_param(screen, PIPE_CAP_TGSI_CONT_SUPPORTED);
+
+   /* Quads always follow GL provoking rules. */
+   c->QuadsFollowProvokingVertexConvention = GL_FALSE;
 }