intel/fs: Don't assert on b2f with a saturate modifier
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 1 Mar 2019 22:39:14 +0000 (14:39 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 2 Mar 2019 21:58:50 +0000 (13:58 -0800)
commitd1d56f5f9afceab732e46c43010738c4936fb9b9
treef6f493b10bd272b2778b13f822bdc78892789071
parent32ffd90002b04bff20a587e5d2f31fe79af1a4f2
intel/fs: Don't assert on b2f with a saturate modifier

This ran afoul of Iris's use of nir_lower_clamp_color_outputs which
applies fsat() before writes to vertex shader color outpus.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Fixes: 7725d609387 ("intel/fs: Emit better code for b2f(inot(a)) and b2i(inot(a))")
src/intel/compiler/brw_fs_nir.cpp