csharp
public enum SpirvScopeHow far an atomic or a barrier reaches.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Not a decoration or a literal but an id everywhere it is used: SPIR-V spells scopes and memory semantics as constants so that a specialization constant can supply one. This enum is what those constants hold.
Fields and properties (2)
DeviceThe whole dispatch — what an atomic on a storage buffer needs.
WorkgroupOne workgroup — what a barrier waits for, and what shared memory is shared by.
Used by (1)
- SpirvEmitterVixen.Raven