intel/fs: Don't unnecessarily fall back to indirect sends on Gen12
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 23 Jan 2020 04:54:20 +0000 (22:54 -0600)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jan 2020 19:18:27 +0000 (19:18 +0000)
commit3b2eafbea959183c5ef27b11620edacaf8e92c8b
tree2964b235d92a2df3fe218e9cd29411f006a31995
parentc70a786c77370bbc47f71a9f529d50116fd511da
intel/fs: Don't unnecessarily fall back to indirect sends on Gen12

The instruction encoding for SENDS changed on Gen12 and it now supports
embedding the entire extended message descriptor in the instruction if
it's an immediate.  Stop falling back to doing an indirect SEND just
because we had something in [15:12] of ex_desc.ud.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3547>
src/intel/compiler/brw_eu_emit.c