summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-03-10 23:15:33 -0800
committerMatt Turner <[email protected]>2017-03-10 23:16:39 -0800
commit3d253d330a47eb06bd4745c3ee41c4aa9d6143be (patch)
tree1fbfbbedd0c3d57442858011fd53114623e2af17 /src/mesa/drivers
parentfa4b792e833a5b9a74d21ca72babeeebc72fd052 (diff)
i965: Initialize compaction tables in unit test.
Fixes: fa4b792e833a "i965: Move brw_init_compaction_tables() to brw_create_compiler()." Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100154
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/test_eu_compact.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/test_eu_compact.c b/src/mesa/drivers/dri/i965/test_eu_compact.c
index d7453613b6e..77a57f4aa65 100644
--- a/src/mesa/drivers/dri/i965/test_eu_compact.c
+++ b/src/mesa/drivers/dri/i965/test_eu_compact.c
@@ -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++) {