C Specification
The VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR
structure is
defined as:
// Provided by VK_KHR_ray_tracing_maintenance1
typedef struct VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR {
VkStructureType sType;
void* pNext;
VkBool32 rayTracingMaintenance1;
VkBool32 rayTracingPipelineTraceRaysIndirect2;
} VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR;
Description
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
rayTracingMaintenance1
indicates that the implementation supports the following:-
The
CullMaskKHR
SPIR-V builtin using theSPV_KHR_ray_cull_mask
SPIR-V extension. -
Additional acceleration structure property queries:
VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR
andVK_QUERY_TYPE_ACCELERATION_STRUCTURE_SIZE_KHR
. -
A new access flag
VK_ACCESS_2_SHADER_BINDING_TABLE_READ_BIT_KHR
. -
A new pipeline stage flag bit
VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR
-
-
rayTracingPipelineTraceRaysIndirect2
indicates whether the implementation supports the extended indirect ray tracing command vkCmdTraceRaysIndirect2KHR.
If the VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR
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.
VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR
can also be used in the pNext
chain of
VkDeviceCreateInfo to selectively enable these features.
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.