vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Extensions.VK_KHR_maintenance5

Description

Name

VK_KHR_maintenance5 - device extension

VK_KHR_maintenance5

Name String
VK_KHR_maintenance5
Extension Type
Device extension
Registered Extension Number
471
Revision
1
Ratification Status
Ratified
Extension and Version Dependencies
Version 1.1 and VK_KHR_dynamic_rendering
Contact
Extension Proposal
VK_KHR_maintenance5

Other Extension Metadata

Last Modified Date
2023-05-02
Interactions and External Dependencies; Contributors
  • Stu Smith, AMD
  • Tobias Hector, AMD
  • Shahbaz Youssefi, Google
  • Slawomir Cygan, Intel
  • Lionel Landwerlin, Intel
  • James Fitzpatrick, Imagination Technologies
  • Andrew Garrard, Imagination Technologies
  • Ralph Potter, Samsung
  • Pan Gao, Huawei
  • Jan-Harald Fredriksen, ARM
  • Jon Leech, Khronos
  • Mike Blumenkrantz, Valve

Description

VK_KHR_maintenance5 adds a collection of minor features, none of which would warrant an entire extension of their own.

The new features are as follows:

New Commands

New Structures

New Enums

New Bitmasks

New Enum Constants

If VK_EXT_attachment_feedback_loop_layout is supported:

If VK_EXT_conditional_rendering is supported:

If VK_EXT_descriptor_buffer is supported:

If VK_EXT_graphics_pipeline_library is supported:

If VK_EXT_opacity_micromap is supported:

If VK_EXT_pipeline_protected_access is supported:

If VK_EXT_transform_feedback is supported:

If VK_KHR_acceleration_structure is supported:

If VK_KHR_dynamic_rendering and VK_EXT_fragment_density_map is supported:

If VK_KHR_dynamic_rendering and VK_KHR_fragment_shading_rate is supported:

If VK_KHR_pipeline_executable_properties is supported:

If VK_KHR_pipeline_library is supported:

If VK_KHR_ray_tracing_pipeline is supported:

If VK_KHR_video_decode_queue is supported:

If VK_KHR_video_encode_queue is supported:

If VK_NV_device_generated_commands is supported:

If VK_NV_displacement_micromap is supported:

If VK_NV_ray_tracing is supported:

If VK_NV_ray_tracing_motion_blur is supported:

If Version 1.1 or VK_KHR_device_group is supported:

If Version 1.2 or VK_KHR_buffer_device_address or VK_EXT_buffer_device_address is supported:

If Version 1.3 or VK_EXT_pipeline_creation_cache_control is supported:

Issues

None.

Version History

  • Revision 1, 2022-12-12 (Stu Smith)

    • Initial revision

See Also

DeviceImageSubresourceInfoKHR, ImageSubresource2KHR, PhysicalDeviceMaintenance5FeaturesKHR, PhysicalDeviceMaintenance5PropertiesKHR, RenderingAreaInfoKHR, SubresourceLayout2KHR, cmdBindIndexBuffer2KHR, getDeviceImageSubresourceLayoutKHR, getImageSubresourceLayout2KHR, getRenderingAreaGranularityKHR

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

getRenderingAreaGranularityKHR Source #

Arguments

:: forall io. MonadIO io 
=> Device

device is the logical device that owns the render pass instance.

-> RenderingAreaInfoKHR

pRenderingAreaInfo is a pointer to a RenderingAreaInfoKHR structure specifying details of the render pass instance to query the render area granularity for.

-> io ("granularity" ::: Extent2D) 

vkGetRenderingAreaGranularityKHR - Returns the granularity for dynamic rendering optimal render area

Description

The conditions leading to an optimal renderArea are:

  • the offset.x member in renderArea is a multiple of the width member of the returned Extent2D (the horizontal granularity).
  • the offset.y member in renderArea is a multiple of the height member of the returned Extent2D (the vertical granularity).
  • either the extent.width member in renderArea is a multiple of the horizontal granularity or offset.x+extent.width is equal to the width of the framebuffer in the RenderPassBeginInfo.
  • either the extent.height member in renderArea is a multiple of the vertical granularity or offset.y+extent.height is equal to the height of the framebuffer in the RenderPassBeginInfo.

Valid Usage (Implicit)

  • device must be a valid Device handle
  • pRenderingAreaInfo must be a valid pointer to a valid RenderingAreaInfoKHR structure
  • pGranularity must be a valid pointer to a Extent2D structure

See Also

VK_KHR_maintenance5, Device, Extent2D, RenderingAreaInfoKHR

cmdBindIndexBuffer2KHR Source #

Arguments

:: forall io. MonadIO io 
=> CommandBuffer

commandBuffer is the command buffer into which the command is recorded.

-> Buffer

buffer is the buffer being bound.

-> ("offset" ::: DeviceSize)

offset is the starting offset in bytes within buffer used in index buffer address calculations.

-> DeviceSize

size is the size in bytes of index data bound from buffer.

-> IndexType

indexType is a IndexType value specifying the size of the indices.

-> io () 

vkCmdBindIndexBuffer2KHR - Bind an index buffer to a command buffer

Description

size specifies the bound size of the index buffer starting from offset. If size is WHOLE_SIZE then the bound size is from offset to the end of the buffer.

Valid Usage

  • offset must be less than the size of buffer
  • The sum of offset and the base address of the range of DeviceMemory object that is backing buffer, must be a multiple of the size of the type indicated by indexType
  • buffer must have been created with the BUFFER_USAGE_INDEX_BUFFER_BIT flag
  • If buffer is non-sparse then it must be bound completely and contiguously to a single DeviceMemory object
  • indexType must not be INDEX_TYPE_NONE_KHR
  • If indexType is INDEX_TYPE_UINT8_EXT, the indexTypeUint8 feature must be enabled
  • If size is not WHOLE_SIZE, size must be a multiple of the size of the type indicated by indexType
  • If size is not WHOLE_SIZE, the sum of offset and size must be less than or equal to the size of buffer

Valid Usage (Implicit)

  • buffer must be a valid Buffer handle
  • indexType must be a valid IndexType value
  • commandBuffer must be in the recording state
  • The CommandPool that commandBuffer was allocated from must support graphics operations
  • This command must only be called outside of a video coding scope
  • Both of buffer, and commandBuffer must have been created, allocated, or retrieved from the same Device

Host Synchronization

  • Host access to commandBuffer must be externally synchronized
  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Command Properties

'

Command Buffer LevelsRender Pass ScopeVideo Coding ScopeSupported Queue TypesCommand Type
Primary SecondaryBoth Outside Graphics State

See Also

VK_KHR_maintenance5, Buffer, CommandBuffer, DeviceSize, IndexType

getImageSubresourceLayout2KHR Source #

Arguments

:: forall a io. (Extendss SubresourceLayout2KHR a, PokeChain a, PeekChain a, MonadIO io) 
=> Device

device is the logical device that owns the image.

-> Image

image is the image whose layout is being queried.

-> ImageSubresource2KHR

pSubresource is a pointer to a ImageSubresource2KHR structure selecting a specific image for the image subresource.

-> io (SubresourceLayout2KHR a) 

vkGetImageSubresourceLayout2KHR - Retrieve information about an image subresource

Description

getImageSubresourceLayout2KHR behaves similarly to getImageSubresourceLayout, with the ability to specify extended inputs via chained input structures, and to return extended information via chained output structures.

It is legal to call getImageSubresourceLayout2KHR with a image created with tiling equal to IMAGE_TILING_OPTIMAL, but the members of SubresourceLayout2KHR::subresourceLayout will have undefined values in this case.

Note

Structures chained from ImageSubresource2KHR::pNext will also be updated when tiling is equal to IMAGE_TILING_OPTIMAL.

Valid Usage

  • The aspectMask member of pSubresource must only have a single bit set

Valid Usage (Implicit)

  • device must be a valid Device handle
  • image must be a valid Image handle
  • pSubresource must be a valid pointer to a valid ImageSubresource2KHR structure
  • pLayout must be a valid pointer to a SubresourceLayout2KHR structure
  • image must have been created, allocated, or retrieved from device

See Also

VK_KHR_maintenance5, Device, Image, ImageSubresource2KHR, SubresourceLayout2KHR

getDeviceImageSubresourceLayoutKHR Source #

Arguments

:: forall a io. (Extendss SubresourceLayout2KHR a, PokeChain a, PeekChain a, MonadIO io) 
=> Device

device is the logical device that owns the image.

device must be a valid Device handle

-> DeviceImageSubresourceInfoKHR

pInfo is a pointer to a DeviceImageSubresourceInfoKHR structure containing parameters required for the subresource layout query.

pInfo must be a valid pointer to a valid DeviceImageSubresourceInfoKHR structure

-> io (SubresourceLayout2KHR a) 

vkGetDeviceImageSubresourceLayoutKHR - Retrieve information about an image subresource without an image object

Description

getDeviceImageSubresourceLayoutKHR behaves similarly to getImageSubresourceLayout2KHR, but uses a ImageCreateInfo structure to specify the image rather than a Image object.

Valid Usage (Implicit)

See Also

VK_KHR_maintenance5, Device, DeviceImageSubresourceInfoKHR, SubresourceLayout2KHR

data BufferUsageFlags2CreateInfoKHR Source #

VkBufferUsageFlags2CreateInfoKHR - Extended buffer usage flags

Description

If this structure is included in the pNext chain of a buffer creation structure, usage is used instead of the corresponding usage value passed in that creation structure, allowing additional usage flags to be specified. If this structure is included in the pNext chain of a buffer query structure, the usage flags of the buffer are returned in usage of this structure, and the usage flags representable in usage of the buffer query structure are also returned in that field.

Valid Usage (Implicit)

See Also

VK_KHR_maintenance5, BufferUsageFlags2KHR, StructureType

Constructors

BufferUsageFlags2CreateInfoKHR 

Fields

Instances

Instances details
Storable BufferUsageFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Show BufferUsageFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Eq BufferUsageFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

FromCStruct BufferUsageFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

ToCStruct BufferUsageFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Zero BufferUsageFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

data PipelineCreateFlags2CreateInfoKHR Source #

VkPipelineCreateFlags2CreateInfoKHR - Extended pipeline create flags

Description

If this structure is included in the pNext chain of a pipeline creation structure, flags is used instead of the corresponding flags value passed in that creation structure, allowing additional creation flags to be specified.

Valid Usage (Implicit)

See Also

VK_KHR_maintenance5, PipelineCreateFlags2KHR, StructureType

Constructors

PipelineCreateFlags2CreateInfoKHR 

Fields

Instances

Instances details
Storable PipelineCreateFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Show PipelineCreateFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Eq PipelineCreateFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

FromCStruct PipelineCreateFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

ToCStruct PipelineCreateFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Zero PipelineCreateFlags2CreateInfoKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

data PhysicalDeviceMaintenance5FeaturesKHR Source #

VkPhysicalDeviceMaintenance5FeaturesKHR - Structure describing whether the implementation supports maintenance5 functionality

Members

This structure describes the following feature:

Description

If the PhysicalDeviceMaintenance5FeaturesKHR structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. PhysicalDeviceMaintenance5FeaturesKHR can also be used in the pNext chain of DeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

See Also

VK_KHR_maintenance5, Bool32, StructureType

Constructors

PhysicalDeviceMaintenance5FeaturesKHR 

Fields

Instances

Instances details
Storable PhysicalDeviceMaintenance5FeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Show PhysicalDeviceMaintenance5FeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Eq PhysicalDeviceMaintenance5FeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

FromCStruct PhysicalDeviceMaintenance5FeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

ToCStruct PhysicalDeviceMaintenance5FeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Zero PhysicalDeviceMaintenance5FeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

data PhysicalDeviceMaintenance5PropertiesKHR Source #

VkPhysicalDeviceMaintenance5PropertiesKHR - Structure describing various implementation-defined properties introduced with VK_KHR_maintenance5

Description

If the PhysicalDeviceMaintenance5PropertiesKHR structure is included in the pNext chain of the PhysicalDeviceProperties2 structure passed to getPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)

See Also

VK_KHR_maintenance5, Bool32, StructureType

Constructors

PhysicalDeviceMaintenance5PropertiesKHR 

Fields

Instances

Instances details
Storable PhysicalDeviceMaintenance5PropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Show PhysicalDeviceMaintenance5PropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Eq PhysicalDeviceMaintenance5PropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

FromCStruct PhysicalDeviceMaintenance5PropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

ToCStruct PhysicalDeviceMaintenance5PropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Zero PhysicalDeviceMaintenance5PropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

data RenderingAreaInfoKHR Source #

VkRenderingAreaInfoKHR - Structure describing rendering area granularity query info

Valid Usage (Implicit)

See Also

VK_KHR_maintenance5, Format, StructureType, getRenderingAreaGranularityKHR

Constructors

RenderingAreaInfoKHR 

Fields

data ImageSubresource2KHR Source #

Constructors

ImageSubresource2KHR 

Fields

Instances

Instances details
Storable ImageSubresource2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Show ImageSubresource2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

FromCStruct ImageSubresource2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

ToCStruct ImageSubresource2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Zero ImageSubresource2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

data SubresourceLayout2KHR (es :: [Type]) Source #

VkSubresourceLayout2KHR - Structure specifying subresource layout

Valid Usage (Implicit)

See Also

VK_EXT_host_image_copy, VK_EXT_image_compression_control, VK_KHR_maintenance5, StructureType, SubresourceLayout, getDeviceImageSubresourceLayoutKHR, getImageSubresourceLayout2EXT, getImageSubresourceLayout2KHR

Constructors

SubresourceLayout2KHR 

Fields

Instances

Instances details
Extensible SubresourceLayout2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Methods

extensibleTypeName :: String Source #

getNext :: forall (es :: [Type]). SubresourceLayout2KHR es -> Chain es Source #

setNext :: forall (ds :: [Type]) (es :: [TYPE LiftedRep]). SubresourceLayout2KHR ds -> Chain es -> SubresourceLayout2KHR es Source #

extends :: forall e b proxy. Typeable e => proxy e -> (Extends SubresourceLayout2KHR e => b) -> Maybe b Source #

Show (Chain es) => Show (SubresourceLayout2KHR es) Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

(Extendss SubresourceLayout2KHR es, PeekChain es) => FromCStruct (SubresourceLayout2KHR es) Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

(Extendss SubresourceLayout2KHR es, PokeChain es) => ToCStruct (SubresourceLayout2KHR es) Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

es ~ ('[] :: [Type]) => Zero (SubresourceLayout2KHR es) Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

data DeviceImageSubresourceInfoKHR Source #

VkDeviceImageSubresourceInfoKHR - Image creation information for querying subresource layout

Valid Usage

  • The aspectMask member of pSubresource must only have a single bit set

Valid Usage (Implicit)

See Also

VK_KHR_maintenance5, ImageCreateInfo, ImageSubresource2KHR, StructureType, getDeviceImageSubresourceLayoutKHR

Constructors

DeviceImageSubresourceInfoKHR 

Fields

newtype PipelineCreateFlagBits2KHR Source #

VkPipelineCreateFlagBits2KHR - Bitmask controlling how a pipeline is created

Description

It is valid to set both PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT_KHR and PIPELINE_CREATE_2_DERIVATIVE_BIT_KHR. This allows a pipeline to be both a parent and possibly a child in a pipeline hierarchy. See Pipeline Derivatives for more information.

When an implementation is looking up a pipeline in a pipeline cache, if that pipeline is being created using linked libraries, implementations should always return an equivalent pipeline created with PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_EXT if available, whether or not that bit was specified.

Note

Using PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_EXT (or not) when linking pipeline libraries is intended as a performance tradeoff between host and device. If the bit is omitted, linking should be faster and produce a pipeline more rapidly, but performance of the pipeline on the target device may be reduced. If the bit is included, linking may be slower but should produce a pipeline with device performance comparable to a monolithically created pipeline. Using both options can allow latency-sensitive applications to generate a suboptimal but usable pipeline quickly, and then perform an optimal link in the background, substituting the result for the suboptimally linked pipeline as soon as it is available.

See Also

VK_KHR_maintenance5

Bundled Patterns

pattern PIPELINE_CREATE_2_DISABLE_OPTIMIZATION_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_ALLOW_DERIVATIVES_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_DERIVATIVE_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_DESCRIPTOR_BUFFER_BIT_EXT :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RAY_TRACING_DISPLACEMENT_MICROMAP_BIT_NV :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT_EXT :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_NO_PROTECTED_ACCESS_BIT_EXT :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_DEPTH_STENCIL_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_COLOR_ATTACHMENT_FEEDBACK_LOOP_BIT_EXT :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RAY_TRACING_OPACITY_MICROMAP_BIT_EXT :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_BIT_EXT :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RAY_TRACING_ALLOW_MOTION_BIT_NV :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_INDIRECT_BINDABLE_BIT_NV :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RAY_TRACING_SKIP_AABBS_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_LIBRARY_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_RETAIN_LINK_TIME_OPTIMIZATION_INFO_BIT_EXT :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_LINK_TIME_OPTIMIZATION_BIT_EXT :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_EARLY_RETURN_ON_FAILURE_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_CAPTURE_STATISTICS_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_DEFER_COMPILE_BIT_NV :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_DISPATCH_BASE_BIT_KHR :: PipelineCreateFlagBits2KHR 
pattern PIPELINE_CREATE_2_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR :: PipelineCreateFlagBits2KHR 

Instances

Instances details
Storable PipelineCreateFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Bits PipelineCreateFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Methods

(.&.) :: PipelineCreateFlagBits2KHR -> PipelineCreateFlagBits2KHR -> PipelineCreateFlagBits2KHR #

(.|.) :: PipelineCreateFlagBits2KHR -> PipelineCreateFlagBits2KHR -> PipelineCreateFlagBits2KHR #

xor :: PipelineCreateFlagBits2KHR -> PipelineCreateFlagBits2KHR -> PipelineCreateFlagBits2KHR #

complement :: PipelineCreateFlagBits2KHR -> PipelineCreateFlagBits2KHR #

shift :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

rotate :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

zeroBits :: PipelineCreateFlagBits2KHR #

bit :: Int -> PipelineCreateFlagBits2KHR #

setBit :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

clearBit :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

complementBit :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

testBit :: PipelineCreateFlagBits2KHR -> Int -> Bool #

bitSizeMaybe :: PipelineCreateFlagBits2KHR -> Maybe Int #

bitSize :: PipelineCreateFlagBits2KHR -> Int #

isSigned :: PipelineCreateFlagBits2KHR -> Bool #

shiftL :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

unsafeShiftL :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

shiftR :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

unsafeShiftR :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

rotateL :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

rotateR :: PipelineCreateFlagBits2KHR -> Int -> PipelineCreateFlagBits2KHR #

popCount :: PipelineCreateFlagBits2KHR -> Int #

FiniteBits PipelineCreateFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Read PipelineCreateFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Show PipelineCreateFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Eq PipelineCreateFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Ord PipelineCreateFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

Zero PipelineCreateFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_maintenance5

pattern KHR_MAINTENANCE_5_SPEC_VERSION :: forall a. Integral a => a Source #

type KHR_MAINTENANCE_5_EXTENSION_NAME = "VK_KHR_maintenance5" Source #

pattern KHR_MAINTENANCE_5_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #

newtype BufferUsageFlagBits2KHR Source #

VkBufferUsageFlagBits2KHR - Bitmask controlling how a pipeline is created

See Also

VK_KHR_maintenance5

Bundled Patterns

pattern BUFFER_USAGE_2_TRANSFER_SRC_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_TRANSFER_SRC_BIT_KHR specifies that the buffer can be used as the source of a transfer command (see the definition of https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#synchronization-pipeline-stages-transfer).

pattern BUFFER_USAGE_2_TRANSFER_DST_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_TRANSFER_DST_BIT_KHR specifies that the buffer can be used as the destination of a transfer command.

pattern BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR specifies that the buffer can be used to create a BufferView suitable for occupying a DescriptorSet slot of type DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER.

pattern BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT_KHR specifies that the buffer can be used to create a BufferView suitable for occupying a DescriptorSet slot of type DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER.

pattern BUFFER_USAGE_2_UNIFORM_BUFFER_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_UNIFORM_BUFFER_BIT_KHR specifies that the buffer can be used in a DescriptorBufferInfo suitable for occupying a DescriptorSet slot either of type DESCRIPTOR_TYPE_UNIFORM_BUFFER or DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC.

pattern BUFFER_USAGE_2_STORAGE_BUFFER_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_STORAGE_BUFFER_BIT_KHR specifies that the buffer can be used in a DescriptorBufferInfo suitable for occupying a DescriptorSet slot either of type DESCRIPTOR_TYPE_STORAGE_BUFFER or DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC.

pattern BUFFER_USAGE_2_INDEX_BUFFER_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_INDEX_BUFFER_BIT_KHR specifies that the buffer is suitable for passing as the buffer parameter to cmdBindIndexBuffer2KHR and cmdBindIndexBuffer.

pattern BUFFER_USAGE_2_VERTEX_BUFFER_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_VERTEX_BUFFER_BIT_KHR specifies that the buffer is suitable for passing as an element of the pBuffers array to cmdBindVertexBuffers.

pattern BUFFER_USAGE_2_INDIRECT_BUFFER_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_INDIRECT_BUFFER_BIT_KHR specifies that the buffer is suitable for passing as the buffer parameter to cmdDrawIndirect, cmdDrawIndexedIndirect, cmdDrawMeshTasksIndirectNV, cmdDrawMeshTasksIndirectCountNV, cmdDrawMeshTasksIndirectEXT, cmdDrawMeshTasksIndirectCountEXT, cmdDrawClusterIndirectHUAWEI, or cmdDispatchIndirect. It is also suitable for passing as the buffer member of IndirectCommandsStreamNV, or sequencesCountBuffer or sequencesIndexBuffer or preprocessedBuffer member of GeneratedCommandsInfoNV

pattern BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT :: BufferUsageFlagBits2KHR 
pattern BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT :: BufferUsageFlagBits2KHR 
pattern BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT specifies that the buffer, when bound, can be used by the implementation to support push descriptors when using descriptor buffers.

pattern BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT specifies that the buffer is suitable to contain resource descriptors when bound as a descriptor buffer.

pattern BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT specifies that the buffer is suitable to contain sampler and combined image sampler descriptors when bound as a descriptor buffer. Buffers containing combined image sampler descriptors must also specify BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT.

pattern BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR specifies that the buffer is suitable for storage space for a AccelerationStructureKHR.

pattern BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR specifies that the buffer is suitable for use as a read-only input to an acceleration structure build.

pattern BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR specifies that the buffer can be used to retrieve a buffer device address via getBufferDeviceAddress and use that address to access the buffer’s memory from a shader.

pattern BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR is reserved for future use.

pattern BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR specifies that the buffer can be used as the destination video bitstream buffer in a video encode operation.

pattern BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR is reserved for future use.

pattern BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR specifies that the buffer can be used as the source video bitstream buffer in a video decode operation.

pattern BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT specifies that the buffer is suitable for using as a counter buffer with cmdBeginTransformFeedbackEXT and cmdEndTransformFeedbackEXT.

pattern BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT specifies that the buffer is suitable for using for binding as a transform feedback buffer with cmdBindTransformFeedbackBuffersEXT.

pattern BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR specifies that the buffer is suitable for use as a Shader Binding Table.

pattern BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_EXT :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_EXT specifies that the buffer is suitable for passing as the buffer parameter to cmdBeginConditionalRenderingEXT.

pattern BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX :: BufferUsageFlagBits2KHR

BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX specifies that the buffer can be used for as scratch memory for execution graph dispatch.

Instances

Instances details
Storable BufferUsageFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_AMDX_shader_enqueue

Bits BufferUsageFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_AMDX_shader_enqueue

FiniteBits BufferUsageFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_AMDX_shader_enqueue

Read BufferUsageFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_AMDX_shader_enqueue

Show BufferUsageFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_AMDX_shader_enqueue

Eq BufferUsageFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_AMDX_shader_enqueue

Ord BufferUsageFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_AMDX_shader_enqueue

Zero BufferUsageFlagBits2KHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_AMDX_shader_enqueue