1spv.bufferhandle8.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 27 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 8 "Blah" 18 MemberName 8(Blah) 0 "t1" 19 MemberName 8(Blah) 1 "t2" 20 Name 10 "T1" 21 MemberName 10(T1) 0 "x" 22 Name 11 "T2" 23 MemberName 11(T2) 0 "x" 24 Name 13 "T3" 25 MemberName 13(T3) 0 "Bindings" 26 Name 15 "t3" 27 Name 23 "t2" 28 MemberName 23(t2) 0 "f" 29 MemberName 23(t2) 1 "g" 30 Name 24 "blockType" 31 MemberName 24(blockType) 0 "a" 32 MemberName 24(blockType) 1 "b" 33 MemberName 24(blockType) 2 "c" 34 MemberName 24(blockType) 3 "d" 35 MemberName 24(blockType) 4 "e" 36 Name 26 "t" 37 MemberDecorate 8(Blah) 0 Offset 0 38 MemberDecorate 8(Blah) 1 Offset 8 39 MemberDecorate 10(T1) 0 Offset 0 40 Decorate 10(T1) Block 41 MemberDecorate 11(T2) 0 Offset 0 42 Decorate 11(T2) Block 43 Decorate 12 ArrayStride 16 44 MemberDecorate 13(T3) 0 Offset 0 45 Decorate 13(T3) Block 46 Decorate 15(t3) DescriptorSet 0 47 Decorate 15(t3) Binding 0 48 MemberDecorate 23(t2) 0 Offset 0 49 MemberDecorate 23(t2) 1 Offset 8 50 Decorate 23(t2) Block 51 MemberDecorate 24(blockType) 0 Offset 0 52 MemberDecorate 24(blockType) 1 Offset 4 53 MemberDecorate 24(blockType) 2 Offset 8 54 MemberDecorate 24(blockType) 3 Offset 12 55 MemberDecorate 24(blockType) 4 Offset 16 56 Decorate 24(blockType) Block 57 Decorate 26(t) DescriptorSet 0 58 Decorate 26(t) Binding 0 59 2: TypeVoid 60 3: TypeFunction 2 61 TypeForwardPointer 6 PhysicalStorageBufferEXT 62 TypeForwardPointer 7 PhysicalStorageBufferEXT 63 8(Blah): TypeStruct 6 7 64 9: TypeInt 32 1 65 10(T1): TypeStruct 9(int) 66 6: TypePointer PhysicalStorageBufferEXT 10(T1) 67 11(T2): TypeStruct 9(int) 68 7: TypePointer PhysicalStorageBufferEXT 11(T2) 69 12: TypeRuntimeArray 8(Blah) 70 13(T3): TypeStruct 12 71 14: TypePointer StorageBuffer 13(T3) 72 15(t3): 14(ptr) Variable StorageBuffer 73 16: 9(int) Constant 0 74 17: 9(int) Constant 1 75 18: TypePointer StorageBuffer 8(Blah) 76 TypeForwardPointer 22 PhysicalStorageBufferEXT 77 23(t2): TypeStruct 22 22 78 24(blockType): TypeStruct 9(int) 9(int) 9(int) 9(int) 9(int) 79 22: TypePointer PhysicalStorageBufferEXT 24(blockType) 80 25: TypePointer StorageBuffer 23(t2) 81 26(t): 25(ptr) Variable StorageBuffer 82 4(main): 2 Function None 3 83 5: Label 84 19: 18(ptr) AccessChain 15(t3) 16 17 85 20: 8(Blah) Load 19 86 21: 18(ptr) AccessChain 15(t3) 16 16 87 Store 21 20 88 Return 89 FunctionEnd 90