HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_KHR_shader_constant_data

Name

VK_KHR_shader_constant_data - device extension

VK_KHR_shader_constant_data

Name String

VK_KHR_shader_constant_data

Extension Type

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

New Enum Constants

New SPIR-V Capabilities

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.

  • 3 types
  • Packagevulkan-3.27
  • Exports5
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_KHR_shader_constant_data.hs

VkPhysicalDeviceShaderConstantDataFeaturesKHR - Structure describing support for VK_KHR_shader_constant_data in an implementation

Members

This structure describes the following feature:

Description

If the PhysicalDeviceShaderConstantDataFeaturesKHR structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. If the application wishes to use a Device with any features described by PhysicalDeviceShaderConstantDataFeaturesKHR, it must add an instance of the structure, with the desired feature members set to TRUE, to the pNext chain of DeviceCreateInfo when creating the Device.

Structure Chaining

Extends the structures

See Also

VK_KHR_shader_constant_data, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero