SPIR-V Built-In

HitIsLSSNV

Indicates if a LSS primitive was hit
HitIsLSSNV

A variable decorated with the HitIsLSSNV decoration will contain a non-zero value if the current ray hit a LSS primitive or zero otherwise.

Valid Usage

VUID-HitIsLSSNV-HitIsLSSNV-10516

The HitIsLSSNV decoration must be used only within the AnyHitKHR, or ClosestHitKHR Execution Model

VUID-HitIsLSSNV-HitIsLSSNV-10517

The variable decorated with HitIsLSSNV must be declared using the Input Storage Class

VUID-HitIsLSSNV-HitIsLSSNV-10518

The variable decorated with HitIsLSSNV must be declared as a boolean value