Modulevulkan-3.27GHC2021
Vulkan.Core11.Enums.PeerMemoryFeatureFlagBits
- 2 types
- Packagevulkan-3.27
- Exports6
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourcePeerMemoryFeatureFlagBits.hs
VkPeerMemoryFeatureFlagBits - Bitmask specifying supported peer memory features
Description
PEER_MEMORY_FEATURE_COPY_SRC_BIT specifies that the memory can be accessed as the source of any
vkCmdCopy*command.
PEER_MEMORY_FEATURE_COPY_DST_BIT specifies that the memory can be accessed as the destination of any
vkCmdCopy*command.PEER_MEMORY_FEATURE_GENERIC_SRC_BIT specifies that the memory can be read as any memory access type.
PEER_MEMORY_FEATURE_GENERIC_DST_BIT specifies that the memory can be written as any memory access type. Shader atomics are considered to be writes.
The peer memory features of a memory heap also apply to any accesses that may be performed during image layout transitions.
PEER_MEMORY_FEATURE_COPY_DST_BIT must be supported for all host local heaps and for at least one device-local memory heap.
If a device does not support a peer memory feature, it is still valid to use a resource that includes both local and peer memory bindings with the corresponding access type as long as only the local bindings are actually accessed. For example, an application doing split-frame rendering would use framebuffer attachments that include both local and peer memory bindings, but would scissor the rendering to only update local memory.
See Also
Constructors
Instances8Eq, Ord, Read, Show, Bits, FiniteBits, …
Eq PeerMemoryFeatureFlagBitsDefined in vulkan-3.27 · Vulkan.Core11.Enums.PeerMemoryFeatureFlagBitsOrd PeerMemoryFeatureFlagBitsDefined in vulkan-3.27 · Vulkan.Core11.Enums.PeerMemoryFeatureFlagBitsRead PeerMemoryFeatureFlagBitsDefined in vulkan-3.27 · Vulkan.Core11.Enums.PeerMemoryFeatureFlagBitsShow PeerMemoryFeatureFlagBitsDefined in vulkan-3.27 · Vulkan.Core11.Enums.PeerMemoryFeatureFlagBitsBits PeerMemoryFeatureFlagBitsDefined in vulkan-3.27 · Vulkan.Core11.Enums.PeerMemoryFeatureFlagBitsFiniteBits PeerMemoryFeatureFlagBitsDefined in vulkan-3.27 · Vulkan.Core11.Enums.PeerMemoryFeatureFlagBitsStorable PeerMemoryFeatureFlagBitsDefined in vulkan-3.27 · Vulkan.Core11.Enums.PeerMemoryFeatureFlagBitsZero PeerMemoryFeatureFlagBitsDefined in vulkan-3.27 · Vulkan.Core11.Enums.PeerMemoryFeatureFlagBits