summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp1
-rw-r--r--src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp b/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
index 6925af5fccf..992cb60f1fc 100644
--- a/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
@@ -116,6 +116,7 @@ copy_propagation(vec4_visitor *v)
v->dump_instructions();
}
+ v->calculate_cfg();
v->opt_copy_propagation();
if (print) {
diff --git a/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp b/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp
index 16e6270a044..3c03f83fc26 100644
--- a/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp
+++ b/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp
@@ -119,6 +119,7 @@ _register_coalesce(vec4_visitor *v, const char *func)
v->dump_instructions();
}
+ v->calculate_cfg();
v->opt_register_coalesce();
if (print) {