Mesa (master): i965: Initialize compaction tables in unit test.

Matt Turner mattst88 at kemper.freedesktop.org
Sat Mar 11 07:17:04 UTC 2017


Module: Mesa
Branch: master
Commit: 3d253d330a47eb06bd4745c3ee41c4aa9d6143be
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d253d330a47eb06bd4745c3ee41c4aa9d6143be

Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Mar 10 23:15:33 2017 -0800

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

---

 src/mesa/drivers/dri/i965/test_eu_compact.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/test_eu_compact.c b/src/mesa/drivers/dri/i965/test_eu_compact.c
index d745361..77a57f4 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++) {




More information about the mesa-commit mailing list