mesa/st: Gallium quads, by spec, never change provoking vertex.
authorCorbin Simpson <mostawesomed...@gmail.com>
Wed, 10 Feb 2010 18:39:18 +0000 (10:39 -0800)
committerMarek Olšák <maraeo@gmail.com>
Tue, 9 Mar 2010 03:51:29 +0000 (04:51 +0100)
Fixes glean/clipFlat for r300g.

src/mesa/state_tracker/st_extensions.c

index 79be833768fa1a34b8da6ac287d4f5f61639b298..e03dd30f0f5bb1d3e8914e72289e3c9fa7125402 100644 (file)
@@ -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;
 }