Structures

VkWriteDescriptorSetPartitionedAccelerationStructureNV

Structure specifying descriptor for PTLAS

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;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • accelerationStructureCount is the number of elements in pAccelerationStructures.
  • pAccelerationStructures is a pointer to an array of accelerationStructureCount device 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