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/intel/blorp | |
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/intel/blorp')
-rw-r--r-- | src/intel/blorp/blorp_genX_exec.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h index dc1b7735ab3..379146245d9 100644 --- a/src/intel/blorp/blorp_genX_exec.h +++ b/src/intel/blorp/blorp_genX_exec.h @@ -27,7 +27,6 @@ #include "blorp_priv.h" #include "common/gen_device_info.h" #include "common/gen_sample_positions.h" -#include "intel_aub.h" /** * This file provides the blorp pipeline setup and execution functionality. @@ -53,7 +52,6 @@ blorp_emit_reloc(struct blorp_batch *batch, static void * blorp_alloc_dynamic_state(struct blorp_batch *batch, - enum aub_state_struct_type type, uint32_t size, uint32_t alignment, uint32_t *offset); @@ -916,7 +914,7 @@ blorp_emit_blend_state(struct blorp_batch *batch, } uint32_t offset; - void *state = blorp_alloc_dynamic_state(batch, AUB_TRACE_BLEND_STATE, + void *state = blorp_alloc_dynamic_state(batch, GENX(BLEND_STATE_length) * 4, 64, &offset); GENX(BLEND_STATE_pack)(NULL, state, &blend); @@ -951,7 +949,7 @@ blorp_emit_color_calc_state(struct blorp_batch *batch, #endif uint32_t offset; - void *state = blorp_alloc_dynamic_state(batch, AUB_TRACE_CC_STATE, + void *state = blorp_alloc_dynamic_state(batch, GENX(COLOR_CALC_STATE_length) * 4, 64, &offset); GENX(COLOR_CALC_STATE_pack)(NULL, state, &cc); @@ -1031,7 +1029,7 @@ blorp_emit_depth_stencil_state(struct blorp_batch *batch, GENX(3DSTATE_WM_DEPTH_STENCIL_pack)(NULL, dw, &ds); #else uint32_t offset; - void *state = blorp_alloc_dynamic_state(batch, AUB_TRACE_DEPTH_STENCIL_STATE, + void *state = blorp_alloc_dynamic_state(batch, GENX(DEPTH_STENCIL_STATE_length) * 4, 64, &offset); GENX(DEPTH_STENCIL_STATE_pack)(NULL, state, &ds); @@ -1201,7 +1199,7 @@ blorp_emit_sampler_state(struct blorp_batch *batch, }; uint32_t offset; - void *state = blorp_alloc_dynamic_state(batch, AUB_TRACE_SAMPLER_STATE, + void *state = blorp_alloc_dynamic_state(batch, GENX(SAMPLER_STATE_length) * 4, 32, &offset); GENX(SAMPLER_STATE_pack)(NULL, state, &sampler); @@ -1349,7 +1347,7 @@ blorp_emit_viewport_state(struct blorp_batch *batch, { uint32_t cc_vp_offset; - void *state = blorp_alloc_dynamic_state(batch, AUB_TRACE_CC_VP_STATE, + void *state = blorp_alloc_dynamic_state(batch, GENX(CC_VIEWPORT_length) * 4, 32, &cc_vp_offset); |