Skip to content

[Feature Request] [SPIRV] Support SPV_EXT_shader_invocation_reorder #8226

@MarijnS95

Description

@MarijnS95

Is your feature request related to a problem? Please describe.

#6994 for the older SPV_NV_shader_invocation_reorder was previously closed as blocking on microsoft/hlsl-specs#277 to add a SER proposal to HLSL first. Now that that's in, and the SPIR-V extension was promoted to EXT, would it be possible to target SPV_EXT_shader_invocation_reorder in SPIR-V?

Describe the solution you'd like
When dx::HitObject is used in code that is compiled to SPIR-V with dxc -spirv, the SPV_EXT_shader_invocation_reorder extension is used.

Describe alternatives you've considered
The Vulkan VK_NV_ray_tracing_invocation_reorder extension mentions how to use SPIR-V intrinsics to achieve this, which should trivially translate to SPV_EXT_shader_invocation_reorder even if a manual conditional implementation needs to be added next to existing dx::HitObject usage.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions