C Specification

// Provided by VK_NV_partitioned_acceleration_structure
typedef struct VkBuildPartitionedAccelerationStructureIndirectCommandNV {
    VkPartitionedAccelerationStructureOpTypeNV    opType;
    uint32_t                                      argCount;
    VkStridedDeviceAddressNV                      argData;
} VkBuildPartitionedAccelerationStructureIndirectCommandNV;

Members

  • 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

Description

Valid Usage
  • VUID-VkBuildPartitionedAccelerationStructureIndirectCommandNV-argData-10565
    An instance index must not be referenced by more than one structure in argData

Valid Usage (Implicit)

See Also

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0