intel/compiler/mesh: support longer write messages
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Fri, 13 Jan 2023 13:53:54 +0000 (14:53 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 31 Jan 2023 18:28:21 +0000 (18:28 +0000)
commitbe82ed28f0a09bc5452c0de9b82a73f4ff658ba6
tree8f520b15a234fac6c652104201f3f52fc49741f9
parent0f087b56d03a32e84ca2f5326fb4dcc2cb142bc9
intel/compiler/mesh: support longer write messages

Allowing longer writes reduces the number of send messages needed
to support unaligned 4-component writes.

Note: nothing currently generates 8-component writes, so this change
makes "second_mask" code path in emit_urb_direct_writes and
emit_urb_indirect_writes_mod dead.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20858>
src/intel/compiler/brw_mesh.cpp