vulkan-3.8.1: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Extensions.VK_EXT_shader_demote_to_helper_invocation

Description

Name

VK_EXT_shader_demote_to_helper_invocation - device extension

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
Contact

Other Extension Metadata

Last Modified Date
2019-06-01
IP Status
No known IP claims.
Interactions and External Dependencies
Contributors
  • Jeff Bolz, NVIDIA

Description

This extension adds Vulkan support for the SPV_EXT_demote_to_helper_invocation SPIR-V extension. That SPIR-V extension provides a new instruction OpDemoteToHelperInvocationEXT allowing 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.

New Structures

New Enum Constants

New SPIR-V Capability

Version History

  • Revision 1, 2019-06-01 (Jeff Bolz)

    • Initial draft

See Also

PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT

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.

Synopsis

Documentation

data PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT Source #

VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT - Structure describing the shader demote to helper invocations features that can be supported by an implementation

Members

The members of the PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT structure describe the following features:

Description

If the PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT structure is included in the pNext chain of PhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT can also be included in the pNext chain of DeviceCreateInfo to enable the feature.

Valid Usage (Implicit)

See Also

Bool32, StructureType

Constructors

PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT 

Fields

Instances

Instances details
Eq PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_demote_to_helper_invocation

Show PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_demote_to_helper_invocation

Storable PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_demote_to_helper_invocation

FromCStruct PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_demote_to_helper_invocation

ToCStruct PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_demote_to_helper_invocation

Zero PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_shader_demote_to_helper_invocation

type EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME = "VK_EXT_shader_demote_to_helper_invocation" Source #