Structures

VkStridedDeviceAddressRegionKHR

Structure specifying a region of device addresses with a stride

The VkStridedDeviceAddressRegionKHR structure is defined as:

typedef struct VkStridedDeviceAddressRegionKHR {
    VkDeviceAddress deviceAddress;
    VkDeviceSize stride;
    VkDeviceSize size;
} VkStridedDeviceAddressRegionKHR;
  • deviceAddress is the device address (as returned by the vkGetBufferDeviceAddress command) at which the region starts, or zero if the region is unused.
  • stride is the byte stride between consecutive elements.
  • size is the size in bytes of the region starting at deviceAddress.

Valid Usage

VUID-VkStridedDeviceAddressRegionKHR-size-04631

If size is not zero, all addresses between deviceAddress and deviceAddress + size - 1 must be in the buffer device address range of the same buffer

VUID-VkStridedDeviceAddressRegionKHR-size-04632

If size is not zero, stride must be less than or equal to the size of the buffer from which deviceAddress was queried