blob: c3c6e72ee770d8cd0dc29cff5a45e8f7a429cd7f [file] [edit]
spv.atomicStoreInt64.comp
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 26
Capability Shader
Capability Int64
Capability Int64Atomics
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "main"
ExecutionMode 4 LocalSize 1 1 1
Source GLSL 450
SourceExtension "GL_EXT_shader_atomic_int64"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
SourceExtension "GL_KHR_memory_scope_semantics"
Name 4 "main"
Name 7 "ssbo"
MemberName 7(ssbo) 0 "y"
Name 9 ""
Name 14 "ubo"
MemberName 14(ubo) 0 "z"
Name 16 ""
Decorate 7(ssbo) BufferBlock
MemberDecorate 7(ssbo) 0 Offset 0
Decorate 9 Binding 0
Decorate 9 DescriptorSet 0
Decorate 14(ubo) Block
MemberDecorate 14(ubo) 0 Offset 0
Decorate 16 Binding 1
Decorate 16 DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeInt 64 0
7(ssbo): TypeStruct 6(int64_t)
8: TypePointer Uniform 7(ssbo)
9: 8(ptr) Variable Uniform
10: TypeInt 32 1
11: 10(int) Constant 0
12: TypePointer Uniform 6(int64_t)
14(ubo): TypeStruct 6(int64_t)
15: TypePointer Uniform 14(ubo)
16: 15(ptr) Variable Uniform
19: 10(int) Constant 1
20: 10(int) Constant 64
21: 10(int) Constant 4
22: TypeInt 32 0
23: 22(int) Constant 1
24: 22(int) Constant 0
25: 22(int) Constant 68
4(main): 2 Function None 3
5: Label
13: 12(ptr) AccessChain 9 11
17: 12(ptr) AccessChain 16 11
18: 6(int64_t) Load 17
AtomicStore 13 19 25 18
Return
FunctionEnd