i965: Fix test_eu_validate.cpp
authorMatt Turner <mattst88@gmail.com>
Tue, 16 May 2017 18:43:57 +0000 (11:43 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 16 May 2017 18:45:07 +0000 (11:45 -0700)
Broken by commit a7217e909ce6 ("i965: Pass pointer and end of assembly
to brw_validate_instructions").

Reported-by: Aaron Watry <awatry@gmail.com>
src/intel/compiler/test_eu_validate.cpp

index ed67c4d4228febb229fc973699dfc1c4f032523d..09f4cc142a53357e858dab5e5c39194ba1179c18 100644 (file)
@@ -118,7 +118,7 @@ validate(struct brw_codegen *p)
       annotation.ann[annotation.ann_count].offset = p->next_insn_offset;
    }
 
-   bool ret = brw_validate_instructions(devinfo, p->store, 0,
+   bool ret = brw_validate_instructions(p->devinfo, p->store, 0,
                                         p->next_insn_offset, &annotation);
 
    if (print) {