i965: Use AUB_TRACE_WM_CONSTANTS in gen7_prepare_wm_push_constants.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 19 Oct 2011 00:05:29 +0000 (17:05 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 20 Oct 2011 22:25:34 +0000 (15:25 -0700)
This makes it match gen6_prepare_wm_push_constants.  For some reason, it
had been using AUB_TRACE_NO_TYPE.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen7_wm_state.c

index 55a603e887a2aa6a5c0c7c73bc4716c23dce7f7e..b63776f7a55de2ab052052bdf36cddc5c6060f32 100644 (file)
@@ -51,7 +51,7 @@ gen7_prepare_wm_constants(struct brw_context *brw)
       float *constants;
       unsigned int i;
 
-      constants = brw_state_batch(brw, AUB_TRACE_NO_TYPE,
+      constants = brw_state_batch(brw, AUB_TRACE_WM_CONSTANTS,
                                  brw->wm.prog_data->nr_params *
                                  sizeof(float),
                                  32, &brw->wm.push_const_offset);