Skip to content

Conversation

s-perron
Copy link
Collaborator

@s-perron s-perron commented Oct 8, 2025

This commit implements the [WaveOpsIncludeHelperLanes] attribute for the SPIR-V backend.

When this attribute is applied to a shader entry point, the compiler will:

  • Add the SPV_KHR_maximal_reconvergence and SPV_KHR_quad_control extensions.
  • Add the QuadControlKHR capability.
  • Add the MaximallyReconvergesKHR and RequireFullQuadsKHR execution modes to the entry point.

This change also includes new tests to verify the correctness of the implementation and updates the documentation.

Fixes #7334

This commit implements the `[WaveOpsIncludeHelperLanes]` attribute for the SPIR-V backend.

When this attribute is applied to a shader entry point, the compiler will:
- Add the `SPV_KHR_maximal_reconvergence` and `SPV_KHR_quad_control` extensions.
- Add the `QuadControlKHR` capability.
- Add the `MaximallyReconvergesKHR` and `RequireFullQuadsKHR` execution modes to the entry point.

This change also includes new tests to verify the correctness of the implementation and updates the documentation.

Fixes microsoft#7334
@s-perron s-perron requested a review from luciechoi October 10, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

[SPIR-V] Implement Shader Model 6.7 WaveOpsIncludeHelperLanes Option

2 participants