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.

opType

Format of argData

VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_INSTANCE_NV

VkPartitionedAccelerationStructureWriteInstanceDataNV

VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_UPDATE_INSTANCE_NV

VkPartitionedAccelerationStructureUpdateInstanceDataNV

VK_PARTITIONED_ACCELERATION_STRUCTURE_OP_TYPE_WRITE_PARTITION_TRANSLATION_NV

VkPartitionedAccelerationStructureWritePartitionTranslationDataNV

Valid Usage

VUID-VkBuildPartitionedAccelerationStructureIndirectCommandNV-argData-10565

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