SPIR-V Built-In

PrimitivePointIndicesEXT

Indices of point primitives in a mesh shader
PrimitivePointIndicesEXT

Decorating a variable with the PrimitivePointIndicesEXT decoration will make that variable contain the output array of vertex index values for point primitives.

Valid Usage

VUID-PrimitivePointIndicesEXT-PrimitivePointIndicesEXT-07041

The PrimitivePointIndicesEXT decoration must be used only within the MeshEXT Execution Model

VUID-PrimitivePointIndicesEXT-PrimitivePointIndicesEXT-07042

The PrimitivePointIndicesEXT decoration must be used with the OutputPoints Execution Mode

VUID-PrimitivePointIndicesEXT-PrimitivePointIndicesEXT-07043

The variable decorated with PrimitivePointIndicesEXT must be declared using the Output Storage Class

VUID-PrimitivePointIndicesEXT-PrimitivePointIndicesEXT-07044

The variable decorated with PrimitivePointIndicesEXT must be declared as an array of scalar 32-bit integer values

VUID-PrimitivePointIndicesEXT-PrimitivePointIndicesEXT-07045

All index values of the array decorated with PrimitivePointIndicesEXT must be in the range [0, N-1], where N is the value specified by the OutputVertices

Execution Mode

VUID-PrimitivePointIndicesEXT-PrimitivePointIndicesEXT-07046

The size of the array decorated with PrimitivePointIndicesEXT must match the value specified by OutputPrimitivesEXT