Skip to content

Implements #8875: Using binding_array should require an enable extension#9298

Open
39ali wants to merge 7 commits intogfx-rs:trunkfrom
39ali:enable-binding-buffer
Open

Implements #8875: Using binding_array should require an enable extension#9298
39ali wants to merge 7 commits intogfx-rs:trunkfrom
39ali:enable-binding-buffer

Conversation

@39ali
Copy link
Contributor

@39ali 39ali commented Mar 25, 2026

Connections
Fixes #8875

Description
this requires wgpu_binding_array to be enabled in the shader to use binding_array

Testing
i added some tests to test this feature

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.

Copy link
Member

@jimblandy jimblandy left a comment

Choose a reason for hiding this comment

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

Thank you!

@jimblandy
Copy link
Member

I believe the failing CI are simply requiring that you update the snapshot output files. Be sure you're running cargo test with --all-features.

@39ali
Copy link
Contributor Author

39ali commented Mar 26, 2026

@jimblandy not sure what's wrong with the changelog

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.

Using binding_array should require an enable extension

2 participants