intel/fs: Rework INTERPOLATE_AT_PER_SLOT_OFFSET
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 26 Apr 2016 01:06:13 +0000 (18:06 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Jun 2018 20:19:38 +0000 (13:19 -0700)
commit73d60455e90e14ef8618bfd09b0b4f54e1d58b48
tree24c9d3f2d9f18fbcd328f51f1ee425d7fbc22a24
parent74b477039dbd144a3b31933a2326c32593f3ef12
intel/fs: Rework INTERPOLATE_AT_PER_SLOT_OFFSET

This reworks INTERPOLATE_AT_PER_SLOT_OFFSET to work more like an ALU
operation and less like a send.  This is less code over-all and, as a
side-effect, it now properly handles execution groups and lowering so
SIMD32 support just falls out.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_fs_nir.cpp