Mesa (master): gallium: fix not generating new vp varient when polygon mode changes

Roland Scheidegger sroland at kemper.freedesktop.org
Tue Dec 22 12:48:49 PST 2009


Module: Mesa
Branch: master
Commit: 1aba413a702cad3da04cf6d686ce81dd6330f1a9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1aba413a702cad3da04cf6d686ce81dd6330f1a9

Author: Roland Scheidegger <sroland at vmware.com>
Date:   Sat Dec 19 17:12:14 2009 +0100

gallium: fix not generating new vp varient when polygon mode changes

---

 src/mesa/state_tracker/st_atom_shader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/state_tracker/st_atom_shader.c b/src/mesa/state_tracker/st_atom_shader.c
index 629bf89..c2cb72e 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 */



More information about the mesa-commit mailing list