The disassembler does not (and should not) be modifying the data.
Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/* brw_eu_validate.c */
bool brw_validate_instructions(const struct gen_device_info *devinfo,
- void *assembly, int start_offset, int end_offset,
+ const void *assembly, int start_offset, int end_offset,
struct annotation_info *annotation);
static inline int
bool
brw_validate_instructions(const struct gen_device_info *devinfo,
- void *assembly, int start_offset, int end_offset,
+ const void *assembly, int start_offset, int end_offset,
struct annotation_info *annotation)
{
bool valid = true;