SPIR-V Built-In

HitTNV

T value of a ray intersection
HitTNV

A variable decorated with the HitTNV decoration is equivalent to a variable decorated with the RayTmaxKHR decoration.

Valid Usage

VUID-HitTNV-HitTNV-04245

The HitTNV decoration must be used only within the AnyHitNV or ClosestHitNV Execution Model

VUID-HitTNV-HitTNV-04246

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

VUID-HitTNV-HitTNV-04247

The variable decorated with HitTNV must be declared as a scalar 32-bit floating-point value