spirv: Support the CullPrimitiveEXT mesh shader built-in.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 21 Jan 2022 18:38:13 +0000 (19:38 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:18:33 +0000 (16:18 +0000)
commita03c30bd8dd4393fe76671f342f7802fa23f6845
tree1dc1fd33c3dde4dde6ecd806d1b2b6f4c159ccd4
parentc5c6cef893af37c95ee3a0a82f6fc73a1fa02406
spirv: Support the CullPrimitiveEXT mesh shader built-in.

This is a per-primitive builtin output which indicates that a
primitive should be culled (deleted) from the output.

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