VkWriteDescriptorSetPartitionedAccelerationStructureNV
If the descriptorType member of VkWriteDescriptorSet is
VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV, then the
data to write to the descriptor set is specified through a
VkWriteDescriptorSetPartitionedAccelerationStructureNV structure
included in the pNext chain of VkWriteDescriptorSet.
The VkWriteDescriptorSetPartitionedAccelerationStructureNV structure
is defined as:
typedef struct VkWriteDescriptorSetPartitionedAccelerationStructureNV {
VkStructureType sType;
void* pNext;
uint32_t accelerationStructureCount;
const VkDeviceAddress* pAccelerationStructures;
} VkWriteDescriptorSetPartitionedAccelerationStructureNV;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.accelerationStructureCountis the number of elements inpAccelerationStructures.pAccelerationStructuresis a pointer to an array ofaccelerationStructureCountdevice addresses pointing to previously built PTLAS.
Valid Usage
VUID-VkWriteDescriptorSetPartitionedAccelerationStructureNV-accelerationStructureCount-10511
accelerationStructureCount must be equal to descriptorCount
in the extended structure
VUID-VkWriteDescriptorSetPartitionedAccelerationStructureNV-pAccelerationStructures-10512
Each entry in pAccelerationStructures must be a valid address of
a PTLAS
Valid Usage (Implicit)
VUID-VkWriteDescriptorSetPartitionedAccelerationStructureNV-sType-sType
sType must be VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_PARTITIONED_ACCELERATION_STRUCTURE_NV
VUID-VkWriteDescriptorSetPartitionedAccelerationStructureNV-pAccelerationStructures-parameter
pAccelerationStructures must be a valid pointer to an array of accelerationStructureCount or VK_NULL_HANDLE VkDeviceAddress values
VUID-VkWriteDescriptorSetPartitionedAccelerationStructureNV-accelerationStructureCount-arraylength
accelerationStructureCount must be greater than 0