VK_KHR_shader_untyped_pointers(3)

Name

VK_KHR_shader_untyped_pointers - device extension

VK_KHR_shader_untyped_pointers

Name String

VK_KHR_shader_untyped_pointers

Extension Type

Device extension

Registered Extension Number

388

Revision

1

Ratification Status

Ratified

Extension and Version Dependencies
SPIR-V Dependencies
Contact
Extension Proposal

VK_KHR_shader_untyped_pointers

Last Modified Date

2024-03-26

IP Status

No known IP claims.

Interactions and External Dependencies
Contributors
  • Alan Baker, Google

  • Jan-Harald Fredriksen, Arm

  • Tom Olson, Arm

  • Spencer Fricke, LunarG

  • Shahbaz Youssefi, Google

  • Tobias Hector, AMD

This extension adds Vulkan support for the SPV_KHR_untyped_pointers SPIR-V extension. It provides an alternative to strongly-typed pointers. Untyped pointers allow shader authors to reinterpret data accessed through memory and atomic instructions versus the data type declared in the variable without extra conversion instructions. Untyped pointers also provide an efficient translation from templated load/store operations in high-level languages and simplify shaders that support operations, but not storage, on smaller data types (e.g. 16-bit floating-point types).

New Enum Constants

  • VK_KHR_SHADER_UNTYPED_POINTERS_EXTENSION_NAME

  • VK_KHR_SHADER_UNTYPED_POINTERS_SPEC_VERSION

  • Extending VkStructureType:

    • VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNTYPED_POINTERS_FEATURES_KHR

Version History

  • Revision 1, 2024-03-26 (Alan Baker)

    • Internal draft version

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.