Skip to content

Implement subgroup quad ops #7683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: trunk
Choose a base branch
from
Open

Conversation

dzamkov
Copy link

@dzamkov dzamkov commented May 12, 2025

Connections
Partially solves #5555
Resolves #5670

Description
Resurrecting #5684, which implements WGSL's (now accepted) quad operations:

  • Rebased onto trunk
  • Made QuadSwap operations an instance of SubgroupGather, simplifying the code
  • Cleaning up unused code
  • Fix to Vulkan backend

Testing

  • Added Naga snapshot tests for quad operations
  • Integrated into personal project and verified quad operations are working as expected (Vulkan backend only)

Squash or Rebase?

Squash

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@dzamkov dzamkov requested a review from a team as a code owner May 12, 2025 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subgroup quad operations
2 participants