Vixen
02b45cc4
csharp
public enum SpirvScope

How 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)

  • Device

    The whole dispatch — what an atomic on a storage buffer needs.

  • Workgroup

    One workgroup — what a barrier waits for, and what shared memory is shared by.

Used by (1)

  • SpirvEmitterVixen.Raven