gallium: added _NEW_PROGRAM to dependencies
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 11 Aug 2008 21:04:55 +0000 (15:04 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 11 Aug 2008 21:21:40 +0000 (15:21 -0600)
src/mesa/state_tracker/st_atom_rasterizer.c

index 9f4e1c1c6965f088e1840f87479398e302e60186..e286dc51168bf5e2f3b455b283103351104c450f 100644 (file)
@@ -267,11 +267,17 @@ static void update_raster_state( struct st_context *st )
 }
 
 const struct st_tracked_state st_update_rasterizer = {
-   "st_update_rasterizer",                                     /* name */
-   {                                                           /* dirty */
-      (_NEW_LIGHT | _NEW_POLYGON | _NEW_LINE | _NEW_SCISSOR |  /* mesa */
-               _NEW_POINT | _NEW_BUFFERS | _NEW_MULTISAMPLE),  
-      0,                                                       /* st */
+   "st_update_rasterizer",    /* name */
+   {
+      (_NEW_BUFFERS |
+       _NEW_LIGHT |
+       _NEW_LINE |
+       _NEW_MULTISAMPLE |
+       _NEW_POINT |
+       _NEW_POLYGON |
+       _NEW_PROGRAM |
+       _NEW_SCISSOR),      /* mesa state dependencies*/
+      0,                   /* state tracker dependencies */
    },
-   update_raster_state                                         /* update */
+   update_raster_state     /* update function */
 };