Skip to content

[SPIR-V] Support KHR Ray tracing's OpTerminateRayKHR and OpIgnoreIntersectionKHR #3285

@MarijnS95

Description

@MarijnS95

These instructions have a different opcode than their NV counterpart, apparently for a reason: both are now terminal instructions.

There is already code in place to emit returns after the NV variant and reorder writes before it, would that be enough to support these functions normally without enforcing AcceptHitAndEndSearch/IgnoreHit to be placed at the end of a shader?

CC @jiaolu for submitting the intial changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    spirvWork related to SPIR-V

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions