yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
37b5bd72
main
1spv.bufferReference.memoryModel.volatile.comp 2// Module Version 10300 3// Generated by (magic number): 8000b 4// Id's are bound by 33 5 6 Capability Shader 7 Capability VulkanMemoryModelKHR 8 Capability PhysicalStorageBufferAddressesEXT 9 Extension "SPV_KHR_physical_storage_buffer" 10 Extension "SPV_KHR_vulkan_memory_model" 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel PhysicalStorageBuffer64EXT VulkanKHR 13 EntryPoint GLCompute 4 "main" 14 ExecutionMode 4 LocalSize 1 1 1 15 Source GLSL 450 16 SourceExtension "GL_EXT_buffer_reference" 17 Name 4 "main" 18 Name 8 "Ref" 19 MemberName 8(Ref) 0 "value" 20 Name 10 "ref" 21 Name 11 "Push" 22 MemberName 11(Push) 0 "ref" 23 Name 13 "pc" 24 Name 19 "Result" 25 MemberName 19(Result) 0 "value" 26 Name 21 "result" 27 Decorate 8(Ref) Block 28 MemberDecorate 8(Ref) 0 Offset 0 29 Decorate 10(ref) DecorationAliasedPointerEXT 30 Decorate 11(Push) Block 31 MemberDecorate 11(Push) 0 Offset 0 32 Decorate 19(Result) Block 33 MemberDecorate 19(Result) 0 Offset 0 34 Decorate 21(result) Binding 0 35 Decorate 21(result) DescriptorSet 0 36 2: TypeVoid 37 3: TypeFunction 2 38 TypeForwardPointer 6 PhysicalStorageBufferEXT 39 7: TypeInt 32 0 40 8(Ref): TypeStruct 7(int) 41 6: TypePointer PhysicalStorageBufferEXT 8(Ref) 42 9: TypePointer Function 6(ptr) 43 11(Push): TypeStruct 6(ptr) 44 12: TypePointer PushConstant 11(Push) 45 13(pc): 12(ptr) Variable PushConstant 46 14: TypeInt 32 1 47 15: 14(int) Constant 0 48 16: TypePointer PushConstant 6(ptr) 49 19(Result): TypeStruct 7(int) 50 20: TypePointer StorageBuffer 19(Result) 51 21(result): 20(ptr) Variable StorageBuffer 52 23: TypePointer PhysicalStorageBufferEXT 7(int) 53 26: 7(int) Constant 5 54 27: TypePointer StorageBuffer 7(int) 55 4(main): 2 Function None 3 56 5: Label 57 10(ref): 9(ptr) Variable Function 58 17: 16(ptr) AccessChain 13(pc) 15 59 18: 6(ptr) Load 17 60 Store 10(ref) 18 Volatile 61 22: 6(ptr) Load 10(ref) Volatile 62 24: 23(ptr) AccessChain 22 15 63 25: 7(int) Load 24 Volatile Aligned MakePointerVisibleKHR NonPrivatePointerKHR 16 26 64 28: 27(ptr) AccessChain 21(result) 15 65 Store 28 25 66 29: 6(ptr) Load 10(ref) Volatile 67 30: 27(ptr) AccessChain 21(result) 15 68 31: 7(int) Load 30 69 32: 23(ptr) AccessChain 29 15 70 Store 32 31 Volatile Aligned MakePointerAvailableKHR NonPrivatePointerKHR 16 26 71 Return 72 FunctionEnd