aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_eu.h
diff options
context:
space:
mode:
authorKevin Rogovin <[email protected]>2017-09-25 13:34:08 +0300
committerKenneth Graunke <[email protected]>2017-10-26 10:43:48 -0700
commit75d10e4c84c0666d4120389d116cb178afccec4d (patch)
tree4c39ed484adb57379a5e0e786e51d50847d7b95c /src/intel/compiler/brw_eu.h
parent109de3049dda6be2a5a3910f777feea0bbf9ce92 (diff)
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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu.h')
-rw-r--r--src/intel/compiler/brw_eu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_eu.h b/src/intel/compiler/brw_eu.h
index 8e597b212a6..d8c9be2e544 100644
--- a/src/intel/compiler/brw_eu.h
+++ b/src/intel/compiler/brw_eu.h
@@ -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