vtn: add mesh output and task_payload to vtn_mode_is_cross_invocation
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 9 Nov 2022 16:22:27 +0000 (16:22 +0000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 9 Dec 2022 20:56:52 +0000 (20:56 +0000)
commit085828ea4dc029a4850fa64c47335f393b5c1c60
tree8ca3a3dd725fd4dcefdc6cbcf32f3541696d555c
parente1f51003111b9fc9f06c948191c545164cfc86be
vtn: add mesh output and task_payload to vtn_mode_is_cross_invocation

This fixes a potential race condition, and removes output loads (which
should not exist in the EXT_mesh_shader).

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7391
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19597>
src/compiler/spirv/vtn_variables.c