Class KHRSpirv14

java.lang.Object
org.lwjgl.vulkan.KHRSpirv14

public final class KHRSpirv14 extends Object
This extension allows the use of SPIR-V 1.4 shader modules. SPIR-V 1.4’s new features primarily make it an easier target for compilers from high-level languages, rather than exposing new hardware functionality.

SPIR-V 1.4 incorporates features that are also available separately as extensions. SPIR-V 1.4 shader modules do not need to enable those extensions with the OpExtension opcode, since they are integral parts of SPIR-V 1.4.

SPIR-V 1.4 introduces new floating-point execution mode capabilities, also available via SPV_KHR_float_controls. Implementations are not required to support all of these new capabilities; support can be queried using VkPhysicalDeviceFloatControlsPropertiesKHR from the VK_KHR_shader_float_controls extension.

Promotion to Vulkan 1.2

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

Name String
VK_KHR_spirv_1_4
Extension Type
Device extension
Registered Extension Number
237
Revision
1
Extension and Version Dependencies
Version 1.1 and VK_KHR_shader_float_controls
Deprecation State
Contact
Other Extension Metadata
Last Modified Date
2019-04-01
IP Status
No known IP claims.
Interactions and External Dependencies
  • Requires SPIR-V 1.4.
Contributors
  • Alexander Galazin, Arm
  • David Neto, Google
  • Jesse Hall, Google
  • John Kessenich, Google
  • Neil Henning, AMD
  • Tom Olson, Arm
  • Field Details

    • VK_KHR_SPIRV_1_4_SPEC_VERSION

      public static final int VK_KHR_SPIRV_1_4_SPEC_VERSION
      The extension specification version.
      See Also:
    • VK_KHR_SPIRV_1_4_EXTENSION_NAME

      public static final String VK_KHR_SPIRV_1_4_EXTENSION_NAME
      The extension name.
      See Also: