diff options
author | Matt Turner <[email protected]> | 2017-04-28 17:05:44 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-05-15 11:42:47 -0700 |
commit | a7217e909ce6e7d17eea8fd65191bb87deb3b496 (patch) | |
tree | 03645a2632c215dd70c1204fe3b88b344e66923c /src/intel/compiler/test_eu_validate.cpp | |
parent | 8ca8ebbf78d6e5eacbd42dc245f503e0c9787268 (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/test_eu_validate.cpp')
-rw-r--r-- | src/intel/compiler/test_eu_validate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/compiler/test_eu_validate.cpp b/src/intel/compiler/test_eu_validate.cpp index 76652dc43d0..ed67c4d4228 100644 --- a/src/intel/compiler/test_eu_validate.cpp +++ b/src/intel/compiler/test_eu_validate.cpp @@ -118,7 +118,8 @@ validate(struct brw_codegen *p) annotation.ann[annotation.ann_count].offset = p->next_insn_offset; } - bool ret = brw_validate_instructions(p, 0, &annotation); + bool ret = brw_validate_instructions(devinfo, p->store, 0, + p->next_insn_offset, &annotation); if (print) { dump_assembly(p->store, annotation.ann_count, annotation.ann, p->devinfo); |