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:

committed by
Kenneth Graunke

parent
109de3049d
commit
75d10e4c84
@@ -549,7 +549,7 @@ void brw_debug_compact_uncompact(const struct gen_device_info *devinfo,
|
|||||||
|
|
||||||
/* brw_eu_validate.c */
|
/* brw_eu_validate.c */
|
||||||
bool brw_validate_instructions(const struct gen_device_info *devinfo,
|
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);
|
struct annotation_info *annotation);
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
|
@@ -1257,7 +1257,7 @@ special_requirements_for_handling_double_precision_data_types(
|
|||||||
|
|
||||||
bool
|
bool
|
||||||
brw_validate_instructions(const struct gen_device_info *devinfo,
|
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)
|
struct annotation_info *annotation)
|
||||||
{
|
{
|
||||||
bool valid = true;
|
bool valid = true;
|
||||||
|
Reference in New Issue
Block a user