spirv: Support EXT_mesh_shader indices and mark them per-primitive.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 20 Jan 2022 15:33:27 +0000 (16:33 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:18:33 +0000 (16:18 +0000)
commitf6925b8446568e095216f6ede8eee1d0ef8f8750
treec0096ee9eae4704839c6146cdddd6dcc19b91090
parentc315e2e71807e1d7502fad3f801da115bda8ceda
spirv: Support EXT_mesh_shader indices and mark them per-primitive.

They are not defined as per-primitive in the EXT, but they behave
like per-primitive outputs so it's easier to treat them like that.
They may still require special treatment in the backend in order to
control where and how they are stored.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18366>
src/compiler/spirv/vtn_variables.c