i965/gen6: Add missing state flag for VS push constants.
authorEric Anholt <eric@anholt.net>
Thu, 16 Jun 2011 00:38:54 +0000 (17:38 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 20 Jun 2011 15:37:42 +0000 (08:37 -0700)
It was already annotated up above and everything.

src/mesa/drivers/dri/i965/gen6_vs_state.c

index 7838a91d8d06cb6903e3155a9c935abfcb5d9c8b..fd46da0c4dee7e769a9a5663c92c4e6d363463b9 100644 (file)
@@ -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,
 };