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

Author: Francisco Jerez <[email protected]>
Date:   Tue May  3 18:36:02 2016 -0700

i965/fs: Take opt_redundant_discard_jumps out of the optimization loop.

No shader-db regressions.

Reviewed-by: Jason Ekstrand <[email protected]>

---

 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 6340d3a..5b75a79 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -5700,7 +5700,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);
@@ -5733,9 +5732,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)) {

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to