Skip to content

Enable ray tracing example tests on metal - #9324

Merged
cwfitzgerald merged 5 commits into
gfx-rs:trunkfrom
Vecvec:disable-mtl-val
Apr 9, 2026
Merged

Enable ray tracing example tests on metal#9324
cwfitzgerald merged 5 commits into
gfx-rs:trunkfrom
Vecvec:disable-mtl-val

Conversation

@Vecvec

@Vecvec Vecvec commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

Connections
Prevents #9100 from happening on tests.

Description
Disables metal shader validation (see #9100 (comment)) on the ray tracing examples as it seems to fail to map the fake id it generates to a real id. Also brings max acceleration structures per stage default down to one to align with metal.

Testing
Enables tests

Squash or Rebase?
Squash

Checklist

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

@Vecvec
Vecvec force-pushed the disable-mtl-val branch 2 times, most recently from 7b3f054 to 1443fd3 Compare April 1, 2026 00:14
@Vecvec

Vecvec commented Apr 1, 2026

Copy link
Copy Markdown
Contributor Author

macOS 26.4 seems to fix the issue, but I think that this still might be worthwhile for testing on other versions.

@Vecvec
Vecvec force-pushed the disable-mtl-val branch from d202fb1 to c686472 Compare April 4, 2026 18:45

@cwfitzgerald cwfitzgerald left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Metallic To Me

@cwfitzgerald
cwfitzgerald merged commit daced7a into gfx-rs:trunk Apr 9, 2026
58 checks passed
@cwfitzgerald
cwfitzgerald deleted the disable-mtl-val branch April 9, 2026 00:44
slyedoc pushed a commit to slyedoc/wgpu that referenced this pull request May 28, 2026
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