mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01:00
To support atomic instructions in the SPIR-V front end, observe which global variables the input accesses using atomic instructions, and adjust their types from ordinary scalars to atomic values. See comments in `naga::front::atomic_upgrade`.