Skip to content

[msl-out] Switch to intersection queries#9304

Open
Vecvec wants to merge 20 commits intogfx-rs:trunkfrom
Vecvec:change-macos-rq
Open

[msl-out] Switch to intersection queries#9304
Vecvec wants to merge 20 commits intogfx-rs:trunkfrom
Vecvec:change-macos-rq

Conversation

@Vecvec
Copy link
Copy Markdown
Contributor

@Vecvec Vecvec commented Mar 25, 2026

Connections

Description
Re-writes the msl naga backend to use intersection queries instead of the intersector. This provides the notable benefit of supporting AABBs and non-opaque triangles. It also behave more like ray queries. The intersector matches ray tracing pipelines more than ray queries (though w/ significant differences).

Testing
Ran existing tests with shader validation disabled (which seems to help #9100 ).

Squash or Rebase?
Squash: this was originally started to see if it helped #9100, so I was initially ignoring CI failures .

Checklist

  • Run cargo fmt.
  • Run cargo clippy --tests.
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@dylanblokhuis
Copy link
Copy Markdown

Just checked if the ray_aabb_compute example from #9290 still works and it does!

@Vecvec Vecvec force-pushed the change-macos-rq branch 2 times, most recently from 1936dd9 to 36708d7 Compare March 27, 2026 18:06
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.

3 participants