From: Roland Scheidegger Date: Sat, 19 Dec 2009 16:12:14 +0000 (+0100) Subject: gallium: fix not generating new vp varient when polygon mode changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1aba413a702cad3da04cf6d686ce81dd6330f1a9;p=mesa.git gallium: fix not generating new vp varient when polygon mode changes --- diff --git a/src/mesa/state_tracker/st_atom_shader.c b/src/mesa/state_tracker/st_atom_shader.c index 629bf8953eb..c2cb72e56ad 100644 --- a/src/mesa/state_tracker/st_atom_shader.c +++ b/src/mesa/state_tracker/st_atom_shader.c @@ -227,7 +227,7 @@ update_vp( struct st_context *st ) const struct st_tracked_state st_update_vp = { "st_update_vp", /* name */ { /* dirty */ - 0, /* mesa */ + _NEW_POLYGON, /* mesa */ ST_NEW_VERTEX_PROGRAM /* st */ }, update_vp /* update */