# VK_SHADER_UNUSED_KHR(3) Manual Page

## Name

VK_SHADER_UNUSED_KHR - Sentinel for an unused shader index

Loading… please wait.

## C Specification

`VK_SHADER_UNUSED_KHR` is a special shader index used to indicate that a ray generation, miss, or callable shader member is not used.

    #define VK_SHADER_UNUSED_KHR              (~0U)

or the equivalent

    #define VK_SHADER_UNUSED_NV               VK_SHADER_UNUSED_KHR

## See Also

VK_KHR_ray_tracing_pipeline, VK_NV_ray_tracing

## 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

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0