summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-06-15 17:38:54 -0700
committerEric Anholt <[email protected]>2011-06-20 08:37:42 -0700
commit7d4d6082403bef750375cbff5cbb709e1fd30715 (patch)
tree9b70fb0c5ff1af6dfd3eb0c893e2338f84f8f812
parentb46dc45ceef3deb17ba2b0b4300eeb93e9cf7833 (diff)
i965/gen6: Add missing state flag for VS push constants.
It was already annotated up above and everything.
-rw-r--r--src/mesa/drivers/dri/i965/gen6_vs_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_vs_state.c b/src/mesa/drivers/dri/i965/gen6_vs_state.c
index 7838a91d8d0..fd46da0c4de 100644
--- a/src/mesa/drivers/dri/i965/gen6_vs_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_vs_state.c
@@ -110,7 +110,7 @@ const struct brw_tracked_state gen6_vs_constants = {
.mesa = _NEW_TRANSFORM | _NEW_PROGRAM_CONSTANTS,
.brw = (BRW_NEW_BATCH |
BRW_NEW_VERTEX_PROGRAM),
- .cache = 0,
+ .cache = CACHE_NEW_VS_PROG,
},
.prepare = gen6_prepare_vs_push_constants,
};