VK_KHR_shader_constant_data(3)

# VK_KHR_shader_constant_data(3) Manual Page

## Name

VK_KHR_shader_constant_data - device extension

## Registered Extension Number

232

## Revision

1

## Ratification Status

Ratified

## Extension and Version Dependencies

VK_KHR_get_physical_device_properties2
or
Vulkan Version 1.1

## SPIR-V Dependencies

- SPV_KHR_constant_data

## Contact

- Tobias Hector [GitHub]tobski

## Extension Proposal

VK_KHR_shader_constant_data

## Other Extension Metadata

Last Modified Date

  2026-03-18

IP Status

  No known IP claims.

Contributors

  - Tobias Hector, AMD

  - Piers Daniell, Nvidia

  - Craig Graham, Samsung

  - Vikram Tarikere, IMG

## Description

This extension allows the use of the `SPV_KHR_constant_data` extension in SPIR-V shader modules which enables the specification and specialization of arrays of constant data.

## New Structures

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDeviceShaderConstantDataFeaturesKHR

## New Enum Constants

- `VK_KHR_SHADER_CONSTANT_DATA_EXTENSION_NAME`

- `VK_KHR_SHADER_CONSTANT_DATA_SPEC_VERSION`

- Extending VkStructureType:

  - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CONSTANT_DATA_FEATURES_KHR

## New SPIR-V Capabilities

- ConstantDataKHR

## Version History

- Revision 1, 2024-10-30 (Tobias Hector)

  - Initial revision

## See Also

No cross-references are available

## Document Notes

For more information, see the Vulkan Specification.

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0