intel/compiler: Pass backend_shader * to cfg_t()

As you can see, not having a pointer to the backend_shader from within
the class makes for some weird looking code.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4093>
This commit is contained in:
Matt Turner
2020-03-06 13:34:13 -08:00
committed by Marge Bot
parent edae75037f
commit e7d0460d58
7 changed files with 20 additions and 16 deletions
+2 -2
View File
@@ -73,14 +73,14 @@ lower_scoreboard(fs_visitor *v)
if (print) {
fprintf(stderr, "= Before =\n");
v->cfg->dump(v);
v->cfg->dump();
}
v->lower_scoreboard();
if (print) {
fprintf(stderr, "\n= After =\n");
v->cfg->dump(v);
v->cfg->dump();
}
}