303f314ce3195ff5fba8de7fbe5c17ffbfba5265
[platform/upstream/glslang.git] / Test / baseResults / spv.debuginfo.glsl.vert.out
1 spv.debuginfo.glsl.vert
2 Validation failed
3 // Module Version 10000
4 // Generated by (magic number): 8000a
5 // Id's are bound by 377
6
7                               Capability Shader
8                               Extension  "SPV_KHR_non_semantic_info"
9                1:             ExtInstImport  "NonSemantic.Shader.DebugInfo.100"
10                2:             ExtInstImport  "GLSL.std.450"
11                               MemoryModel Logical GLSL450
12                               EntryPoint Vertex 13  "main" 30 36 40 47 55 68 248 265 270 295 309 327 362 370
13                8:             String  "uint"
14               14:             String  "main"
15               17:             String  ""
16               25:             String  "float"
17               32:             String  "outColor"
18               38:             String  "inColor"
19               42:             String  "outUV"
20               49:             String  "inUV"
21               52:             String  "int"
22               57:             String  "instanceTexIndex"
23               66:             String  "s"
24               70:             String  "instanceRot"
25               82:             String  "modelview"
26               87:             String  "lightPos"
27               90:             String  "globSpeed"
28               94:             String  "UBO"
29               98:             String  "ubo"
30              109:             String  "c"
31              123:             String  "mx"
32              158:             String  "my"
33              187:             String  "mz"
34              202:             String  "rotMat"
35              228:             String  "gRotMat"
36              246:             String  "locPos"
37              250:             String  "inPos"
38              261:             String  "pos"
39              267:             String  "instanceScale"
40              272:             String  "instancePos"
41              284:             String  "gl_Position"
42              287:             String  "gl_PointSize"
43              289:             String  "gl_CullDistance"
44              292:             String  "gl_PerVertex"
45              311:             String  "outNormal"
46              329:             String  "inNormal"
47              345:             String  "lPos"
48              364:             String  "outLightVec"
49              372:             String  "outViewVec"
50                               Name 13  "main"
51                               Name 30  "outColor"
52                               Name 36  "inColor"
53                               Name 40  "outUV"
54                               Name 47  "inUV"
55                               Name 55  "instanceTexIndex"
56                               Name 64  "s"
57                               Name 68  "instanceRot"
58                               Name 80  "UBO"
59                               MemberName 80(UBO) 0  "projection"
60                               MemberName 80(UBO) 1  "modelview"
61                               MemberName 80(UBO) 2  "lightPos"
62                               MemberName 80(UBO) 3  "locSpeed"
63                               MemberName 80(UBO) 4  "globSpeed"
64                               Name 96  "ubo"
65                               Name 107  "c"
66                               Name 121  "mx"
67                               Name 156  "my"
68                               Name 185  "mz"
69                               Name 200  "rotMat"
70                               Name 226  "gRotMat"
71                               Name 244  "locPos"
72                               Name 248  "inPos"
73                               Name 259  "pos"
74                               Name 265  "instanceScale"
75                               Name 270  "instancePos"
76                               Name 282  "gl_PerVertex"
77                               MemberName 282(gl_PerVertex) 0  "gl_Position"
78                               MemberName 282(gl_PerVertex) 1  "gl_PointSize"
79                               MemberName 282(gl_PerVertex) 2  "gl_ClipDistance"
80                               MemberName 282(gl_PerVertex) 3  "gl_CullDistance"
81                               Name 295  ""
82                               Name 309  "outNormal"
83                               Name 327  "inNormal"
84                               Name 343  "lPos"
85                               Name 362  "outLightVec"
86                               Name 370  "outViewVec"
87                               Decorate 30(outColor) Location 1
88                               Decorate 36(inColor) Location 3
89                               Decorate 40(outUV) Location 2
90                               Decorate 47(inUV) Location 2
91                               Decorate 55(instanceTexIndex) Location 7
92                               Decorate 68(instanceRot) Location 5
93                               MemberDecorate 80(UBO) 0 ColMajor
94                               MemberDecorate 80(UBO) 0 Offset 0
95                               MemberDecorate 80(UBO) 0 MatrixStride 16
96                               MemberDecorate 80(UBO) 1 ColMajor
97                               MemberDecorate 80(UBO) 1 Offset 64
98                               MemberDecorate 80(UBO) 1 MatrixStride 16
99                               MemberDecorate 80(UBO) 2 Offset 128
100                               MemberDecorate 80(UBO) 3 Offset 144
101                               MemberDecorate 80(UBO) 4 Offset 148
102                               Decorate 80(UBO) Block
103                               Decorate 96(ubo) DescriptorSet 0
104                               Decorate 96(ubo) Binding 0
105                               Decorate 248(inPos) Location 0
106                               Decorate 265(instanceScale) Location 6
107                               Decorate 270(instancePos) Location 4
108                               MemberDecorate 282(gl_PerVertex) 0 BuiltIn Position
109                               MemberDecorate 282(gl_PerVertex) 1 BuiltIn PointSize
110                               MemberDecorate 282(gl_PerVertex) 2 BuiltIn ClipDistance
111                               MemberDecorate 282(gl_PerVertex) 3 BuiltIn CullDistance
112                               Decorate 282(gl_PerVertex) Block
113                               Decorate 309(outNormal) Location 0
114                               Decorate 327(inNormal) Location 1
115                               Decorate 362(outLightVec) Location 4
116                               Decorate 370(outViewVec) Location 3
117                3:             TypeVoid
118                4:             TypeFunction 3
119                6:             TypeInt 32 0
120                9:      6(int) Constant 32
121               10:      6(int) Constant 6
122               11:      6(int) Constant 0
123                7:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 8 9 10 11
124               12:      6(int) Constant 3
125                5:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 3
126               16:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(Modf) 0 17
127               19:      6(int) Constant 1
128               20:      6(int) Constant 4
129               21:      6(int) Constant 2
130               18:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(Round) 19 20 16 21
131               15:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 14 5 16 11 11 18 14 12 11
132               24:             TypeFloat 32
133               26:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 25 9 12 11
134               27:             TypeVector 24(float) 3
135               28:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 12
136               29:             TypePointer Output 27(fvec3)
137     30(outColor):     29(ptr) Variable Output
138               33:      6(int) Constant 56
139               34:      6(int) Constant 8
140               31:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 32 28 16 33 11 18 32 30(outColor) 34
141               35:             TypePointer Input 27(fvec3)
142      36(inColor):     35(ptr) Variable Input
143               37:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 38 28 16 33 11 18 38 36(inColor) 34
144        40(outUV):     29(ptr) Variable Output
145               43:      6(int) Constant 57
146               41:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 42 28 16 43 11 18 42 40(outUV) 34
147               44:             TypeVector 24(float) 2
148               45:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 21
149               46:             TypePointer Input 44(fvec2)
150         47(inUV):     46(ptr) Variable Input
151               48:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 49 45 16 43 11 18 49 47(inUV) 34
152               51:             TypeInt 32 1
153               53:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 52 9 20 11
154               54:             TypePointer Input 51(int)
155 55(instanceTexIndex):     54(ptr) Variable Input
156               56:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 57 53 16 43 11 18 57 55(instanceTexIndex) 34
157               63:             TypePointer Function 24(float)
158               67:      6(int) Constant 62
159               65:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 66 26 16 67 11 15 20
160  68(instanceRot):     35(ptr) Variable Input
161               69:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 70 28 16 67 11 18 70 68(instanceRot) 34
162               71:             TypePointer Input 24(float)
163               74:             TypeVector 24(float) 4
164               75:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 20
165               76:             TypeMatrix 74(fvec4) 4
166               78:             TypeBool
167               79:    78(bool) ConstantTrue
168               77:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 75 20 79
169          80(UBO):             TypeStruct 76 76 74(fvec4) 24(float) 24(float)
170               83:      6(int) Constant 42
171               84:      6(int) Constant 7
172               81:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 82 77 16 83 84 11 11 12
173               85:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 82 77 16 83 84 11 11 12
174               88:      6(int) Constant 43
175               86:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 87 75 16 88 84 11 11 12
176               91:      6(int) Constant 45
177               89:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 90 26 16 91 34 11 11 12
178               92:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 90 26 16 91 34 11 11 12
179               93:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 94 19 16 67 11 18 94 11 12 81 85 86 89 92
180               95:             TypePointer Uniform 80(UBO)
181          96(ubo):     95(ptr) Variable Uniform
182               97:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 98 93 16 67 11 18 98 96(ubo) 34
183               99:     51(int) Constant 3
184              100:             TypePointer Uniform 24(float)
185              106:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(Sqrt)
186              110:      6(int) Constant 63
187              108:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 109 26 16 110 11 15 20
188              118:             TypeMatrix 27(fvec3) 3
189              119:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 28 12 79
190              120:             TypePointer Function 118
191              124:      6(int) Constant 65
192              122:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 123 119 16 124 11 15 20
193              125:     51(int) Constant 0
194              128:   24(float) Constant 0
195              130:             TypePointer Function 27(fvec3)
196              132:     51(int) Constant 1
197              138:     51(int) Constant 2
198              139:   24(float) Constant 1065353216
199              140:   27(fvec3) ConstantComposite 128 128 139
200              159:      6(int) Constant 73
201              157:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 158 119 16 159 11 15 20
202              164:   27(fvec3) ConstantComposite 128 139 128
203              188:      6(int) Constant 81
204              186:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 187 119 16 188 11 15 20
205              189:   27(fvec3) ConstantComposite 139 128 128
206              203:      6(int) Constant 85
207              201:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 202 119 16 203 11 15 20
208              212:     51(int) Constant 4
209              225:             TypePointer Function 76
210              229:      6(int) Constant 90
211              227:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 228 77 16 229 11 15 20
212              233:             TypePointer Function 74(fvec4)
213              235:   74(fvec4) ConstantComposite 128 139 128 128
214              242:   74(fvec4) ConstantComposite 128 128 128 139
215              247:      6(int) Constant 95
216              245:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 246 75 16 247 11 15 20
217       248(inPos):     35(ptr) Variable Input
218              249:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 250 28 16 247 11 18 250 248(inPos) 34
219              262:      6(int) Constant 96
220              260:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 261 75 16 262 11 15 20
221 265(instanceScale):     71(ptr) Variable Input
222              266:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 267 26 16 262 11 18 267 265(instanceScale) 34
223 270(instancePos):     35(ptr) Variable Input
224              271:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 272 28 16 262 11 18 272 270(instancePos) 34
225              280:             TypeArray 24(float) 19
226              281:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 26 19
227 282(gl_PerVertex):             TypeStruct 74(fvec4) 24(float) 280 280
228              285:      6(int) Constant 24
229              283:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 284 75 16 19 285 11 11 12
230              286:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 287 26 16 19 83 11 11 12
231              288:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 289 281 16 19 203 11 11 12
232              290:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 289 281 16 19 203 11 11 12
233              293:      6(int) Constant 98
234              291:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 292 19 16 293 11 18 292 11 12 283 286 288 290
235              294:             TypePointer Output 282(gl_PerVertex)
236              295:    294(ptr) Variable Output
237              296:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 17 291 16 293 11 18 17 295 34
238              297:             TypePointer Uniform 76
239              307:             TypePointer Output 74(fvec4)
240   309(outNormal):     29(ptr) Variable Output
241              312:      6(int) Constant 99
242              310:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 311 28 16 312 11 18 311 309(outNormal) 34
243    327(inNormal):     35(ptr) Variable Input
244              328:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 329 28 16 312 11 18 329 327(inNormal) 34
245              346:      6(int) Constant 102
246              344:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 345 28 16 346 11 15 20
247              356:             TypePointer Uniform 74(fvec4)
248 362(outLightVec):     29(ptr) Variable Output
249              365:      6(int) Constant 103
250              363:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 364 28 16 365 11 18 364 362(outLightVec) 34
251  370(outViewVec):     29(ptr) Variable Output
252              373:      6(int) Constant 104
253              371:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 372 28 16 373 11 18 372 370(outViewVec) 34
254         13(main):           3 Function None 4
255               22:             Label
256            64(s):     63(ptr) Variable Function
257           107(c):     63(ptr) Variable Function
258          121(mx):    120(ptr) Variable Function
259          156(my):    120(ptr) Variable Function
260          185(mz):    120(ptr) Variable Function
261      200(rotMat):    120(ptr) Variable Function
262     226(gRotMat):    225(ptr) Variable Function
263      244(locPos):    233(ptr) Variable Function
264         259(pos):    233(ptr) Variable Function
265        343(lPos):    130(ptr) Variable Function
266               23:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 15 13(main)
267               39:   27(fvec3) Load 36(inColor)
268                               Store 30(outColor) 39
269               50:   44(fvec2) Load 47(inUV)
270               58:     51(int) Load 55(instanceTexIndex)
271               59:   24(float) ConvertSToF 58
272               60:   24(float) CompositeExtract 50 0
273               61:   24(float) CompositeExtract 50 1
274               62:   27(fvec3) CompositeConstruct 60 61 59
275                               Store 40(outUV) 62
276               72:     71(ptr) AccessChain 68(instanceRot) 11
277               73:   24(float) Load 72
278              101:    100(ptr) AccessChain 96(ubo) 99
279              102:   24(float) Load 101
280              103:   24(float) FAdd 73 102
281              104:   24(float) ExtInst 2(GLSL.std.450) 13(Sin) 103
282                               Store 64(s) 104
283              105:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 65 104 106
284              111:     71(ptr) AccessChain 68(instanceRot) 11
285              112:   24(float) Load 111
286              113:    100(ptr) AccessChain 96(ubo) 99
287              114:   24(float) Load 113
288              115:   24(float) FAdd 112 114
289              116:   24(float) ExtInst 2(GLSL.std.450) 14(Cos) 115
290                               Store 107(c) 116
291              117:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 108 116 106
292              126:   24(float) Load 107(c)
293              127:   24(float) Load 64(s)
294              129:   27(fvec3) CompositeConstruct 126 127 128
295              131:    130(ptr) AccessChain 121(mx) 125
296                               Store 131 129
297              133:   24(float) Load 64(s)
298              134:   24(float) FNegate 133
299              135:   24(float) Load 107(c)
300              136:   27(fvec3) CompositeConstruct 134 135 128
301              137:    130(ptr) AccessChain 121(mx) 132
302                               Store 137 136
303              141:    130(ptr) AccessChain 121(mx) 138
304                               Store 141 140
305              142:     71(ptr) AccessChain 68(instanceRot) 19
306              143:   24(float) Load 142
307              144:    100(ptr) AccessChain 96(ubo) 99
308              145:   24(float) Load 144
309              146:   24(float) FAdd 143 145
310              147:   24(float) ExtInst 2(GLSL.std.450) 13(Sin) 146
311                               Store 64(s) 147
312              148:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 65 147 106
313              149:     71(ptr) AccessChain 68(instanceRot) 19
314              150:   24(float) Load 149
315              151:    100(ptr) AccessChain 96(ubo) 99
316              152:   24(float) Load 151
317              153:   24(float) FAdd 150 152
318              154:   24(float) ExtInst 2(GLSL.std.450) 14(Cos) 153
319                               Store 107(c) 154
320              155:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 108 154 106
321              160:   24(float) Load 107(c)
322              161:   24(float) Load 64(s)
323              162:   27(fvec3) CompositeConstruct 160 128 161
324              163:    130(ptr) AccessChain 156(my) 125
325                               Store 163 162
326              165:    130(ptr) AccessChain 156(my) 132
327                               Store 165 164
328              166:   24(float) Load 64(s)
329              167:   24(float) FNegate 166
330              168:   24(float) Load 107(c)
331              169:   27(fvec3) CompositeConstruct 167 128 168
332              170:    130(ptr) AccessChain 156(my) 138
333                               Store 170 169
334              171:     71(ptr) AccessChain 68(instanceRot) 21
335              172:   24(float) Load 171
336              173:    100(ptr) AccessChain 96(ubo) 99
337              174:   24(float) Load 173
338              175:   24(float) FAdd 172 174
339              176:   24(float) ExtInst 2(GLSL.std.450) 13(Sin) 175
340                               Store 64(s) 176
341              177:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 65 176 106
342              178:     71(ptr) AccessChain 68(instanceRot) 21
343              179:   24(float) Load 178
344              180:    100(ptr) AccessChain 96(ubo) 99
345              181:   24(float) Load 180
346              182:   24(float) FAdd 179 181
347              183:   24(float) ExtInst 2(GLSL.std.450) 14(Cos) 182
348                               Store 107(c) 183
349              184:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 108 183 106
350              190:    130(ptr) AccessChain 185(mz) 125
351                               Store 190 189
352              191:   24(float) Load 107(c)
353              192:   24(float) Load 64(s)
354              193:   27(fvec3) CompositeConstruct 128 191 192
355              194:    130(ptr) AccessChain 185(mz) 132
356                               Store 194 193
357              195:   24(float) Load 64(s)
358              196:   24(float) FNegate 195
359              197:   24(float) Load 107(c)
360              198:   27(fvec3) CompositeConstruct 128 196 197
361              199:    130(ptr) AccessChain 185(mz) 138
362                               Store 199 198
363              204:         118 Load 185(mz)
364              205:         118 Load 156(my)
365              206:         118 MatrixTimesMatrix 204 205
366              207:         118 Load 121(mx)
367              208:         118 MatrixTimesMatrix 206 207
368                               Store 200(rotMat) 208
369              209:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 201 208 106
370              210:     71(ptr) AccessChain 68(instanceRot) 19
371              211:   24(float) Load 210
372              213:    100(ptr) AccessChain 96(ubo) 212
373              214:   24(float) Load 213
374              215:   24(float) FAdd 211 214
375              216:   24(float) ExtInst 2(GLSL.std.450) 13(Sin) 215
376                               Store 64(s) 216
377              217:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 65 216 106
378              218:     71(ptr) AccessChain 68(instanceRot) 19
379              219:   24(float) Load 218
380              220:    100(ptr) AccessChain 96(ubo) 212
381              221:   24(float) Load 220
382              222:   24(float) FAdd 219 221
383              223:   24(float) ExtInst 2(GLSL.std.450) 14(Cos) 222
384                               Store 107(c) 223
385              224:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 108 223 106
386              230:   24(float) Load 107(c)
387              231:   24(float) Load 64(s)
388              232:   74(fvec4) CompositeConstruct 230 128 231 128
389              234:    233(ptr) AccessChain 226(gRotMat) 125
390                               Store 234 232
391              236:    233(ptr) AccessChain 226(gRotMat) 132
392                               Store 236 235
393              237:   24(float) Load 64(s)
394              238:   24(float) FNegate 237
395              239:   24(float) Load 107(c)
396              240:   74(fvec4) CompositeConstruct 238 128 239 128
397              241:    233(ptr) AccessChain 226(gRotMat) 138
398                               Store 241 240
399              243:    233(ptr) AccessChain 226(gRotMat) 99
400                               Store 243 242
401              251:   27(fvec3) Load 248(inPos)
402              252:         118 Load 200(rotMat)
403              253:   27(fvec3) VectorTimesMatrix 251 252
404              254:   24(float) CompositeExtract 253 0
405              255:   24(float) CompositeExtract 253 1
406              256:   24(float) CompositeExtract 253 2
407              257:   74(fvec4) CompositeConstruct 254 255 256 139
408                               Store 244(locPos) 257
409              258:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 245 257 106
410              263:   74(fvec4) Load 244(locPos)
411              264:   27(fvec3) VectorShuffle 263 263 0 1 2
412              268:   24(float) Load 265(instanceScale)
413              269:   27(fvec3) VectorTimesScalar 264 268
414              273:   27(fvec3) Load 270(instancePos)
415              274:   27(fvec3) FAdd 269 273
416              275:   24(float) CompositeExtract 274 0
417              276:   24(float) CompositeExtract 274 1
418              277:   24(float) CompositeExtract 274 2
419              278:   74(fvec4) CompositeConstruct 275 276 277 139
420                               Store 259(pos) 278
421              279:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 260 278 106
422              298:    297(ptr) AccessChain 96(ubo) 125
423              299:          76 Load 298
424              300:    297(ptr) AccessChain 96(ubo) 132
425              301:          76 Load 300
426              302:          76 MatrixTimesMatrix 299 301
427              303:          76 Load 226(gRotMat)
428              304:          76 MatrixTimesMatrix 302 303
429              305:   74(fvec4) Load 259(pos)
430              306:   74(fvec4) MatrixTimesVector 304 305
431              308:    307(ptr) AccessChain 295 125
432                               Store 308 306
433              313:    297(ptr) AccessChain 96(ubo) 132
434              314:          76 Load 313
435              315:          76 Load 226(gRotMat)
436              316:          76 MatrixTimesMatrix 314 315
437              317:   74(fvec4) CompositeExtract 316 0
438              318:   27(fvec3) VectorShuffle 317 317 0 1 2
439              319:   74(fvec4) CompositeExtract 316 1
440              320:   27(fvec3) VectorShuffle 319 319 0 1 2
441              321:   74(fvec4) CompositeExtract 316 2
442              322:   27(fvec3) VectorShuffle 321 321 0 1 2
443              323:         118 CompositeConstruct 318 320 322
444              324:         118 Load 200(rotMat)
445              325:         118 ExtInst 2(GLSL.std.450) 34(MatrixInverse) 324
446              326:         118 MatrixTimesMatrix 323 325
447              330:   27(fvec3) Load 327(inNormal)
448              331:   27(fvec3) MatrixTimesVector 326 330
449                               Store 309(outNormal) 331
450              332:    297(ptr) AccessChain 96(ubo) 132
451              333:          76 Load 332
452              334:   27(fvec3) Load 248(inPos)
453              335:   27(fvec3) Load 270(instancePos)
454              336:   27(fvec3) FAdd 334 335
455              337:   24(float) CompositeExtract 336 0
456              338:   24(float) CompositeExtract 336 1
457              339:   24(float) CompositeExtract 336 2
458              340:   74(fvec4) CompositeConstruct 337 338 339 139
459              341:   74(fvec4) MatrixTimesVector 333 340
460                               Store 259(pos) 341
461              342:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 260 341 106
462              347:    297(ptr) AccessChain 96(ubo) 132
463              348:          76 Load 347
464              349:   74(fvec4) CompositeExtract 348 0
465              350:   27(fvec3) VectorShuffle 349 349 0 1 2
466              351:   74(fvec4) CompositeExtract 348 1
467              352:   27(fvec3) VectorShuffle 351 351 0 1 2
468              353:   74(fvec4) CompositeExtract 348 2
469              354:   27(fvec3) VectorShuffle 353 353 0 1 2
470              355:         118 CompositeConstruct 350 352 354
471              357:    356(ptr) AccessChain 96(ubo) 138
472              358:   74(fvec4) Load 357
473              359:   27(fvec3) VectorShuffle 358 358 0 1 2
474              360:   27(fvec3) MatrixTimesVector 355 359
475                               Store 343(lPos) 360
476              361:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 344 360 106
477              366:   27(fvec3) Load 343(lPos)
478              367:   74(fvec4) Load 259(pos)
479              368:   27(fvec3) VectorShuffle 367 367 0 1 2
480              369:   27(fvec3) FSub 366 368
481                               Store 362(outLightVec) 369
482              374:   74(fvec4) Load 259(pos)
483              375:   27(fvec3) VectorShuffle 374 374 0 1 2
484              376:   27(fvec3) FNegate 375
485                               Store 370(outViewVec) 376
486                               Return
487                               FunctionEnd