i965/fs: Use fs_inst::overwrites_reg() in saturate propagation.
authorMatt Turner <mattst88@gmail.com>
Wed, 28 Jan 2015 06:43:28 +0000 (22:43 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 20 Feb 2015 05:16:43 +0000 (21:16 -0800)
commit871ad3f08bc34e16fdd728e9a4821b9a83e509f0
tree3ee17eb19401297a2da20e8145803a7db906ca05
parentbf3389ec49a158e0b66db8e038d801eacabd20f1
i965/fs: Use fs_inst::overwrites_reg() in saturate propagation.

This is safer and matches the conditional_mod propagation pass.

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp
src/mesa/drivers/dri/i965/test_fs_saturate_propagation.cpp