Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[binning] Do not use numerical operators on atomics (#539)
This fixes a comparison expression and a compound-assignment expression that used an atomic as an operand. These should be treated as illegal based on my understanding of the WGSL specification (and are rejected by Tint) but Naga accepts them and injects appropriate atomic operations during code generation. See gfx-rs/wgpu#5474 for more details.
- Loading branch information