mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
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:
parent
109de3049d
commit
75d10e4c84
2 changed files with 2 additions and 2 deletions
|
|
@ -549,7 +549,7 @@ void brw_debug_compact_uncompact(const struct gen_device_info *devinfo,
|
|||
|
||||
/* 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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue