[Mesa-dev] [PATCH 05/25] i965/fs: Take opt_redundant_discard_jumps out of the optimization loop.

Francisco Jerez currojerez at riseup.net
Sat May 28 02:05:46 UTC 2016


No shader-db regressions.
---
 src/mesa/drivers/dri/i965/brw_fs.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 20feb6f..3c468d8 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -5723,7 +5723,6 @@ fs_visitor::optimize()
       OPT(opt_peephole_sel);
       OPT(dead_control_flow_eliminate, this);
       OPT(opt_register_renaming);
-      OPT(opt_redundant_discard_jumps);
       OPT(opt_saturate_propagation);
       OPT(register_coalesce);
       OPT(compute_to_mrf);
@@ -5756,9 +5755,9 @@ fs_visitor::optimize()
       OPT(dead_code_eliminate);
       OPT(remove_duplicate_mrf_writes);
       OPT(opt_peephole_sel);
-      OPT(opt_redundant_discard_jumps);
    }
 
+   OPT(opt_redundant_discard_jumps);
    OPT(opt_sampler_eot);
 
    if (OPT(lower_load_payload)) {
-- 
2.7.3



More information about the mesa-dev mailing list