Lines Matching refs:code
13 ifdef::VK_KHR_ray_query[code:OpRayQueryProceedKHR]
15 ifdef::VK_KHR_ray_tracing_pipeline[code:OpTraceRayKHR]
19 enabled, code:OpTraceRayKHR can: be used for <<ray-tracing, ray tracing>> in
24 code:OpRayQueryProceedKHR can: be used in any shader stage.
178 are evaluated at the time specified in the code:time parameter to
179 code:OpTraceRayMotionNV by interpolating between the two endpoints as
181 If a motion acceleration structure is traced with code:OpTraceRayKHR, it
182 behaves as a code:OpTraceRayMotionNV with code:time of 0.0.
194 If the ray was traced with code:OpTraceRayKHR, these values are available as
195 a vector of 2 32-bit floating point values in the code:HitAttributeKHR
251 pname:rayQuery>> features are enabled, the code:SkipTrianglesKHR and
252 code:SkipAABBsKHR ray flags can: be specified when tracing a ray.
254 If code:SkipTrianglesKHR was included in the `Ray Flags` operand of the ray
259 in the pipeline, traversal with code:OpTraceRayKHR calls will all behave as
260 if code:SkipTrianglesKHR was included in its `Ray Flags` operand.
262 If code:SkipAABBsKHR was included in the `Ray Flags` operand of the ray
267 the pipeline, traversal with code:OpTraceRayKHR calls will all behave as if
268 code:SkipAABBsKHR was included in its `Ray Flags` operand.
337 If the ray was traced with code:OpTraceRayKHR, the code:HitKindKHR built-in
338 is set to code:HitKindFrontFacingTriangleKHR if the intersection is with
339 front-facing geometry, and code:HitKindBackFacingTriangleKHR if the
345 If the ray was traced with code:OpRayQueryProceedKHR,
346 code:OpRayQueryGetIntersectionFrontFaceKHR will return true for intersection
352 If code:CullBackFacingTrianglesKHR was included in the `Ray Flags` parameter
357 If code:CullFrontFacingTrianglesKHR was included in the `Ray Flags`
377 geometries need to be either confirmed or discarded by shader code.
400 This can again be overridden by including code:OpaqueKHR or code:NoOpaqueKHR
402 code:OpaqueKHR forces all geometries to behave as if they are opaque,
404 Similarly, code:NoOpaqueKHR forces all geometries to behave as if they are
408 If the ray was traced with code:OpRayQueryProceedKHR, to determine the
410 code:OpRayQueryGetIntersectionCandidateAABBOpaqueKHR can: be used.
411 This instruction will return code:true for opaque intersection candidates,
412 and code:false for non-opaque intersection candidates.
417 If code:CullOpaqueKHR is included in the `Ray Flags` parameter when tracing
421 If code:CullNoOpaqueKHR is included in the `Ray Flags` parameter when
439 <<ray-intersection-candidate-determination>>, shader code is executed to
448 If the ray was traced with code:OpTraceRayKHR, an <<shaders-intersection,
452 If this shader calls code:OpReportIntersectionKHR, a new intersection
464 value equal to the `Hit` parameter of the code:OpReportIntersectionKHR
473 If the ray was traced with code:OpRayQueryProceedKHR, control is returned to
474 the shader which executed code:OpRayQueryProceedKHR, returning code:true.
476 code:RayQueryCandidateIntersectionAABBKHR.
477 code:OpRayQueryGenerateIntersectionKHR can: be called to commit a new
479 code:RayQueryCommittedIntersectionGeneratedKHR.
481 code:OpRayQueryProceedKHR with the same ray query, or intersection can: be
482 terminated with code:OpRayQueryTerminateKHR.
485 Unlike rays traced with code:OpTraceRayKHR, candidates generated in this way
498 intersection candidates>>, additional shader code may: be executed based on
504 For non-opaque intersection candidates, shader code is executed to determine
508 If the ray was traced with code:OpTraceRayKHR, an <<shaders-any-hit, any-hit
511 If this shader calls code:OpIgnoreIntersectionKHR, the candidate is dropped
519 If the ray was traced with code:OpRayQueryProceedKHR, control is returned to
520 the shader which executed code:OpRayQueryProceedKHR, returning code:true.
523 code:RayQueryCandidateIntersectionTriangleKHR.
524 code:OpRayQueryConfirmIntersectionKHR can: be called on the ray query to
526 code:RayQueryCommittedIntersectionTriangleKHR.
528 code:OpRayQueryProceedKHR with the same ray query, or intersection can: be
529 terminated with code:OpRayQueryTerminateKHR.
530 If code:OpRayQueryConfirmIntersectionKHR has not been executed, the
542 Unless the ray was traced with the code:TerminateOnFirstHitKHR ray flag, the
557 If code:TerminateOnFirstHitKHR was included in the `Ray Flags` used to trace
571 For rays traced with code:OpTraceRayKHR, if a closest hit result was
576 Control returns to the shader that executed code:OpTraceRayKHR once this
579 code:SkipClosestHitShaderKHR, or if the <<shaders-closest-hit, closest hit
582 For rays traced with code:OpTraceRayKHR where no hit result was identified,
584 of code:OpTraceRayKHR is invoked.
585 Control returns to the shader that executed code:OpTraceRayKHR once this
592 If the ray was traced with code:OpRayQueryProceedKHR, control is returned to
593 the shader which executed code:OpRayQueryProceedKHR, returning code:false.
596 code:RayQueryCommittedIntersectionGeneratedKHR or
597 code:RayQueryCommittedIntersectionTriangleKHR.
599 code:RayQueryCommittedIntersectionNoneKHR.