VkAccelerationStructureCaptureDescriptorDataInfoEXT
Information about the acceleration structure to get descriptor buffer
capture data for is passed in a
VkAccelerationStructureCaptureDescriptorDataInfoEXT
structure:
typedef struct VkAccelerationStructureCaptureDescriptorDataInfoEXT {
VkStructureType sType;
const void* pNext;
VkAccelerationStructureKHR accelerationStructure;
VkAccelerationStructureNV accelerationStructureNV;
} VkAccelerationStructureCaptureDescriptorDataInfoEXT;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.accelerationStructure
is theVkAccelerationStructureKHR
handle of the acceleration structure to get opaque capture data for.accelerationStructureNV
is theVkAccelerationStructureNV
handle of the acceleration structure to get opaque capture data for.
Valid Usage
VUID-VkAccelerationStructureCaptureDescriptorDataInfoEXT-accelerationStructure-08091
If accelerationStructure
is not VK_NULL_HANDLE then
accelerationStructure
must have been created with
VK_ACCELERATION_STRUCTURE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT
set in VkAccelerationStructureCreateInfoKHR::createFlags
VUID-VkAccelerationStructureCaptureDescriptorDataInfoEXT-accelerationStructureNV-08092
If accelerationStructureNV
is not VK_NULL_HANDLE then
accelerationStructureNV
must have been created with
VK_ACCELERATION_STRUCTURE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT
set in VkAccelerationStructureCreateInfoNV::info.flags
VUID-VkAccelerationStructureCaptureDescriptorDataInfoEXT-accelerationStructure-08093
If accelerationStructure
is not VK_NULL_HANDLE then
accelerationStructureNV
must be VK_NULL_HANDLE
VUID-VkAccelerationStructureCaptureDescriptorDataInfoEXT-accelerationStructureNV-08094
If accelerationStructureNV
is not VK_NULL_HANDLE then
accelerationStructure
must be VK_NULL_HANDLE
Valid Usage (Implicit)
VUID-VkAccelerationStructureCaptureDescriptorDataInfoEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CAPTURE_DESCRIPTOR_DATA_INFO_EXT
VUID-VkAccelerationStructureCaptureDescriptorDataInfoEXT-pNext-pNext
pNext
must be NULL
VUID-VkAccelerationStructureCaptureDescriptorDataInfoEXT-accelerationStructure-parameter
If accelerationStructure
is not VK_NULL_HANDLE, accelerationStructure
must be a valid VkAccelerationStructureKHR handle
VUID-VkAccelerationStructureCaptureDescriptorDataInfoEXT-accelerationStructureNV-parameter
If accelerationStructureNV
is not VK_NULL_HANDLE, accelerationStructureNV
must be a valid VkAccelerationStructureNV handle
VUID-VkAccelerationStructureCaptureDescriptorDataInfoEXT-commonparent
Both of accelerationStructure
, and accelerationStructureNV
that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice