i965: Initialize compaction tables in unit test.
authorMatt Turner <mattst88@gmail.com>
Sat, 11 Mar 2017 07:15:33 +0000 (23:15 -0800)
committerMatt Turner <mattst88@gmail.com>
Sat, 11 Mar 2017 07:16:39 +0000 (23:16 -0800)
Fixes: fa4b792e833a "i965: Move brw_init_compaction_tables() to brw_create_compiler()."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100154

src/mesa/drivers/dri/i965/test_eu_compact.c

index d745361..77a57f4 100644 (file)
@@ -251,6 +251,7 @@ struct {
 static bool
 run_tests(const struct gen_device_info *devinfo)
 {
+   brw_init_compaction_tables(devinfo);
    bool fail = false;
 
    for (int i = 0; i < ARRAY_SIZE(tests); i++) {