1spv.queueFamilyScope.comp 2// Module Version 10300 3// Generated by (magic number): 8000a 4// Id's are bound by 21 5 6 Capability Shader 7 Capability VulkanMemoryModelKHR 8 Extension "SPV_KHR_vulkan_memory_model" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical VulkanKHR 11 EntryPoint GLCompute 4 "main" 12 ExecutionMode 4 LocalSize 1 1 1 13 Source GLSL 450 14 SourceExtension "GL_KHR_memory_scope_semantics" 15 Name 4 "main" 16 Name 7 "Buffer" 17 MemberName 7(Buffer) 0 "a" 18 Name 9 "A" 19 MemberDecorate 7(Buffer) 0 Offset 0 20 Decorate 7(Buffer) Block 21 Decorate 9(A) DescriptorSet 0 22 Decorate 9(A) Binding 0 23 2: TypeVoid 24 3: TypeFunction 2 25 6: TypeInt 32 0 26 7(Buffer): TypeStruct 6(int) 27 8: TypePointer StorageBuffer 7(Buffer) 28 9(A): 8(ptr) Variable StorageBuffer 29 10: TypeInt 32 1 30 11: 10(int) Constant 0 31 12: TypePointer StorageBuffer 6(int) 32 14: 10(int) Constant 5 33 15: 10(int) Constant 64 34 16: 10(int) Constant 2 35 17: 6(int) Constant 1 36 18: 6(int) Constant 0 37 19: 6(int) Constant 66 38 4(main): 2 Function None 3 39 5: Label 40 13: 12(ptr) AccessChain 9(A) 11 41 20: 6(int) AtomicLoad 13 14 19 42 Return 43 FunctionEnd 44