aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-10-22 17:51:28 -0700
committerMatt Turner <[email protected]>2013-12-04 20:05:44 -0800
commitd30b2ed5f83841531b4c5aa21bde50acad35560a (patch)
tree87e3bb4f4f9a8f0df35626cf064befe3264944c6 /src/mesa/drivers/dri/i965/brw_fs.h
parent9658b04fc473a9b16ede16b632e4f0b23ae90a70 (diff)
i965/fs: New peephole optimization to flatten IF/BREAK/ENDIF.
total instructions in shared programs: 1550713 -> 1550449 (-0.02%) instructions in affected programs: 7931 -> 7667 (-3.33%) Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index 19f36923aee..2949c47118f 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -364,6 +364,7 @@ public:
bool try_emit_mad(ir_expression *ir, int mul_arg);
void try_replace_with_sel();
bool opt_peephole_sel();
+ bool opt_peephole_predicated_break();
void emit_bool_to_cond_code(ir_rvalue *condition);
void emit_if_gen6(ir_if *ir);
void emit_unspill(fs_inst *inst, fs_reg reg, uint32_t spill_offset,