1spv.bufferhandle7.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 24 5 6 Capability Shader 7 Capability PhysicalStorageBufferAddressesEXT 8 Extension "SPV_EXT_physical_storage_buffer" 9 Extension "SPV_KHR_storage_buffer_storage_class" 10 1: ExtInstImport "GLSL.std.450" 11 MemoryModel PhysicalStorageBuffer64EXT GLSL450 12 EntryPoint Fragment 4 "main" 13 ExecutionMode 4 OriginUpperLeft 14 Source GLSL 450 15 SourceExtension "GL_EXT_buffer_reference" 16 Name 4 "main" 17 Name 7 "t2" 18 MemberName 7(t2) 0 "f" 19 MemberName 7(t2) 1 "g" 20 Name 9 "blockType" 21 MemberName 9(blockType) 0 "a" 22 MemberName 9(blockType) 1 "b" 23 MemberName 9(blockType) 2 "c" 24 MemberName 9(blockType) 3 "d" 25 MemberName 9(blockType) 4 "e" 26 Name 11 "t" 27 Name 14 "t3" 28 MemberName 14(t3) 0 "f" 29 Name 15 "t2" 30 MemberName 15(t2) 0 "f" 31 MemberName 15(t2) 1 "g" 32 Name 17 "u" 33 MemberDecorate 7(t2) 0 Offset 0 34 MemberDecorate 7(t2) 1 Offset 8 35 Decorate 7(t2) Block 36 MemberDecorate 9(blockType) 0 Offset 0 37 MemberDecorate 9(blockType) 1 Offset 4 38 MemberDecorate 9(blockType) 2 Offset 8 39 MemberDecorate 9(blockType) 3 Offset 12 40 MemberDecorate 9(blockType) 4 Offset 16 41 Decorate 9(blockType) Block 42 Decorate 11(t) DescriptorSet 0 43 Decorate 11(t) Binding 0 44 MemberDecorate 14(t3) 0 Offset 0 45 Decorate 14(t3) Block 46 MemberDecorate 15(t2) 0 Offset 0 47 MemberDecorate 15(t2) 1 Offset 8 48 Decorate 15(t2) Block 49 Decorate 17(u) DescriptorSet 0 50 Decorate 17(u) Binding 1 51 2: TypeVoid 52 3: TypeFunction 2 53 TypeForwardPointer 6 PhysicalStorageBufferEXT 54 7(t2): TypeStruct 6 6 55 8: TypeInt 32 1 56 9(blockType): TypeStruct 8(int) 8(int) 8(int) 8(int) 8(int) 57 6: TypePointer PhysicalStorageBufferEXT 9(blockType) 58 10: TypePointer StorageBuffer 7(t2) 59 11(t): 10(ptr) Variable StorageBuffer 60 12: 8(int) Constant 0 61 TypeForwardPointer 13 PhysicalStorageBufferEXT 62 14(t3): TypeStruct 13 63 15(t2): TypeStruct 6(ptr) 6(ptr) 64 13: TypePointer PhysicalStorageBufferEXT 15(t2) 65 16: TypePointer StorageBuffer 14(t3) 66 17(u): 16(ptr) Variable StorageBuffer 67 18: TypePointer StorageBuffer 13(ptr) 68 22: TypePointer StorageBuffer 6(ptr) 69 4(main): 2 Function None 3 70 5: Label 71 19: 18(ptr) AccessChain 17(u) 12 72 20: 13(ptr) Load 19 73 21: 6(ptr) Bitcast 20 74 23: 22(ptr) AccessChain 11(t) 12 75 Store 23 21 76 Return 77 FunctionEnd 78