brw_debug_batch() is the only implementation of this function, so it
makes sense to just call it directly.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
brw->intel.vtbl.new_batch = brw_new_batch;
brw->intel.vtbl.finish_batch = brw_finish_batch;
brw->intel.vtbl.destroy = brw_destroy_context;
- brw->intel.vtbl.debug_batch = brw_debug_batch;
brw->intel.vtbl.annotate_aub = brw_annotate_aub;
assert(brw->intel.gen >= 4);
#include "intel_reg.h"
#include "intel_bufmgr.h"
#include "intel_buffers.h"
+#include "brw_context.h"
static void
intel_batchbuffer_reset(struct intel_context *intel);
if (ret == 0) {
drm_intel_bo_unmap(batch->bo);
- if (intel->vtbl.debug_batch != NULL)
- intel->vtbl.debug_batch(intel);
+ brw_debug_batch(intel);
}
}
void (*finish_batch) (struct intel_context * intel);
void (*new_batch) (struct intel_context * intel);
- void (*debug_batch)(struct intel_context *intel);
void (*annotate_aub)(struct intel_context *intel);
void (*update_texture_surface)(struct gl_context *ctx,