Package org.lwjgl.vulkan
Class EXTShaderDemoteToHelperInvocation
- java.lang.Object
-
- org.lwjgl.vulkan.EXTShaderDemoteToHelperInvocation
-
public final class EXTShaderDemoteToHelperInvocation extends java.lang.ObjectThis extension adds Vulkan support for theSPV_EXT_demote_to_helper_invocationSPIR-V extension. That SPIR-V extension provides a new instructionOpDemoteToHelperInvocationEXTallowing shaders to “demote” a fragment shader invocation to behave like a helper invocation for its duration. The demoted invocation will have no further side effects and will not output to the framebuffer, but remains active and can participate in computing derivatives and in group operations. This is a better match for the “discard” instruction in HLSL.Promotion to Vulkan 1.3
Functionality in this extension is included in core Vulkan 1.3, with the EXT suffix omitted. The original type, enum and command names are still available as aliases of the core functionality.
VK_EXT_shader_demote_to_helper_invocation
- Name String
VK_EXT_shader_demote_to_helper_invocation- Extension Type
- Device extension
- Registered Extension Number
- 277
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
- Deprecation state
- Promoted to Vulkan 1.3
- Contact
- Jeff Bolz jeffbolznv
Other Extension Metadata
- Last Modified Date
- 2019-06-01
- Interactions and External Dependencies
- Promoted to Vulkan 1.3 Core
- IP Status
- No known IP claims.
- Interactions and External Dependencies
- This extension requires
SPV_EXT_demote_to_helper_invocation - This extension provides API support for
GL_EXT_demote_to_helper_invocation
- This extension requires
- Contributors
- Jeff Bolz, NVIDIA
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringVK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAMEThe extension name.static intVK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_SPEC_VERSIONThe extension specification version.static intVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXTExtendsVkStructureType.
-
-
-
Field Detail
-
VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_SPEC_VERSION
public static final int VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_SPEC_VERSION
The extension specification version.- See Also:
- Constant Field Values
-
VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME
public static final java.lang.String VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME
The extension name.- See Also:
- Constant Field Values
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT
ExtendsVkStructureType.- See Also:
- Constant Field Values
-
-