Description

IncomingRayFlagsKHR

A variable with the IncomingRayFlagsKHR decoration will contain the ray flags passed in to the trace call that invoked this particular shader. Setting pipeline flags on the ray tracing pipeline must not cause any corresponding flags to be set in variables with this decoration.

Valid Usage
  • VUID-IncomingRayFlagsKHR-IncomingRayFlagsKHR-04248
    The IncomingRayFlagsKHR decoration must be used only within the IntersectionKHR, AnyHitKHR, ClosestHitKHR, or MissKHR Execution Model

  • VUID-IncomingRayFlagsKHR-IncomingRayFlagsKHR-04249
    The variable decorated with IncomingRayFlagsKHR must be declared using the Input Storage Class

  • VUID-IncomingRayFlagsKHR-IncomingRayFlagsKHR-04250
    The variable decorated with IncomingRayFlagsKHR must be declared as a scalar 32-bit integer value

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0