diff options
author | Jason Ekstrand <[email protected]> | 2017-03-18 11:23:34 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-26 07:58:01 -0700 |
commit | 21ba2b4bef7c68fce492607b7dae5cd5e28b3bd9 (patch) | |
tree | f089ecb4201dc915d82f1e3cfd05497153d33916 /src/intel/compiler/brw_eu.h | |
parent | c336c224a6e6bcc1652fd7d083653f89eab60462 (diff) |
intel/compiler: Make brw_disasm take const assembly
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu.h')
-rw-r--r-- | src/intel/compiler/brw_eu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/compiler/brw_eu.h b/src/intel/compiler/brw_eu.h index 87c69a479cf..a3a9c63239d 100644 --- a/src/intel/compiler/brw_eu.h +++ b/src/intel/compiler/brw_eu.h @@ -115,9 +115,9 @@ 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 struct brw_inst *inst, bool is_compacted); +void brw_disassemble(const struct gen_device_info *devinfo, + const void *assembly, int start, int end, FILE *out); const unsigned *brw_get_program( struct brw_codegen *p, unsigned *sz ); brw_inst *brw_next_insn(struct brw_codegen *p, unsigned opcode); |