Mesa (master): i965: Use AUB_TRACE_WM_CONSTANTS in gen7_prepare_wm_push_constants.

Kenneth Graunke kwg at kemper.freedesktop.org
Thu Oct 20 15:25:06 PDT 2011


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Oct 18 17:05:29 2011 -0700

i965: Use AUB_TRACE_WM_CONSTANTS in gen7_prepare_wm_push_constants.

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 at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/dri/i965/gen7_wm_state.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/gen7_wm_state.c b/src/mesa/drivers/dri/i965/gen7_wm_state.c
index 55a603e..b63776f 100644
--- a/src/mesa/drivers/dri/i965/gen7_wm_state.c
+++ b/src/mesa/drivers/dri/i965/gen7_wm_state.c
@@ -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);



More information about the mesa-commit mailing list