intel/compiler: brw_validate_instructions to take const void* instead of void*

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>
This commit is contained in:
Kevin Rogovin
2017-09-25 13:34:08 +03:00
committed by Kenneth Graunke
parent 109de3049d
commit 75d10e4c84
2 changed files with 2 additions and 2 deletions

View File

@@ -1257,7 +1257,7 @@ special_requirements_for_handling_double_precision_data_types(
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;