diff options
author | Matt Turner <[email protected]> | 2014-09-24 16:05:50 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-09-24 16:06:41 -0700 |
commit | ba0c0a186de65869030e80efeab6cf374c0911b9 (patch) | |
tree | 7ec207d5072cd10c8ad775cd995cef059d13b06b /src | |
parent | 52476b35c1db963b13856d4b08b866adf8e05470 (diff) |
i965/vec4: Call calculate_cfg() in test programs to avoid crashing.
Reported-by: Mark Janes <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp | 1 |
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) { |