aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_eu.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-07-31 15:35:49 -0700
committerMatt Turner <[email protected]>2017-08-21 14:05:23 -0700
commit17641f638839e09a8fbfafc3f889b0696a4bf99a (patch)
treee04fb423e54a92167d83ca18214493db4fe889bb /src/intel/compiler/brw_eu.h
parentb3f87b87f6c001a2b28a3b0daa89ec0c20bb9734 (diff)
i965: Mark src inst pointer const in compaction code
Reviewed-by: Scott D Phillips <[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 a3a9c63239d..8e597b212a6 100644
--- a/src/intel/compiler/brw_eu.h
+++ b/src/intel/compiler/brw_eu.h
@@ -542,7 +542,7 @@ void brw_compact_instructions(struct brw_codegen *p, int start_offset,
void brw_uncompact_instruction(const struct gen_device_info *devinfo,
brw_inst *dst, brw_compact_inst *src);
bool brw_try_compact_instruction(const struct gen_device_info *devinfo,
- brw_compact_inst *dst, brw_inst *src);
+ brw_compact_inst *dst, const brw_inst *src);
void brw_debug_compact_uncompact(const struct gen_device_info *devinfo,
brw_inst *orig, brw_inst *uncompacted);