-
Notifications
You must be signed in to change notification settings - Fork 963
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
Add support for pipeline-overridable constants in web backend #5688
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for looking into this!
(Reminder: please re-request a review from me once the changes are addressed to make sure I see it!) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the neatly documented util, much nicer :)
🟢 from my side, but let's hear out @cwfitzgerald now that he's in on the fun :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeet!
Connections
#5500 - Pipeline-overridable constants
Description
I was excited to try out the new pipeline-overridable constants that were added in version 0.20, but unfortunately, I discovered that they didn't work on the web! This change copies the
constants
dictionary into the Javascript-side pipeline descriptors so that pipeline-overridable constants work with WebGPU.Checklist
cargo fmt
.cargo clippy
. If applicable, add:--target wasm32-unknown-unknown
--target wasm32-unknown-emscripten
cargo xtask test
to run tests.CHANGELOG.md
. See simple instructions inside file.