-
Notifications
You must be signed in to change notification settings - Fork 954
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
Force all adapters to report min buffer alignment of 32 #3262
Force all adapters to report min buffer alignment of 32 #3262
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3262 +/- ##
==========================================
+ Coverage 64.11% 64.14% +0.03%
==========================================
Files 86 86
Lines 42560 42572 +12
==========================================
+ Hits 27286 27308 +22
+ Misses 15274 15264 -10
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…t/min_storage_buffer_offset_alignment of at least 32
221f32f
to
b787007
Compare
@cwfitzgerald apologies for the hiatus! |
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!
Merge conflicts |
…ents-lower-than-32
resolved |
2de272b
to
8e5a635
Compare
Checklist
cargo clippy
.RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown
if applicable.Connections
Description
This follows up on the WebGPU spec which doesn't allow an api to report less than 32 bytes buffer alignment.
(brought up on Matrix https://matrix.to/#/!XFRnMvAfptAHthwBCx:matrix.org/$YbQEfpuY-nNlZWNGexna4w0pHa_ItGlm0oHlPvrC5Ds?via=matrix.org&via=mozilla.org&via=kyju.org)
Testing
Ran some sample applications with this