Skip to content

Hal ray tracing pipelines#9464

Open
Vecvec wants to merge 11 commits intogfx-rs:trunkfrom
Vecvec:hal-rt-pipelines
Open

Hal ray tracing pipelines#9464
Vecvec wants to merge 11 commits intogfx-rs:trunkfrom
Vecvec:hal-rt-pipelines

Conversation

@Vecvec
Copy link
Copy Markdown
Contributor

@Vecvec Vecvec commented Apr 25, 2026

Connections
The hal part of #9450 (split to be easier to review)

Description
Adds ray tracing pipelines to wgpu-hal. Adds a feature and limits for this. However, these limits aren't validated because they are only usable through the hal (for now...). Naming is mostly based off Vulkan and DX12's, but I changed the name of shader binding tables to pipeline group data (they aren't a table and the bindings are of groups of shaders [closest hit group, miss group, intersection group (not to be confused with intersection shader)])

Testing
Testing is difficult in the hal, but these changes are the same as the hal part of #9450, which has some basic testing

Squash or Rebase?

Squash

Checklist

  • I self-reviewed and fully understand this PR.
  • WebGPU implementations built with wgpu may be affected behaviorally.
  • Validation and feature gates are in place to confine behavioral changes.
  • Tests demonstrate the validation and altered logic works. Only hal changes. No altered logic.
  • CHANGELOG.md entries for the user-facing effects of this change are present.
  • The PR is minimal, and doesn't make sense to land as multiple PRs.
  • Commits are logically scoped and individually reviewable.
  • The PR description has enough context to understand the motivation and solution implemented.

@Vecvec Vecvec changed the title Hal rt pipelines Hal ray tracing pipelines Apr 25, 2026
@Vecvec Vecvec force-pushed the hal-rt-pipelines branch from 4acd17b to 16fceae Compare April 25, 2026 19:15
@inner-daemons inner-daemons self-requested a review April 27, 2026 16:20
@cwfitzgerald cwfitzgerald self-assigned this Apr 29, 2026
@Vecvec Vecvec force-pushed the hal-rt-pipelines branch from 16fceae to bb84f1d Compare April 29, 2026 20:19
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.

2 participants