From: Corbin Simpson Date: Wed, 10 Feb 2010 18:39:18 +0000 (-0800) Subject: mesa/st: Gallium quads, by spec, never change provoking vertex. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd8f5c33f3a54212a0d7d072cd75b321f5abcda8;p=mesa.git mesa/st: Gallium quads, by spec, never change provoking vertex. Fixes glean/clipFlat for r300g. --- diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 79be833768f..e03dd30f0f5 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; }