Modulevulkan-3.27GHC2021
Vulkan.Core10.Enums.SubpassDescriptionFlagBits
- 2 types
- Packagevulkan-3.27
- Exports11
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceSubpassDescriptionFlagBits.hs
VkSubpassDescriptionFlagBits - Bitmask specifying usage of a subpass
Description
SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX specifies that shaders compiled for this subpass write the attributes for all views in a single invocation of each pre-rasterization shader stage. All pipelines compiled against a subpass that includes this bit must write per-view attributes to the
*PerViewNV[]shader outputs, in addition to the non-per-view (e.g.Position) outputs.
SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX specifies that shaders compiled for this subpass use per-view positions which only differ in value in the x component. Per-view viewport mask can also be used.
SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_EXT specifies that the framebuffer region is the fragment region, that is, the minimum region dependencies are by pixel rather than by sample, such that any fragment shader invocation can access any sample associated with that fragment shader invocation.
SUBPASS_DESCRIPTION_CUSTOM_RESOLVE_BIT_EXT specifies that the subpass performs shader resolve operations.
SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_EXT specifies that this subpass supports pipelines created with PIPELINE_COLOR_BLEND_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_BIT_EXT.
SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT specifies that this subpass supports pipelines created with PIPELINE_DEPTH_STENCIL_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT.
SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT specifies that this subpass supports pipelines created with PIPELINE_DEPTH_STENCIL_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT.
SUBPASS_DESCRIPTION_ENABLE_LEGACY_DITHERING_BIT_EXT specifies that Legacy Dithering is enabled for this subpass.
SUBPASS_DESCRIPTION_TILE_SHADING_APRON_BIT_QCOM specifies that apron regions can be read within this subpass when tile shading is enabled.
Shader resolve operations allow for custom resolve operations, but overdrawing pixels may have a performance and/or power cost. Furthermore, since the content of any depth stencil attachment or color attachment is undefined at the beginning of a shader resolve subpass, any depth testing, stencil testing, or blending operation which sources these undefined values also has undefined result value.
There is no equivalent to SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_COLOR_ACCESS_BIT_EXT, SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXT, or SUBPASS_DESCRIPTION_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXT for render pass instances begun with cmdBeginRendering. For such render passes, only the corresponding pipeline flags are specified.
See Also
Constructors
Instances8Eq, Ord, Read, Show, Bits, FiniteBits, …
Eq SubpassDescriptionFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.SubpassDescriptionFlagBitsOrd SubpassDescriptionFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.SubpassDescriptionFlagBitsRead SubpassDescriptionFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.SubpassDescriptionFlagBitsShow SubpassDescriptionFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.SubpassDescriptionFlagBitsBits SubpassDescriptionFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.SubpassDescriptionFlagBitsFiniteBits SubpassDescriptionFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.SubpassDescriptionFlagBitsStorable SubpassDescriptionFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.SubpassDescriptionFlagBitsZero SubpassDescriptionFlagBitsDefined in vulkan-3.27 · Vulkan.Core10.Enums.SubpassDescriptionFlagBits