intel/eu: Validate some aspects of URB messages
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 28 Jun 2022 19:26:04 +0000 (12:26 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Jul 2022 19:45:34 +0000 (19:45 +0000)
commitc751ca769f0a98bce7d32923107e306ed963c122
tree9f4255288396ffe04ca7f5a88283aa2fb184767e
parentb909ac350ffceb7e34b618175053b54e147c5d55
intel/eu: Validate some aspects of URB messages

If these checks had been in place previously, some bugs
that... eh-hem... practically took down the Intel CI would have been
caught earlier. *blush*

v2: Update to account for split sends.

v3: Add some more Gfx version checks.  Remove the redundant "src0 is a
GRF" check.  Both suggested by Ken.

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