intel/eu: Add brw_inst.h helpers for the SEND(C) descriptor and extended descriptor.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 2 Jun 2018 01:21:37 +0000 (18:21 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 10 Jul 2018 06:46:57 +0000 (23:46 -0700)
commitf55884cad38516c2f6c62065c614a764c0a6f15e
tree58d771b70785f7d62d1b352bb7ead0df35888034
parent1c8a045bfb17e6a44ff0c3d47747d574688f032d
intel/eu: Add brw_inst.h helpers for the SEND(C) descriptor and extended descriptor.

This introduces helpers that can be used to specify or extract the
whole descriptor of a SEND message instruction at once.  Because the
the instruction encoding of these is rather awkward on some
generations using the generic brw_inst.h macros doesn't seem like an
option.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_inst.h