struct SSBOData { Atomic a; Atomic b; // UNUSED Atomic c; Atomic d; // UNUSED Atomic e; // UNUSED Atomic f; }; [[vk::binding(0, 0)]] RWStructuredBuffer ssbo; [shader("compute")] void main() { uint x = ssbo[0].a.load(); ssbo[0].c.exchange(0); ssbo[0].f.store(0); }