diff options
author | Kenneth Graunke <[email protected]> | 2017-03-20 02:21:41 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-03-21 13:49:18 -0700 |
commit | 0c3fbf8028b6f44a341548d341fa660e6b120647 (patch) | |
tree | 053d51a803d054a3cb6f73d83ad5709141e18e46 /src/mesa/drivers/dri/i965/brw_sf_state.c | |
parent | 705c38e96f1ea732dd85c72c85f988171697867c (diff) |
i965: Drop AUB_TRACE_* stuff.
This was used for aubdumping (deleted a while ago) and INTEL_DEBUG=bat
decoding (deleted recently).
While we're changing parameters, delete the wrapper macro and make the
actual function brw_state_batch instead of __brw_state_batch.
This subsumes a patch by Emil Velikov to drop this from BLORP.
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sf_state.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf_state.c b/src/mesa/drivers/dri/i965/brw_sf_state.c index 89406fc9cb8..5580baa0ea1 100644 --- a/src/mesa/drivers/dri/i965/brw_sf_state.c +++ b/src/mesa/drivers/dri/i965/brw_sf_state.c @@ -48,8 +48,7 @@ static void upload_sf_vp(struct brw_context *brw) float scale[3], translate[3]; const bool render_to_fbo = _mesa_is_user_fbo(ctx->DrawBuffer); - sfv = brw_state_batch(brw, AUB_TRACE_SF_VP_STATE, - sizeof(*sfv), 32, &brw->sf.vp_offset); + sfv = brw_state_batch(brw, sizeof(*sfv), 32, &brw->sf.vp_offset); memset(sfv, 0, sizeof(*sfv)); /* Accessing the fields Width and Height of gl_framebuffer to produce the @@ -138,8 +137,7 @@ static void upload_sf_unit( struct brw_context *brw ) int chipset_max_threads; bool render_to_fbo = _mesa_is_user_fbo(ctx->DrawBuffer); - sf = brw_state_batch(brw, AUB_TRACE_SF_STATE, - sizeof(*sf), 64, &brw->sf.state_offset); + sf = brw_state_batch(brw, sizeof(*sf), 64, &brw->sf.state_offset); memset(sf, 0, sizeof(*sf)); |