i965/fs: Remove SNB embedded-comparison support from optimizations.
authorMatt Turner <mattst88@gmail.com>
Sat, 3 Oct 2015 03:18:34 +0000 (20:18 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 5 Oct 2015 20:42:58 +0000 (13:42 -0700)
commit596441992130460c7d9a792e50eea46d27297d44
tree65939c248968b7d8b939f5b633d31409d4c0a3f5
parent36ea9922ada5ea99e54231697a4afb31d5f6b9bf
i965/fs: Remove SNB embedded-comparison support from optimizations.

We never emit IF instructions with an embedded comparison (lost in the
switch to NIR), so this code is not used. If we want to readd support,
we should have a pass that merges a CMP instruction with an IF or a
WHILE instruction after other optimizations have run.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_peephole_predicated_break.cpp
src/mesa/drivers/dri/i965/brw_fs_sel_peephole.cpp