1spv.bufferhandle1.frag 2// Module Version 10300 3// Generated by (magic number): 8000b 4// Id's are bound by 52 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 Fragment 4 "main" 14 ExecutionMode 4 OriginUpperLeft 15 Source GLSL 450 16 SourceExtension "GL_EXT_buffer_reference" 17 Name 4 "main" 18 Name 7 "t2" 19 MemberName 7(t2) 0 "f" 20 MemberName 7(t2) 1 "g" 21 Name 13 "blockType" 22 MemberName 13(blockType) 0 "a" 23 MemberName 13(blockType) 1 "b" 24 MemberName 13(blockType) 2 "c" 25 MemberName 13(blockType) 3 "d" 26 MemberName 13(blockType) 4 "e" 27 MemberName 13(blockType) 5 "f" 28 MemberName 13(blockType) 6 "g" 29 Name 15 "t" 30 Name 28 "j" 31 Decorate 7(t2) Block 32 MemberDecorate 7(t2) 0 Offset 0 33 MemberDecorate 7(t2) 1 Offset 8 34 Decorate 11 ArrayStride 4 35 Decorate 13(blockType) Block 36 MemberDecorate 13(blockType) 0 Offset 0 37 MemberDecorate 13(blockType) 1 Offset 4 38 MemberDecorate 13(blockType) 2 Offset 8 39 MemberDecorate 13(blockType) 3 Offset 12 40 MemberDecorate 13(blockType) 4 Offset 16 41 MemberDecorate 13(blockType) 5 Offset 32 42 MemberDecorate 13(blockType) 6 Offset 48 43 Decorate 15(t) Binding 0 44 Decorate 15(t) DescriptorSet 0 45 Decorate 28(j) DecorationAliasedPointerEXT 46 2: TypeVoid 47 3: TypeFunction 2 48 TypeForwardPointer 6 PhysicalStorageBufferEXT 49 7(t2): TypeStruct 6 6 50 8: TypeInt 32 1 51 9: TypeInt 32 0 52 10: 9(int) Constant 2 53 11: TypeArray 8(int) 10 54 12: TypeVector 8(int) 4 55 13(blockType): TypeStruct 8(int) 8(int) 8(int) 8(int) 8(int) 11 12(ivec4) 56 6: TypePointer PhysicalStorageBufferEXT 13(blockType) 57 14: TypePointer StorageBuffer 7(t2) 58 15(t): 14(ptr) Variable StorageBuffer 59 16: 8(int) Constant 0 60 17: TypePointer StorageBuffer 6(ptr) 61 20: 8(int) Constant 1 62 23: TypePointer PhysicalStorageBufferEXT 8(int) 63 27: TypePointer Function 6(ptr) 64 32: 8(int) Constant 3 65 34: 8(int) Constant 2 66 40: 8(int) Constant 5 67 46: 8(int) Constant 6 68 47: 9(int) Constant 1 69 50: 9(int) Constant 5 70 4(main): 2 Function None 3 71 5: Label 72 28(j): 27(ptr) Variable Function 73 18: 17(ptr) AccessChain 15(t) 16 74 19: 6(ptr) Load 18 75 21: 17(ptr) AccessChain 15(t) 20 76 22: 6(ptr) Load 21 77 24: 23(ptr) AccessChain 22 16 78 25: 8(int) Load 24 Aligned 16 79 26: 23(ptr) AccessChain 19 20 80 Store 26 25 Aligned 4 81 29: 17(ptr) AccessChain 15(t) 16 82 30: 6(ptr) Load 29 83 Store 28(j) 30 84 31: 6(ptr) Load 28(j) 85 33: 6(ptr) Load 28(j) 86 35: 23(ptr) AccessChain 33 34 87 36: 8(int) Load 35 Aligned 8 88 37: 23(ptr) AccessChain 31 32 89 Store 37 36 Aligned 4 90 38: 6(ptr) Load 28(j) 91 39: 6(ptr) Load 28(j) 92 41: 23(ptr) AccessChain 39 40 20 93 42: 8(int) Load 41 Aligned 4 94 43: 23(ptr) AccessChain 38 32 95 Store 43 42 Aligned 4 96 44: 6(ptr) Load 28(j) 97 45: 6(ptr) Load 28(j) 98 48: 23(ptr) AccessChain 45 46 47 99 49: 8(int) Load 48 Aligned MakePointerVisibleKHR NonPrivatePointerKHR 4 50 100 51: 23(ptr) AccessChain 44 32 101 Store 51 49 Aligned 4 102 Return 103 FunctionEnd 104