i965: Don't copy propagate constants from sources with saturate
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 28 Oct 2014 06:42:41 +0000 (23:42 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 10 Dec 2014 20:28:32 +0000 (12:28 -0800)
commit840e8fc9203390615f051259efeab0f61f48bbfc
treefb978745a3b7afd74dbf111b11f1ceeb0d256363
parent47aaabda4771524755c9b3246d967afeb300a3ca
i965: Don't copy propagate constants from sources with saturate

We don't propagate the saturate bit and some instructions can't
saturate at all.  If the source has saturate set, just skip propagation.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp