SPIR-V Built-In
CullMaskKHR
OpTrace specified ray cull mask
CullMaskKHR
A variable decorated with the CullMaskKHR decoration will specify the
cull mask of the ray being processed.
The value is given by the Cull Mask parameter passed into one of the
OpTrace* instructions.
Valid Usage
VUID-CullMaskKHR-CullMaskKHR-06735
The CullMaskKHR decoration must be used only within the
IntersectionKHR, AnyHitKHR, ClosestHitKHR, or
MissKHR Execution Model
VUID-CullMaskKHR-CullMaskKHR-06736
The variable decorated with CullMaskKHR must be declared using the
Input Storage Class
VUID-CullMaskKHR-CullMaskKHR-06737
The variable decorated with CullMaskKHR must be declared as a
scalar 32-bit integer value