i965/fs: Don't set exec_all on instructions wider than the original in lower_simd_width.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 27 Jul 2015 15:42:31 +0000 (18:42 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 16:30:11 +0000 (19:30 +0300)
commit4529916dfd227af6c4e151f45261db22157fe45f
tree59826f327c1db978a8a0a946b81915e24987b212
parenteaba922582cfdccc7b198f9b23d8bd3c26197d03
i965/fs: Don't set exec_all on instructions wider than the original in lower_simd_width.

This could have led to somewhat increased bandwidth usage for lowered
texturing instructions on Gen4 (which is the only case in which
lower_width may be greater than inst->exec_size).  After the previous
patches the invariant mentioned in the comment should no longer be
assumed by any of the other optimization and lowering passes, so the
exec_all() call shouldn't be necessary anymore.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp