VkPhysicalDeviceRayTracingPipelineFeaturesKHR
The VkPhysicalDeviceRayTracingPipelineFeaturesKHR structure is defined
as:
typedef struct VkPhysicalDeviceRayTracingPipelineFeaturesKHR {
VkStructureType sType;
void* pNext;
VkBool32 rayTracingPipeline;
VkBool32 rayTracingPipelineShaderGroupHandleCaptureReplay;
VkBool32 rayTracingPipelineShaderGroupHandleCaptureReplayMixed;
VkBool32 rayTracingPipelineTraceRaysIndirect;
VkBool32 rayTraversalPrimitiveCulling;
} VkPhysicalDeviceRayTracingPipelineFeaturesKHR;
pub struct PhysicalDeviceRayTracingPipelineFeaturesKHR {
s_type: vk::StructureType,
p_next: *mut c_void,
ray_tracing_pipeline: vk::Bool32,
ray_tracing_pipeline_shader_group_handle_capture_replay: vk::Bool32,
ray_tracing_pipeline_shader_group_handle_capture_replay_mixed: vk::Bool32,
ray_tracing_pipeline_trace_rays_indirect: vk::Bool32,
ray_traversal_primitive_culling: vk::Bool32,
}
This structure describes the following features:
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.- FEATURES RAYTRACINGPIPELINE
rayTracingPipelineindicates whether the implementation supports the ray tracing pipeline functionality. See Ray Tracing. - FEATURES RAYTRACINGPIPELINESHADERGROUPHANDLECAPTUREREPLAY
rayTracingPipelineShaderGroupHandleCaptureReplayindicates whether the implementation supports saving and reusing shader group handles, e.g. for trace capture and replay. - FEATURES RAYTRACINGPIPELINESHADERGROUPHANDLECAPTUREREPLAYMIXED
rayTracingPipelineShaderGroupHandleCaptureReplayMixedindicates whether the implementation supports reuse of shader group handles being arbitrarily mixed with creation of non-reused shader group handles. If this isVK_FALSE, all reused shader group handles must be specified before any non-reused handles may be created. - FEATURES RAYTRACINGPIPELINETRACERAYSINDIRECT
rayTracingPipelineTraceRaysIndirectindicates whether the implementation supports indirect ray tracing commands, e.g. vkCmdTraceRaysIndirectKHR. - FEATURES RAYTRAVERSALPRIMITIVECULLING
rayTraversalPrimitiveCullingindicates whether the implementation supports primitive culling during ray traversal.
If the VkPhysicalDeviceRayTracingPipelineFeaturesKHR structure is included in the pNext chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceRayTracingPipelineFeaturesKHR, it must add an instance of the structure,
with the desired feature members set to VK_TRUE, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
Valid Usage
VUID-VkPhysicalDeviceRayTracingPipelineFeaturesKHR-rayTracingPipelineShaderGroupHandleCaptureReplayMixed-03575
If rayTracingPipelineShaderGroupHandleCaptureReplayMixed is
VK_TRUE, rayTracingPipelineShaderGroupHandleCaptureReplaymust also be VK_TRUE
Valid Usage (Implicit)
VUID-VkPhysicalDeviceRayTracingPipelineFeaturesKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR