From 34ede38194956abc4b6acdf255d1462ba1763df3 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 28 Feb 2017 19:40:07 -0800 Subject: [PATCH] i965: Move brw_disassemble_inst to brw_eu.h Reviewed-by: Matt Turner Reviewed-by: Kenneth Graunke Reviewed-by: Anuj Phogat --- src/mesa/drivers/dri/i965/brw_context.h | 4 ---- src/mesa/drivers/dri/i965/brw_eu.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index eda5c32377a..aa938b6e1ef 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1352,10 +1352,6 @@ void brw_upload_urb_fence(struct brw_context *brw); */ void brw_upload_cs_urb_state(struct brw_context *brw); -/* brw_disasm.c */ -int brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo, - struct brw_inst *inst, bool is_compacted); - /* brw_vs.c */ gl_clip_plane *brw_select_clip_planes(struct gl_context *ctx); diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index c44896bc0d5..91c30525e65 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -114,6 +114,8 @@ void brw_set_default_acc_write_control(struct brw_codegen *p, unsigned value); void brw_init_codegen(const struct gen_device_info *, struct brw_codegen *p, void *mem_ctx); +int brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo, + struct brw_inst *inst, bool is_compacted); void brw_disassemble(const struct gen_device_info *devinfo, void *assembly, int start, int end, FILE *out); const unsigned *brw_get_program( struct brw_codegen *p, unsigned *sz ); -- 2.30.2