Structures

VkBuildPartitionedAccelerationStructureIndirectCommandNV

Structure describing PTLAS operation to perform

The VkBuildPartitionedAccelerationStructureIndirectCommandNV structure is defined as:

typedef struct VkBuildPartitionedAccelerationStructureIndirectCommandNV {
    VkPartitionedAccelerationStructureOpTypeNV opType;
    uint32_t argCount;
    VkStridedDeviceAddressNV argData;
} VkBuildPartitionedAccelerationStructureIndirectCommandNV;
  • opType is a VkPartitionedAccelerationStructureOpTypeNV describing the type of operation.
  • argCount the number of structures in argData array.
  • argData is an array of VkStridedDeviceAddressNV structures containing the write or update data for instances and partitions in the PTLAS. The structure is dependent on opType as shown in the table below.
opTypeFormat ofargData
VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_INSTANCE_NVVkPartitionedAccelerationStructureWriteInstanceDataNV
VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_UPDATE_INSTANCE_NVVkPartitionedAccelerationStructureUpdateInstanceDataNV
VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_PARTITION_TRANSLATION_NVVkPartitionedAccelerationStructureWritePartitionTranslationDataNV

Valid Usage

VUID-VkBuildPartitionedAccelerationStructureIndirectCommandNV-argData-10565

An instance index must not be referenced by more than one structure in argData