VkPhysicalDeviceRobustness2PropertiesKHR(3)
Name
VkPhysicalDeviceRobustness2PropertiesKHR - Structure describing robust buffer access properties supported by an implementation
C Specification
The VkPhysicalDeviceRobustness2PropertiesKHR
structure is defined as:
// Provided by VK_KHR_robustness2
typedef struct VkPhysicalDeviceRobustness2PropertiesKHR {
VkStructureType sType;
void* pNext;
VkDeviceSize robustStorageBufferAccessSizeAlignment;
VkDeviceSize robustUniformBufferAccessSizeAlignment;
} VkPhysicalDeviceRobustness2PropertiesKHR;
or the equivalent
// Provided by VK_EXT_robustness2
typedef VkPhysicalDeviceRobustness2PropertiesKHR VkPhysicalDeviceRobustness2PropertiesEXT;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
robustStorageBufferAccessSizeAlignment
is the number of bytes that the range of a storage buffer descriptor is rounded up to when used for bounds-checking when therobustBufferAccess2
feature is enabled. This value must be either 1 or 4. -
robustUniformBufferAccessSizeAlignment
is the number of bytes that the range of a uniform buffer descriptor is rounded up to when used for bounds-checking when therobustBufferAccess2
feature is enabled. This value must be a power of two in the range [1, 256].
Description
If the VkPhysicalDeviceRobustness2PropertiesKHR
structure is included in the pNext
chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
See Also
VK_KHR_robustness2, VkDeviceSize
, VkStructureType
Document Notes
For more information, see the Vulkan Specification.
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.