VK_KHR_shader_atomic_int64

Other Extension Metadata

Last Modified Date

2018-07-05

Interactions and External Dependencies
Contributors
  • Aaron Hagan, AMD
  • Daniel Rakos, AMD
  • Jeff Bolz, NVIDIA
  • Neil Henning, Codeplay

Description

This extension advertises the SPIR-V Int64Atomics capability for Vulkan, which allows a shader to contain 64-bit atomic operations on signed and unsigned integers. The supported operations include OpAtomicMin, OpAtomicMax, OpAtomicAnd, OpAtomicOr, OpAtomicXor, OpAtomicAdd, OpAtomicExchange, and OpAtomicCompareExchange.

Promotion to Vulkan 1.2

All functionality in this extension is included in core Vulkan 1.2, with the KHR suffix omitted. However, if Vulkan 1.2 is supported and this extension is not, the shaderBufferInt64Atomics capability is optional. The original type, enum, and command names are still available as aliases of the core functionality.

New Structures

New Enum Constants

  • VK_KHR_SHADER_ATOMIC_INT64_EXTENSION_NAME
  • VK_KHR_SHADER_ATOMIC_INT64_SPEC_VERSION
  • Extending VkStructureType:
    • VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR

New SPIR-V Capabilities

Version History

  • Revision 1, 2018-07-05 (Aaron Hagan)
    • Internal revisions