1spv.bufferhandleUvec2.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 71 5 6 Capability Shader 7 Capability PhysicalStorageBufferAddressesEXT 8 Extension "SPV_KHR_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" 16 19 13 ExecutionMode 4 OriginUpperLeft 14 Source GLSL 450 15 SourceExtension "GL_EXT_buffer_reference" 16 SourceExtension "GL_EXT_buffer_reference_uvec2" 17 Name 4 "main" 18 Name 8 "blockType" 19 MemberName 8(blockType) 0 "a" 20 MemberName 8(blockType) 1 "b" 21 MemberName 8(blockType) 2 "c" 22 MemberName 8(blockType) 3 "d" 23 MemberName 8(blockType) 4 "e" 24 Name 13 "b1" 25 Name 16 "h" 26 Name 19 "i" 27 Name 34 "b2" 28 Name 37 "b3" 29 Name 46 "j" 30 Name 54 "carry" 31 Name 55 "ResType" 32 Name 68 "t2" 33 MemberName 68(t2) 0 "f" 34 MemberName 68(t2) 1 "g" 35 Name 70 "t" 36 MemberDecorate 8(blockType) 0 Offset 0 37 MemberDecorate 8(blockType) 1 Offset 4 38 MemberDecorate 8(blockType) 2 Offset 8 39 MemberDecorate 8(blockType) 3 Offset 12 40 MemberDecorate 8(blockType) 4 Offset 16 41 Decorate 8(blockType) Block 42 Decorate 13(b1) DecorationAliasedPointerEXT 43 Decorate 16(h) Flat 44 Decorate 16(h) Location 0 45 Decorate 19(i) Flat 46 Decorate 19(i) Location 1 47 Decorate 34(b2) DecorationAliasedPointerEXT 48 Decorate 37(b3) DecorationAliasedPointerEXT 49 MemberDecorate 68(t2) 0 Offset 0 50 MemberDecorate 68(t2) 1 Offset 8 51 Decorate 68(t2) Block 52 Decorate 70(t) DescriptorSet 0 53 Decorate 70(t) Binding 0 54 2: TypeVoid 55 3: TypeFunction 2 56 TypeForwardPointer 6 PhysicalStorageBufferEXT 57 7: TypeInt 32 1 58 8(blockType): TypeStruct 7(int) 7(int) 7(int) 7(int) 7(int) 59 6: TypePointer PhysicalStorageBufferEXT 8(blockType) 60 9: TypeInt 32 0 61 10: 9(int) Constant 2 62 11: TypeArray 6(ptr) 10 63 12: TypePointer Function 11 64 14: TypeVector 9(int) 2 65 15: TypePointer Input 14(ivec2) 66 16(h): 15(ptr) Variable Input 67 19(i): 15(ptr) Variable Input 68 23: 7(int) Constant 0 69 24: TypePointer Function 6(ptr) 70 27: 7(int) Constant 1 71 30: TypePointer PhysicalStorageBufferEXT 7(int) 72 45: TypePointer Function 14(ivec2) 73 49: 9(int) Constant 0 74 50: TypePointer Function 9(int) 75 53: 9(int) Constant 256 76 55(ResType): TypeStruct 9(int) 9(int) 77 61: 9(int) Constant 1 78 68(t2): TypeStruct 6(ptr) 6(ptr) 79 69: TypePointer StorageBuffer 68(t2) 80 70(t): 69(ptr) Variable StorageBuffer 81 4(main): 2 Function None 3 82 5: Label 83 13(b1): 12(ptr) Variable Function 84 34(b2): 24(ptr) Variable Function 85 37(b3): 24(ptr) Variable Function 86 46(j): 45(ptr) Variable Function 87 54(carry): 50(ptr) Variable Function 88 17: 14(ivec2) Load 16(h) 89 18: 6(ptr) Bitcast 17 90 20: 14(ivec2) Load 19(i) 91 21: 6(ptr) Bitcast 20 92 22: 11 CompositeConstruct 18 21 93 Store 13(b1) 22 94 25: 24(ptr) AccessChain 13(b1) 23 95 26: 6(ptr) Load 25 96 28: 24(ptr) AccessChain 13(b1) 27 97 29: 6(ptr) Load 28 98 31: 30(ptr) AccessChain 29 27 99 32: 7(int) Load 31 Aligned 4 100 33: 30(ptr) AccessChain 26 23 101 Store 33 32 Aligned 16 102 35: 14(ivec2) Load 16(h) 103 36: 6(ptr) Bitcast 35 104 Store 34(b2) 36 105 38: 14(ivec2) Load 19(i) 106 39: 6(ptr) Bitcast 38 107 Store 37(b3) 39 108 40: 6(ptr) Load 34(b2) 109 41: 6(ptr) Load 37(b3) 110 42: 30(ptr) AccessChain 41 27 111 43: 7(int) Load 42 Aligned 4 112 44: 30(ptr) AccessChain 40 23 113 Store 44 43 Aligned 16 114 47: 6(ptr) Load 34(b2) 115 48: 14(ivec2) Bitcast 47 116 Store 46(j) 48 117 51: 50(ptr) AccessChain 46(j) 49 118 52: 9(int) Load 51 119 56: 55(ResType) IAddCarry 52 53 120 57: 9(int) CompositeExtract 56 1 121 Store 54(carry) 57 122 58: 9(int) CompositeExtract 56 0 123 59: 50(ptr) AccessChain 46(j) 49 124 Store 59 58 125 60: 9(int) Load 54(carry) 126 62: 50(ptr) AccessChain 46(j) 61 127 63: 9(int) Load 62 128 64: 9(int) IAdd 63 60 129 65: 50(ptr) AccessChain 46(j) 61 130 Store 65 64 131 66: 14(ivec2) Load 46(j) 132 67: 6(ptr) Bitcast 66 133 Store 34(b2) 67 134 Return 135 FunctionEnd 136