-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix workgroupUniformLoad returning atomic types #8791
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
base: trunk
Are you sure you want to change the base?
Conversation
inner-daemons
left a comment
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 this! Broadly LGTM, just a few suggestions
inner-daemons
left a comment
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.
LGTM! Thanks for working on this. Probably it will get merged sometime around the 7th.
| // workgroupUniformLoad on atomic<T> returns T, not atomic<T>. | ||
| // Verify the pointer's atomic scalar matches the result scalar. |
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!
Connections
FIxes #8785.
Description
workgroupUniformLoadnow matches the spec and returns the inner type when called on an atomic.Testing
Added a new snapshot test
workgroup-uniform-load-atomic.wgslSquash or Rebase?
Squash
Checklist
cargo fmt.taplo format.cargo clippy --tests. If applicable, add:--target wasm32-unknown-unknowncargo xtask testto run tests.CHANGELOG.mdentry.