Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV :: VkStructureType
- pattern VK_NV_DEDICATED_ALLOCATION_SPEC_VERSION :: Integral a => a
- pattern VK_NV_DEDICATED_ALLOCATION_EXTENSION_NAME :: (Eq a, IsString a) => a
- data VkDedicatedAllocationImageCreateInfoNV = VkDedicatedAllocationImageCreateInfoNV {}
- data VkDedicatedAllocationBufferCreateInfoNV = VkDedicatedAllocationBufferCreateInfoNV {}
- data VkDedicatedAllocationMemoryAllocateInfoNV = VkDedicatedAllocationMemoryAllocateInfoNV {}
Documentation
pattern VK_NV_DEDICATED_ALLOCATION_SPEC_VERSION :: Integral a => a Source #
pattern VK_NV_DEDICATED_ALLOCATION_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
data VkDedicatedAllocationImageCreateInfoNV Source #
VkDedicatedAllocationImageCreateInfoNV - Specify that an image is bound to a dedicated memory resource
Description
Note
Using a dedicated allocation for color and depth/stencil attachments or other large images may improve performance on some devices.
Valid Usage
- If
dedicatedAllocation
isVK_TRUE
,VkImageCreateInfo
::flags
must not includeVK_IMAGE_CREATE_SPARSE_BINDING_BIT
,VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT
, orVK_IMAGE_CREATE_SPARSE_ALIASED_BIT
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV
See Also
VkBool32
, VkStructureType
VkDedicatedAllocationImageCreateInfoNV | |
|
Instances
data VkDedicatedAllocationBufferCreateInfoNV Source #
VkDedicatedAllocationBufferCreateInfoNV - Specify that a buffer is bound to a dedicated memory resource
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV
See Also
VkBool32
, VkStructureType
VkDedicatedAllocationBufferCreateInfoNV | |
|
Instances
data VkDedicatedAllocationMemoryAllocateInfoNV Source #
VkDedicatedAllocationMemoryAllocateInfoNV - Specify a dedicated memory allocation resource
Valid Usage
- At least one of
image
andbuffer
must beVK_NULL_HANDLE
- If
image
is notVK_NULL_HANDLE
, the image must have been created withVkDedicatedAllocationImageCreateInfoNV
::dedicatedAllocation
equal toVK_TRUE
- If
buffer
is notVK_NULL_HANDLE
, the buffer must have been created withVkDedicatedAllocationBufferCreateInfoNV
::dedicatedAllocation
equal toVK_TRUE
- If
image
is notVK_NULL_HANDLE
,VkMemoryAllocateInfo
::allocationSize
must equal theVkMemoryRequirements
::size
of the image - If
buffer
is notVK_NULL_HANDLE
,VkMemoryAllocateInfo
::allocationSize
must equal theVkMemoryRequirements
::size
of the buffer - If
image
is notVK_NULL_HANDLE
andVkMemoryAllocateInfo
defines a memory import operation, the memory being imported must also be a dedicated image allocation andimage
must be identical to the image associated with the imported memory. - If
buffer
is notVK_NULL_HANDLE
andVkMemoryAllocateInfo
defines a memory import operation, the memory being imported must also be a dedicated buffer allocation andbuffer
must be identical to the buffer associated with the imported memory.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV
- If
image
is notVK_NULL_HANDLE
,image
must be a validVkImage
handle - If
buffer
is notVK_NULL_HANDLE
,buffer
must be a validVkBuffer
handle - Both of
buffer
, andimage
that are valid handles must have been created, allocated, or retrieved from the sameVkDevice
See Also
VkDedicatedAllocationMemoryAllocateInfoNV | |
|