Structures
VkPhysicalDeviceRobustness2PropertiesKHR
Structure describing robust buffer access properties supported by an implementation
The VkPhysicalDeviceRobustness2PropertiesKHR structure is defined as:
typedef struct VkPhysicalDeviceRobustness2PropertiesKHR {
VkStructureType sType;
void* pNext;
VkDeviceSize robustStorageBufferAccessSizeAlignment;
VkDeviceSize robustUniformBufferAccessSizeAlignment;
} VkPhysicalDeviceRobustness2PropertiesKHR;
pub struct PhysicalDeviceRobustness2PropertiesKHR {
s_type: vk::StructureType,
p_next: *mut c_void,
robust_storage_buffer_access_size_alignment: vk::DeviceSize,
robust_uniform_buffer_access_size_alignment: vk::DeviceSize,
}
typedef VkPhysicalDeviceRobustness2PropertiesKHR VkPhysicalDeviceRobustness2PropertiesEXT;
type PhysicalDeviceRobustness2PropertiesEXT = vk::PhysicalDeviceRobustness2PropertiesKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.robustStorageBufferAccessSizeAlignmentis the number of bytes that the range of a storage buffer descriptor is rounded up to when used for bounds-checking when therobustBufferAccess2feature is enabled. This value must be either 1 or 4.robustUniformBufferAccessSizeAlignmentis the number of bytes that the range of a uniform buffer descriptor is rounded up to when used for bounds-checking when therobustBufferAccess2feature is enabled. This value must be a power of two in the range [1, 256].
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.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceRobustness2PropertiesKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_KHR