intel/fs/gen12: Fixup/simplify SWSB annotations of SIMD32 scratch writes.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 24 Jan 2020 06:27:21 +0000 (22:27 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 14 Feb 2020 22:31:48 +0000 (14:31 -0800)
commit4e4e8d793f050eac84f2a850ab2e5c24c4c459ac
tree6f74a844cebf25055c15a2ce3c519e010f31cf28
parenta8ac0bd759cbf9a5984df4bc9f553a3dca41a8ab
intel/fs/gen12: Fixup/simplify SWSB annotations of SIMD32 scratch writes.

Found by inspection.  Existing code was trying to avoid assuming that
an SBID had been assigned to the virtual instruction, but
synchronizing the header setup with respect to the previous SIMD16
SEND by using SYNC.ALLRD doesn't really seem possible unless the SEND
instruction had been assigned an SBID.  Assert-fail instead if no SBID
has been allocated.

Fixes: 15e3a0d9d264becc "intel/eu/gen12: Set SWSB annotations in hand-crafted assembly."
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Cc: 20.0 <mesa-stable@lists.freedesktop.org>
src/intel/compiler/brw_fs_generator.cpp