@@ -46,11 +46,21 @@ bool rayQueryProceedKHR([[vk::ext_reference]] RayQueryKHR query);
46
46
[[vk::ext_instruction (spv::OpRayQueryGetIntersectionTypeKHR)]]
47
47
int rayQueryGetIntersectionTypeKHR ([[vk::ext_reference]] RayQueryKHR query, uint32_t committed);
48
48
49
+ [[vk::ext_capability (spv::CapabilityRayQueryKHR)]]
50
+ [[vk::ext_extension ("SPV_KHR_ray_query" )]]
51
+ [[vk::ext_instruction (spv::OpRayQueryGetIntersectionInstanceCustomIndexKHR)]]
52
+ int rayQueryGetIntersectionInstanceCustomIndexKHR ([[vk::ext_reference]] RayQueryKHR query, uint32_t committed);
53
+
49
54
[[vk::ext_capability (spv::CapabilityRayQueryKHR)]]
50
55
[[vk::ext_extension ("SPV_KHR_ray_query" )]]
51
56
[[vk::ext_instruction (spv::OpRayQueryGetIntersectionInstanceIdKHR)]]
52
57
int rayQueryGetIntersectionInstanceIdKHR ([[vk::ext_reference]] RayQueryKHR query, uint32_t committed);
53
58
59
+ [[vk::ext_capability (spv::CapabilityRayQueryKHR)]]
60
+ [[vk::ext_extension ("SPV_KHR_ray_query" )]]
61
+ [[vk::ext_instruction (spv::OpRayQueryGetIntersectionGeometryIndexKHR)]]
62
+ int rayQueryGetIntersectionGeometryIndexKHR ([[vk::ext_reference]] RayQueryKHR query, uint32_t committed);
63
+
54
64
[[vk::ext_capability (spv::CapabilityRayQueryKHR)]]
55
65
[[vk::ext_extension ("SPV_KHR_ray_query" )]]
56
66
[[vk::ext_instruction (spv::OpRayQueryGetIntersectionPrimitiveIndexKHR)]]
@@ -61,6 +71,11 @@ int rayQueryGetIntersectionPrimitiveIndexKHR([[vk::ext_reference]] RayQueryKHR q
61
71
[[vk::ext_instruction (spv::OpRayQueryGetIntersectionBarycentricsKHR)]]
62
72
float2 rayQueryGetIntersectionBarycentricsKHR ([[vk::ext_reference]] RayQueryKHR query, uint32_t committed);
63
73
74
+ [[vk::ext_capability (spv::CapabilityRayQueryKHR)]]
75
+ [[vk::ext_extension ("SPV_KHR_ray_query" )]]
76
+ [[vk::ext_instruction (spv::OpRayQueryGetIntersectionFrontFaceKHR)]]
77
+ float2 rayQueryGetIntersectionFrontFaceKHR ([[vk::ext_reference]] RayQueryKHR query, uint32_t committed);
78
+
64
79
// position fetch for ray tracing uses gl_HitTriangleVertexPositionsEXT -> HitTriangleVertexPositionsKHR decorated OpVariable
65
80
[[vk::ext_builtin_input (spv::BuiltInHitTriangleVertexPositionsKHR)]]
66
81
static const float32_t3 HitTriangleVertexPositionsKHR[3 ];
0 commit comments