1spv.glsl.register.autoassign.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 142 5 6 Capability Shader 7 Capability Sampled1D 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint Fragment 4 "main" 137 11 ExecutionMode 4 OriginUpperLeft 12 Source GLSL 450 13 Name 4 "main" 14 Name 9 "Func1(" 15 Name 11 "Func2(" 16 Name 13 "Func2_unused(" 17 Name 17 "g_tTex1" 18 Name 21 "g_sSamp1" 19 Name 27 "g_tTex2" 20 Name 29 "g_sSamp2" 21 Name 39 "g_tTex3" 22 Name 46 "g_sSamp3" 23 Name 64 "g_tTex4" 24 Name 69 "g_sSamp4" 25 Name 84 "g_tTex5" 26 Name 86 "g_sSamp5" 27 Name 93 "MyStruct_t" 28 MemberName 93(MyStruct_t) 0 "a" 29 MemberName 93(MyStruct_t) 1 "b" 30 MemberName 93(MyStruct_t) 2 "c" 31 Name 95 "myblock" 32 MemberName 95(myblock) 0 "mystruct" 33 MemberName 95(myblock) 1 "myvec4_a" 34 MemberName 95(myblock) 2 "myvec4_b" 35 MemberName 95(myblock) 3 "myint4_a" 36 Name 97 "" 37 Name 119 "g_tTex_unused1" 38 Name 121 "g_sSamp_unused1" 39 Name 126 "g_tTex_unused2" 40 Name 128 "g_sSamp_unused2" 41 Name 137 "FragColor" 42 Name 141 "g_tTex_unused3" 43 Decorate 17(g_tTex1) DescriptorSet 0 44 Decorate 17(g_tTex1) Binding 11 45 Decorate 21(g_sSamp1) DescriptorSet 0 46 Decorate 21(g_sSamp1) Binding 5 47 Decorate 27(g_tTex2) DescriptorSet 0 48 Decorate 27(g_tTex2) Binding 14 49 Decorate 29(g_sSamp2) DescriptorSet 0 50 Decorate 29(g_sSamp2) Binding 6 51 Decorate 39(g_tTex3) DescriptorSet 0 52 Decorate 39(g_tTex3) Binding 13 53 Decorate 46(g_sSamp3) DescriptorSet 0 54 Decorate 46(g_sSamp3) Binding 7 55 Decorate 64(g_tTex4) DescriptorSet 0 56 Decorate 64(g_tTex4) Binding 15 57 Decorate 69(g_sSamp4) DescriptorSet 0 58 Decorate 69(g_sSamp4) Binding 8 59 Decorate 84(g_tTex5) DescriptorSet 0 60 Decorate 84(g_tTex5) Binding 16 61 Decorate 86(g_sSamp5) DescriptorSet 0 62 Decorate 86(g_sSamp5) Binding 9 63 MemberDecorate 93(MyStruct_t) 0 Offset 0 64 MemberDecorate 93(MyStruct_t) 1 Offset 4 65 MemberDecorate 93(MyStruct_t) 2 Offset 16 66 MemberDecorate 95(myblock) 0 Offset 0 67 MemberDecorate 95(myblock) 1 Offset 32 68 MemberDecorate 95(myblock) 2 Offset 48 69 MemberDecorate 95(myblock) 3 Offset 64 70 Decorate 95(myblock) Block 71 Decorate 97 DescriptorSet 0 72 Decorate 97 Binding 24 73 Decorate 119(g_tTex_unused1) DescriptorSet 0 74 Decorate 119(g_tTex_unused1) Binding 10 75 Decorate 121(g_sSamp_unused1) DescriptorSet 0 76 Decorate 121(g_sSamp_unused1) Binding 0 77 Decorate 126(g_tTex_unused2) DescriptorSet 0 78 Decorate 126(g_tTex_unused2) Binding 12 79 Decorate 128(g_sSamp_unused2) DescriptorSet 0 80 Decorate 128(g_sSamp_unused2) Binding 0 81 Decorate 137(FragColor) Location 0 82 Decorate 141(g_tTex_unused3) DescriptorSet 0 83 Decorate 141(g_tTex_unused3) Binding 0 84 2: TypeVoid 85 3: TypeFunction 2 86 6: TypeFloat 32 87 7: TypeVector 6(float) 4 88 8: TypeFunction 7(fvec4) 89 15: TypeImage 6(float) 1D sampled format:Unknown 90 16: TypePointer UniformConstant 15 91 17(g_tTex1): 16(ptr) Variable UniformConstant 92 19: TypeSampler 93 20: TypePointer UniformConstant 19 94 21(g_sSamp1): 20(ptr) Variable UniformConstant 95 23: TypeSampledImage 15 96 25: 6(float) Constant 1036831949 97 27(g_tTex2): 16(ptr) Variable UniformConstant 98 29(g_sSamp2): 20(ptr) Variable UniformConstant 99 32: 6(float) Constant 1045220557 100 35: TypeInt 32 0 101 36: 35(int) Constant 2 102 37: TypeArray 15 36 103 38: TypePointer UniformConstant 37 104 39(g_tTex3): 38(ptr) Variable UniformConstant 105 40: TypeInt 32 1 106 41: 40(int) Constant 0 107 44: TypeArray 19 36 108 45: TypePointer UniformConstant 44 109 46(g_sSamp3): 45(ptr) Variable UniformConstant 110 50: 6(float) Constant 1050253722 111 53: 40(int) Constant 1 112 61: 35(int) Constant 3 113 62: TypeArray 15 61 114 63: TypePointer UniformConstant 62 115 64(g_tTex4): 63(ptr) Variable UniformConstant 116 67: TypeArray 19 61 117 68: TypePointer UniformConstant 67 118 69(g_sSamp4): 68(ptr) Variable UniformConstant 119 73: 6(float) Constant 1053609165 120 76: 40(int) Constant 2 121 84(g_tTex5): 16(ptr) Variable UniformConstant 122 86(g_sSamp5): 20(ptr) Variable UniformConstant 123 89: 6(float) Constant 1056964608 124 92: TypeVector 6(float) 3 125 93(MyStruct_t): TypeStruct 40(int) 6(float) 92(fvec3) 126 94: TypeVector 40(int) 4 127 95(myblock): TypeStruct 93(MyStruct_t) 7(fvec4) 7(fvec4) 94(ivec4) 128 96: TypePointer Uniform 95(myblock) 129 97: 96(ptr) Variable Uniform 130 98: 35(int) Constant 1 131 99: TypePointer Uniform 6(float) 132119(g_tTex_unused1): 16(ptr) Variable UniformConstant 133121(g_sSamp_unused1): 20(ptr) Variable UniformConstant 134 124: 6(float) Constant 1066192077 135126(g_tTex_unused2): 16(ptr) Variable UniformConstant 136128(g_sSamp_unused2): 20(ptr) Variable UniformConstant 137 131: 6(float) Constant 1067030938 138 136: TypePointer Output 7(fvec4) 139 137(FragColor): 136(ptr) Variable Output 140141(g_tTex_unused3): 16(ptr) Variable UniformConstant 141 4(main): 2 Function None 3 142 5: Label 143 138: 7(fvec4) FunctionCall 9(Func1() 144 139: 7(fvec4) FunctionCall 11(Func2() 145 140: 7(fvec4) FAdd 138 139 146 Store 137(FragColor) 140 147 Return 148 FunctionEnd 149 9(Func1(): 7(fvec4) Function None 8 150 10: Label 151 18: 15 Load 17(g_tTex1) 152 22: 19 Load 21(g_sSamp1) 153 24: 23 SampledImage 18 22 154 26: 7(fvec4) ImageSampleImplicitLod 24 25 155 28: 15 Load 27(g_tTex2) 156 30: 19 Load 29(g_sSamp2) 157 31: 23 SampledImage 28 30 158 33: 7(fvec4) ImageSampleImplicitLod 31 32 159 34: 7(fvec4) FAdd 26 33 160 42: 16(ptr) AccessChain 39(g_tTex3) 41 161 43: 15 Load 42 162 47: 20(ptr) AccessChain 46(g_sSamp3) 41 163 48: 19 Load 47 164 49: 23 SampledImage 43 48 165 51: 7(fvec4) ImageSampleImplicitLod 49 50 166 52: 7(fvec4) FAdd 34 51 167 54: 16(ptr) AccessChain 39(g_tTex3) 53 168 55: 15 Load 54 169 56: 20(ptr) AccessChain 46(g_sSamp3) 53 170 57: 19 Load 56 171 58: 23 SampledImage 55 57 172 59: 7(fvec4) ImageSampleImplicitLod 58 50 173 60: 7(fvec4) FAdd 52 59 174 65: 16(ptr) AccessChain 64(g_tTex4) 53 175 66: 15 Load 65 176 70: 20(ptr) AccessChain 69(g_sSamp4) 53 177 71: 19 Load 70 178 72: 23 SampledImage 66 71 179 74: 7(fvec4) ImageSampleImplicitLod 72 73 180 75: 7(fvec4) FAdd 60 74 181 77: 16(ptr) AccessChain 64(g_tTex4) 76 182 78: 15 Load 77 183 79: 20(ptr) AccessChain 69(g_sSamp4) 76 184 80: 19 Load 79 185 81: 23 SampledImage 78 80 186 82: 7(fvec4) ImageSampleImplicitLod 81 73 187 83: 7(fvec4) FAdd 75 82 188 85: 15 Load 84(g_tTex5) 189 87: 19 Load 86(g_sSamp5) 190 88: 23 SampledImage 85 87 191 90: 7(fvec4) ImageSampleImplicitLod 88 89 192 91: 7(fvec4) FAdd 83 90 193 100: 99(ptr) AccessChain 97 41 76 98 194 101: 6(float) Load 100 195 102: 7(fvec4) CompositeConstruct 101 101 101 101 196 103: 7(fvec4) FAdd 91 102 197 ReturnValue 103 198 FunctionEnd 199 11(Func2(): 7(fvec4) Function None 8 200 12: Label 201 106: 15 Load 17(g_tTex1) 202 107: 19 Load 21(g_sSamp1) 203 108: 23 SampledImage 106 107 204 109: 7(fvec4) ImageSampleImplicitLod 108 25 205 110: 16(ptr) AccessChain 39(g_tTex3) 53 206 111: 15 Load 110 207 112: 20(ptr) AccessChain 46(g_sSamp3) 53 208 113: 19 Load 112 209 114: 23 SampledImage 111 113 210 115: 7(fvec4) ImageSampleImplicitLod 114 50 211 116: 7(fvec4) FAdd 109 115 212 ReturnValue 116 213 FunctionEnd 21413(Func2_unused(): 7(fvec4) Function None 8 215 14: Label 216 120: 15 Load 119(g_tTex_unused1) 217 122: 19 Load 121(g_sSamp_unused1) 218 123: 23 SampledImage 120 122 219 125: 7(fvec4) ImageSampleImplicitLod 123 124 220 127: 15 Load 126(g_tTex_unused2) 221 129: 19 Load 128(g_sSamp_unused2) 222 130: 23 SampledImage 127 129 223 132: 7(fvec4) ImageSampleImplicitLod 130 131 224 133: 7(fvec4) FAdd 125 132 225 ReturnValue 133 226 FunctionEnd 227