summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2016-05-03 18:36:02 -0700
committerFrancisco Jerez <[email protected]>2016-05-29 23:41:38 -0700
commit2a166c13d4a6edecaffc56a8220dda146e3ce8a0 (patch)
treed163a4d8fbde19b864af4417ee8cb22913f0d843 /src
parentd5f2f32b118331070507faf292bbe3da2671df4b (diff)
i965/fs: Take opt_redundant_discard_jumps out of the optimization loop.
No shader-db regressions. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 6340d3a1a39..5b75a79957e 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)) {