-
Notifications
You must be signed in to change notification settings - Fork 942
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
Atomic64 fixes #5952
Atomic64 fixes #5952
Conversation
@JMS55 So, why wasn't |
I couldn't figure that out. My best guess is that maybe the fact that the second argument is not an expression matters. Maybe a constant vs expression in the second argument changes how things get parsed or something. |
The clippy warnings are specific to this branch, they don't happen on trunk. I can see them with:
I would like to have a snapshot test that is affected by the change to |
I didn't change that code though, so idk why clippy is complaining only on this branch... I mean I can make the fixes as part of this PR if you want, up to you. |
Yes, please change this PR so it does not break CI on trunk when it is merged. |
I volunteered to work on this in chat. |
It seems like the reason is, the final operands to the |
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.
This looks good. I've pushed a commit to address the only nit I had.
Connections
wgpu_types::Features::SHADER_INT64_ATOMIC_ALL_OPS
should also requestshader_shared_int64_atomics
#5784Description
Testing
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.