Package org.lwjgl.vulkan
Class KHRShaderFloatControls2
java.lang.Object
org.lwjgl.vulkan.KHRShaderFloatControls2
This extension enables use of the more expressive fast floating-point math flags in the SPV_KHR_float_controls2 extension. These flags give finer- grained control over which optimizations compilers may apply, potentially speeding up execution while retaining correct results.
The extension also adds control over the fast-math modes to the GLSL extended instruction set, making these operations more consistent with SPIR-V and allowing their use in situations where floating-point conformance is important.
- Name String
VK_KHR_shader_float_controls2- Extension Type
- Device extension
- Registered Extension Number
- 529
- Revision
- 1
- Extension and Version Dependencies
- Version 1.1 and
VK_KHR_shader_float_controls - SPIR-V Dependencies
- Contact
- Graeme Leese gnl21
- Extension Proposal
- VK_KHR_shader_float_controls2
Other Extension Metadata
- Last Modified Date
- 2023-05-16
- Interactions and External Dependencies
- This extension requires
SPV_KHR_float_controls2.
- This extension requires
- Contributors
- Graeme Leese, Broadcom
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType. -
Method Summary
-
Field Details
-
VK_KHR_SHADER_FLOAT_CONTROLS_2_SPEC_VERSION
public static final int VK_KHR_SHADER_FLOAT_CONTROLS_2_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_SHADER_FLOAT_CONTROLS_2_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES_KHR
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES_KHRExtendsVkStructureType.- See Also:
-