Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Name
VK_EXT_memory_priority - device extension
VK_EXT_memory_priority
- Name String
VK_EXT_memory_priority
- Extension Type
- Device extension
- Registered Extension Number
- 239
- Revision
- 1
- Extension and Version Dependencies
- Requires support for Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
to be enabled for any device-level functionality
- Contact
Other Extension Metadata
- Last Modified Date
- 2018-10-08
- Contributors
- Jeff Bolz, NVIDIA
- Jeff Juliano, NVIDIA
Description
This extension adds a priority
value specified at memory allocation
time. On some systems with both device-local and non-device-local memory
heaps, the implementation may transparently move memory from one heap to
another when a heap becomes full (for example, when the total memory
used across all processes exceeds the size of the heap). In such a case,
this priority value may be used to determine which allocations are more
likely to remain in device-local memory.
New Structures
New Enum Constants
Version History
Revision 1, 2018-10-08 (Jeff Bolz)
- Initial revision
See Also
MemoryPriorityAllocateInfoEXT
,
PhysicalDeviceMemoryPriorityFeaturesEXT
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
- data PhysicalDeviceMemoryPriorityFeaturesEXT = PhysicalDeviceMemoryPriorityFeaturesEXT {}
- data MemoryPriorityAllocateInfoEXT = MemoryPriorityAllocateInfoEXT {}
- type EXT_MEMORY_PRIORITY_SPEC_VERSION = 1
- pattern EXT_MEMORY_PRIORITY_SPEC_VERSION :: forall a. Integral a => a
- type EXT_MEMORY_PRIORITY_EXTENSION_NAME = "VK_EXT_memory_priority"
- pattern EXT_MEMORY_PRIORITY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceMemoryPriorityFeaturesEXT Source #
VkPhysicalDeviceMemoryPriorityFeaturesEXT - Structure describing memory priority features that can be supported by an implementation
Members
This structure describes the following feature:
Description
If the PhysicalDeviceMemoryPriorityFeaturesEXT
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. PhysicalDeviceMemoryPriorityFeaturesEXT
can also be used
in the pNext
chain of DeviceCreateInfo
to
selectively enable these features.
Valid Usage (Implicit)
See Also
PhysicalDeviceMemoryPriorityFeaturesEXT | |
|
Instances
data MemoryPriorityAllocateInfoEXT Source #
VkMemoryPriorityAllocateInfoEXT - Specify a memory allocation priority
Description
Memory allocations with higher priority may be more likely to stay in device-local memory when the system is under memory pressure.
If this structure is not included, it is as if the priority
value were
0.5
.
Valid Usage (Implicit)
See Also
Instances
type EXT_MEMORY_PRIORITY_SPEC_VERSION = 1 Source #
pattern EXT_MEMORY_PRIORITY_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_MEMORY_PRIORITY_EXTENSION_NAME = "VK_EXT_memory_priority" Source #
pattern EXT_MEMORY_PRIORITY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #