Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

MemorySemantics

Public Struct
std.spirv.MemorySemantics
pub const MemorySemantics = packed struct(u32)

Fields

_reserved_bit_0: bool = false
acquire: bool = false
release: bool = false
acquire_release: bool = false
sequentially_consistent: bool = false
_reserved_bit_5: bool = false
uniform_memory: bool = false
subgroup_memory: bool = false
workgroup_memory: bool = false
cross_workgroup_memory: bool = false
atomic_counter_memory: bool = false
image_memory: bool = false
output_memory: bool = false
make_available: bool = false
make_visible: bool = false
@"volatile": bool = false
_reserved: u16 = 0

Values

File

spirv.zig:34
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
pub const MemorySemantics = packed struct(u32) {
    _reserved_bit_0: bool = false,
    acquire: bool = false,
    release: bool = false,
    acquire_release: bool = false,
    sequentially_consistent: bool = false,
    _reserved_bit_5: bool = false,
    uniform_memory: bool = false,
    subgroup_memory: bool = false,
    workgroup_memory: bool = false,
    cross_workgroup_memory: bool = false,
    atomic_counter_memory: bool = false,
    image_memory: bool = false,
    output_memory: bool = false,
    make_available: bool = false,
    make_visible: bool = false,
    @"volatile": bool = false,
    _reserved: u16 = 0,

    pub const none: MemorySemantics = .{};
}