VkPhysicalDeviceRayTracingPropertiesNV
The VkPhysicalDeviceRayTracingPropertiesNV structure is defined as:
typedef struct VkPhysicalDeviceRayTracingPropertiesNV {
VkStructureType sType;
void* pNext;
uint32_t shaderGroupHandleSize;
uint32_t maxRecursionDepth;
uint32_t maxShaderGroupStride;
uint32_t shaderGroupBaseAlignment;
uint64_t maxGeometryCount;
uint64_t maxInstanceCount;
uint64_t maxTriangleCount;
uint32_t maxDescriptorSetAccelerationStructures;
} VkPhysicalDeviceRayTracingPropertiesNV;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.shaderGroupHandleSizeis the size in bytes of the shader header.-
maxRecursionDepthis the maximum number of levels of recursion allowed in a trace command. maxShaderGroupStrideis the maximum stride in bytes allowed between shader groups in the shader binding table.shaderGroupBaseAlignmentis the required alignment in bytes for the base of the shader binding table.maxGeometryCountis the maximum number of geometries in the bottom level acceleration structure.maxInstanceCountis the maximum number of instances in the top level acceleration structure.maxTriangleCountis the maximum number of triangles in all geometries in the bottom level acceleration structure.maxDescriptorSetAccelerationStructuresis the maximum number of acceleration structure descriptors that are allowed in a descriptor set.
Due to the fact that the geometry, instance, and triangle counts are
specified at acceleration structure creation as 32-bit values,
maxGeometryCount, maxInstanceCount, and maxTriangleCountmust not exceed 232-1.
If the VkPhysicalDeviceRayTracingPropertiesNV structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
Limits specified by this structure must match those specified with the same name in VkPhysicalDeviceAccelerationStructurePropertiesKHR and VkPhysicalDeviceRayTracingPipelinePropertiesKHR.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceRayTracingPropertiesNV-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV