summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_eu.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-04-28 17:05:44 -0700
committerMatt Turner <[email protected]>2017-05-15 11:42:47 -0700
commita7217e909ce6e7d17eea8fd65191bb87deb3b496 (patch)
tree03645a2632c215dd70c1204fe3b88b344e66923c /src/intel/compiler/brw_eu.h
parent8ca8ebbf78d6e5eacbd42dc245f503e0c9787268 (diff)
i965: Pass pointer and end of assembly to brw_validate_instructions
This will allow us to more easily run brw_validate_instructions() on shader programs we find in GPU hang error states. Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu.h')
-rw-r--r--src/intel/compiler/brw_eu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_eu.h b/src/intel/compiler/brw_eu.h
index f4225952333..87c69a479cf 100644
--- a/src/intel/compiler/brw_eu.h
+++ b/src/intel/compiler/brw_eu.h
@@ -548,7 +548,8 @@ void brw_debug_compact_uncompact(const struct gen_device_info *devinfo,
brw_inst *orig, brw_inst *uncompacted);
/* brw_eu_validate.c */
-bool brw_validate_instructions(const struct brw_codegen *p, int start_offset,
+bool brw_validate_instructions(const struct gen_device_info *devinfo,
+ void *assembly, int start_offset, int end_offset,
struct annotation_info *annotation);
static inline int