diff options
Diffstat (limited to 'src/intel/compiler/brw_vec4_generator.cpp')
-rw-r--r-- | src/intel/compiler/brw_vec4_generator.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_vec4_generator.cpp b/src/intel/compiler/brw_vec4_generator.cpp index 8505f693499..334933d15a6 100644 --- a/src/intel/compiler/brw_vec4_generator.cpp +++ b/src/intel/compiler/brw_vec4_generator.cpp @@ -2180,10 +2180,14 @@ generate_code(struct brw_codegen *p, annotation_finalize(&annotation, p->next_insn_offset); #ifndef NDEBUG - bool validated = brw_validate_instructions(p, 0, &annotation); + bool validated = brw_validate_instructions(devinfo, p->store, + 0, p->next_insn_offset, + &annotation); #else if (unlikely(debug_flag)) - brw_validate_instructions(p, 0, &annotation); + brw_validate_instructions(devinfo, p->store, + 0, p->next_insn_offset, + &annotation); #endif int before_size = p->next_insn_offset; |