1 spv.bufferhandle9.frag 2 // Module Version 10000 3 // Generated by (magic number): 80007 4 // Id's are bound by 56 5 6 Capability Shader 7 Capability Int64 8 Capability CapabilityPhysicalStorageBufferAddressesEXT 9 Extension "SPV_EXT_physical_storage_buffer" 10 Extension "SPV_KHR_storage_buffer_storage_class" 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel PhysicalStorageBuffer64EXT GLSL450 13 EntryPoint Fragment 4 "main" 16 19 14 ExecutionMode 4 OriginUpperLeft 15 Source GLSL 450 16 SourceExtension "GL_ARB_gpu_shader_int64" 17 SourceExtension "GL_EXT_buffer_reference" 18 Name 4 "main" 19 Name 8 "blockType" 20 MemberName 8(blockType) 0 "a" 21 MemberName 8(blockType) 1 "b" 22 MemberName 8(blockType) 2 "c" 23 MemberName 8(blockType) 3 "d" 24 MemberName 8(blockType) 4 "e" 25 Name 13 "b1" 26 Name 16 "h" 27 Name 19 "i" 28 Name 34 "b2" 29 Name 37 "b3" 30 Name 46 "j" 31 Name 53 "t2" 32 MemberName 53(t2) 0 "f" 33 MemberName 53(t2) 1 "g" 34 Name 55 "t" 35 MemberDecorate 8(blockType) 0 Offset 0 36 MemberDecorate 8(blockType) 1 Offset 4 37 MemberDecorate 8(blockType) 2 Offset 8 38 MemberDecorate 8(blockType) 3 Offset 12 39 MemberDecorate 8(blockType) 4 Offset 16 40 Decorate 8(blockType) Block 41 Decorate 13(b1) DecorationAliasedPointerEXT 42 Decorate 16(h) Flat 43 Decorate 19(i) Flat 44 Decorate 34(b2) DecorationAliasedPointerEXT 45 Decorate 37(b3) DecorationAliasedPointerEXT 46 MemberDecorate 53(t2) 0 Offset 0 47 MemberDecorate 53(t2) 1 Offset 8 48 Decorate 53(t2) Block 49 Decorate 55(t) DescriptorSet 0 50 Decorate 55(t) Binding 0 51 2: TypeVoid 52 3: TypeFunction 2 53 TypeForwardPointer 6 PhysicalStorageBufferEXT 54 7: TypeInt 32 1 55 8(blockType): TypeStruct 7(int) 7(int) 7(int) 7(int) 7(int) 56 6: TypePointer PhysicalStorageBufferEXT 8(blockType) 57 9: TypeInt 32 0 58 10: 9(int) Constant 2 59 11: TypeArray 6(ptr) 10 60 12: TypePointer Function 11 61 14: TypeInt 64 0 62 15: TypePointer Input 14(int64_t) 63 16(h): 15(ptr) Variable Input 64 19(i): 15(ptr) Variable Input 65 23: 7(int) Constant 0 66 24: TypePointer Function 6(ptr) 67 27: 7(int) Constant 1 68 30: TypePointer PhysicalStorageBufferEXT 7(int) 69 45: TypePointer Function 14(int64_t) 70 50: 14(int64_t) Constant 256 0 71 53(t2): TypeStruct 6(ptr) 6(ptr) 72 54: TypePointer StorageBuffer 53(t2) 73 55(t): 54(ptr) Variable StorageBuffer 74 4(main): 2 Function None 3 75 5: Label 76 13(b1): 12(ptr) Variable Function 77 34(b2): 24(ptr) Variable Function 78 37(b3): 24(ptr) Variable Function 79 46(j): 45(ptr) Variable Function 80 17: 14(int64_t) Load 16(h) 81 18: 6(ptr) ConvertUToPtr 17 82 20: 14(int64_t) Load 19(i) 83 21: 6(ptr) ConvertUToPtr 20 84 22: 11 CompositeConstruct 18 21 85 Store 13(b1) 22 86 25: 24(ptr) AccessChain 13(b1) 23 87 26: 6(ptr) Load 25 88 28: 24(ptr) AccessChain 13(b1) 27 89 29: 6(ptr) Load 28 90 31: 30(ptr) AccessChain 29 27 91 32: 7(int) Load 31 Aligned 4 92 33: 30(ptr) AccessChain 26 23 93 Store 33 32 Aligned 16 94 35: 14(int64_t) Load 16(h) 95 36: 6(ptr) ConvertUToPtr 35 96 Store 34(b2) 36 97 38: 14(int64_t) Load 19(i) 98 39: 6(ptr) ConvertUToPtr 38 99 Store 37(b3) 39 100 40: 6(ptr) Load 34(b2) 101 41: 6(ptr) Load 37(b3) 102 42: 30(ptr) AccessChain 41 27 103 43: 7(int) Load 42 Aligned 4 104 44: 30(ptr) AccessChain 40 23 105 Store 44 43 Aligned 16 106 47: 6(ptr) Load 34(b2) 107 48: 14(int64_t) ConvertPtrToU 47 108 Store 46(j) 48 109 49: 14(int64_t) Load 46(j) 110 51: 14(int64_t) IAdd 49 50 111 52: 6(ptr) ConvertUToPtr 51 112 Store 34(b2) 52 113 Return 114 FunctionEnd 115