intel/compiler: brw_validate_instructions to take const void* instead of void*
[mesa.git] / src / intel / compiler / brw_eu.h
index 8e597b212a601fc2ee8a4b92196d978faaf7e034..d8c9be2e54417a57e1259d8cf1da7fb8bb6917c7 100644 (file)
@@ -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