intel/fs: Only propagate saturation if exec_size is the same.
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 19 Oct 2018 22:33:50 +0000 (15:33 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Mon, 22 Apr 2019 23:53:55 +0000 (16:53 -0700)
commit0778748ebadca7991c541ec674024c2bec5f08f5
tree3ec2a5a4f9870a47c62f9ab8e30b314ec7dab0db
parent087f92c59a4d169f3912c621ea5a573a838d1be3
intel/fs: Only propagate saturation if exec_size is the same.

Otherwise it could propagate the saturation from a SIMD16 instruction
into a SIMD8 instruction. With that, only part of the destination
register, which is the source of the move with saturation, would have
been updated.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs_saturate_propagation.cpp