intel/compiler: Put back saturate on [iu]add_sat opcodes
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Apr 2020 23:06:54 +0000 (16:06 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Apr 2020 00:47:40 +0000 (00:47 +0000)
commit902c8731f4e16be4c66bb4280550a1c2d9d28537
tree92abe151919510fca3f26a9a33098793604f10fa
parentf699bb42af2b4d3959ac04ce86f1a096dc85fe69
intel/compiler: Put back saturate on [iu]add_sat opcodes

I deleted one too many inst->saturate = ... lines.  This one must stay.

Fixes: b7c47c4f7cf ("intel/compiler: Drop nir_lower_to_source_mods() and related handling.")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4669>
src/intel/compiler/brw_fs_nir.cpp