spv.bufferReference.memoryModel.volatile.comp // Module Version 10300 // Generated by (magic number): 8000b // Id's are bound by 33 Capability Shader Capability VulkanMemoryModelKHR Capability PhysicalStorageBufferAddressesEXT Extension "SPV_KHR_physical_storage_buffer" Extension "SPV_KHR_vulkan_memory_model" 1: ExtInstImport "GLSL.std.450" MemoryModel PhysicalStorageBuffer64EXT VulkanKHR EntryPoint GLCompute 4 "main" ExecutionMode 4 LocalSize 1 1 1 Source GLSL 450 SourceExtension "GL_EXT_buffer_reference" Name 4 "main" Name 8 "Ref" MemberName 8(Ref) 0 "value" Name 10 "ref" Name 11 "Push" MemberName 11(Push) 0 "ref" Name 13 "pc" Name 19 "Result" MemberName 19(Result) 0 "value" Name 21 "result" Decorate 8(Ref) Block MemberDecorate 8(Ref) 0 Offset 0 Decorate 10(ref) DecorationAliasedPointerEXT Decorate 11(Push) Block MemberDecorate 11(Push) 0 Offset 0 Decorate 19(Result) Block MemberDecorate 19(Result) 0 Offset 0 Decorate 21(result) Binding 0 Decorate 21(result) DescriptorSet 0 2: TypeVoid 3: TypeFunction 2 TypeForwardPointer 6 PhysicalStorageBufferEXT 7: TypeInt 32 0 8(Ref): TypeStruct 7(int) 6: TypePointer PhysicalStorageBufferEXT 8(Ref) 9: TypePointer Function 6(ptr) 11(Push): TypeStruct 6(ptr) 12: TypePointer PushConstant 11(Push) 13(pc): 12(ptr) Variable PushConstant 14: TypeInt 32 1 15: 14(int) Constant 0 16: TypePointer PushConstant 6(ptr) 19(Result): TypeStruct 7(int) 20: TypePointer StorageBuffer 19(Result) 21(result): 20(ptr) Variable StorageBuffer 23: TypePointer PhysicalStorageBufferEXT 7(int) 26: 7(int) Constant 5 27: TypePointer StorageBuffer 7(int) 4(main): 2 Function None 3 5: Label 10(ref): 9(ptr) Variable Function 17: 16(ptr) AccessChain 13(pc) 15 18: 6(ptr) Load 17 Store 10(ref) 18 Volatile 22: 6(ptr) Load 10(ref) Volatile 24: 23(ptr) AccessChain 22 15 25: 7(int) Load 24 Volatile Aligned MakePointerVisibleKHR NonPrivatePointerKHR 16 26 28: 27(ptr) AccessChain 21(result) 15 Store 28 25 29: 6(ptr) Load 10(ref) Volatile 30: 27(ptr) AccessChain 21(result) 15 31: 7(int) Load 30 32: 23(ptr) AccessChain 29 15 Store 32 31 Volatile Aligned MakePointerAvailableKHR NonPrivatePointerKHR 16 26 Return FunctionEnd