• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.debuginfo.glsl.frag
2Validation failed
3// Module Version 10000
4// Generated by (magic number): 8000b
5// Id's are bound by 704
6
7                              Capability Shader
8                              Capability ImageQuery
9                              Extension  "SPV_KHR_non_semantic_info"
10               1:             ExtInstImport  "NonSemantic.Shader.DebugInfo.100"
11               2:             ExtInstImport  "GLSL.std.450"
12                              MemoryModel Logical GLSL450
13                              EntryPoint Fragment 13  "main" 400 445
14                              ExecutionMode 13 OriginUpperLeft
15               8:             String  "uint"
16              14:             String  "main"
17              17:             String  ""
18              24:             String  "float"
19              39:             String  "textureProj"
20              45:             String  "P"
21              49:             String  "layer"
22              52:             String  "offset"
23              59:             String  "filterPCF"
24              65:             String  "sc"
25              77:             String  "shadow"
26              83:             String  "fragcolor"
27              86:             String  "fragpos"
28              96:             String  "shadowCoord"
29             118:             String  "bool"
30             132:             String  "dist"
31             137:             String  "type.2d.image"
32             138:             String  "@type.2d.image"
33             142:             String  "type.sampled.image"
34             143:             String  "@type.sampled.image"
35             147:             String  "samplerShadowMap"
36             181:             String  "int"
37             188:             String  "texDim"
38             200:             String  "scale"
39             206:             String  "dx"
40             218:             String  "dy"
41             229:             String  "shadowFactor"
42             234:             String  "count"
43             239:             String  "range"
44             245:             String  "x"
45             261:             String  "y"
46             307:             String  "i"
47             321:             String  "shadowClip"
48             329:             String  "color"
49             335:             String  "viewMatrix"
50             338:             String  "Light"
51             344:             String  "lights"
52             347:             String  "debugDisplayTarget"
53             351:             String  "UBO"
54             355:             String  "ubo"
55             387:             String  "fragPos"
56             397:             String  "samplerposition"
57             402:             String  "inUV"
58             408:             String  "normal"
59             413:             String  "samplerNormal"
60             420:             String  "albedo"
61             425:             String  "samplerAlbedo"
62             447:             String  "outFragColor"
63             509:             String  "N"
64             528:             String  "L"
65             548:             String  "V"
66             560:             String  "lightCosInnerAngle"
67             566:             String  "lightCosOuterAngle"
68             572:             String  "lightRange"
69             578:             String  "dir"
70             593:             String  "cosDir"
71             601:             String  "spotEffect"
72             610:             String  "heightAttenuation"
73             618:             String  "NdotL"
74             627:             String  "diff"
75             634:             String  "R"
76             643:             String  "NdotR"
77             652:             String  "spec"
78                              Name 13  "main"
79                              Name 38  "textureProj(vf4;f1;vf2;"
80                              Name 35  "P"
81                              Name 36  "layer"
82                              Name 37  "offset"
83                              Name 58  "filterPCF(vf4;f1;"
84                              Name 56  "sc"
85                              Name 57  "layer"
86                              Name 76  "shadow(vf3;vf3;"
87                              Name 74  "fragcolor"
88                              Name 75  "fragpos"
89                              Name 89  "shadow"
90                              Name 94  "shadowCoord"
91                              Name 130  "dist"
92                              Name 145  "samplerShadowMap"
93                              Name 186  "texDim"
94                              Name 198  "scale"
95                              Name 204  "dx"
96                              Name 216  "dy"
97                              Name 227  "shadowFactor"
98                              Name 232  "count"
99                              Name 237  "range"
100                              Name 243  "x"
101                              Name 259  "y"
102                              Name 284  "param"
103                              Name 286  "param"
104                              Name 288  "param"
105                              Name 305  "i"
106                              Name 319  "shadowClip"
107                              Name 327  "Light"
108                              MemberName 327(Light) 0  "position"
109                              MemberName 327(Light) 1  "target"
110                              MemberName 327(Light) 2  "color"
111                              MemberName 327(Light) 3  "viewMatrix"
112                              Name 341  "UBO"
113                              MemberName 341(UBO) 0  "viewPos"
114                              MemberName 341(UBO) 1  "lights"
115                              MemberName 341(UBO) 2  "useShadows"
116                              MemberName 341(UBO) 3  "debugDisplayTarget"
117                              Name 353  "ubo"
118                              Name 366  "shadowFactor"
119                              Name 372  "param"
120                              Name 374  "param"
121                              Name 385  "fragPos"
122                              Name 395  "samplerposition"
123                              Name 400  "inUV"
124                              Name 406  "normal"
125                              Name 411  "samplerNormal"
126                              Name 418  "albedo"
127                              Name 423  "samplerAlbedo"
128                              Name 445  "outFragColor"
129                              Name 450  "param"
130                              Name 451  "param"
131                              Name 499  "fragcolor"
132                              Name 507  "N"
133                              Name 514  "i"
134                              Name 526  "L"
135                              Name 538  "dist"
136                              Name 546  "V"
137                              Name 558  "lightCosInnerAngle"
138                              Name 564  "lightCosOuterAngle"
139                              Name 570  "lightRange"
140                              Name 576  "dir"
141                              Name 591  "cosDir"
142                              Name 599  "spotEffect"
143                              Name 608  "heightAttenuation"
144                              Name 616  "NdotL"
145                              Name 625  "diff"
146                              Name 632  "R"
147                              Name 641  "NdotR"
148                              Name 650  "spec"
149                              Name 694  "param"
150                              Name 696  "param"
151                              Decorate 145(samplerShadowMap) DescriptorSet 0
152                              Decorate 145(samplerShadowMap) Binding 5
153                              MemberDecorate 327(Light) 0 Offset 0
154                              MemberDecorate 327(Light) 1 Offset 16
155                              MemberDecorate 327(Light) 2 Offset 32
156                              MemberDecorate 327(Light) 3 ColMajor
157                              MemberDecorate 327(Light) 3 Offset 48
158                              MemberDecorate 327(Light) 3 MatrixStride 16
159                              Decorate 339 ArrayStride 112
160                              MemberDecorate 341(UBO) 0 Offset 0
161                              MemberDecorate 341(UBO) 1 Offset 16
162                              MemberDecorate 341(UBO) 2 Offset 352
163                              MemberDecorate 341(UBO) 3 Offset 356
164                              Decorate 341(UBO) Block
165                              Decorate 353(ubo) DescriptorSet 0
166                              Decorate 353(ubo) Binding 4
167                              Decorate 395(samplerposition) DescriptorSet 0
168                              Decorate 395(samplerposition) Binding 1
169                              Decorate 400(inUV) Location 0
170                              Decorate 411(samplerNormal) DescriptorSet 0
171                              Decorate 411(samplerNormal) Binding 2
172                              Decorate 423(samplerAlbedo) DescriptorSet 0
173                              Decorate 423(samplerAlbedo) Binding 3
174                              Decorate 445(outFragColor) Location 0
175               3:             TypeVoid
176               4:             TypeFunction 3
177               6:             TypeInt 32 0
178               9:      6(int) Constant 32
179              10:      6(int) Constant 6
180              11:      6(int) Constant 0
181               7:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 8 9 10 11
182              12:      6(int) Constant 3
183               5:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 3
184              16:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(Modf) 0 17
185              19:      6(int) Constant 1
186              20:      6(int) Constant 4
187              21:      6(int) Constant 2
188              18:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(Round) 19 20 16 21
189              15:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 14 5 16 11 11 18 14 12 11
190              23:             TypeFloat 32
191              25:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 24 9 12 11
192              26:             TypeVector 23(float) 4
193              27:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 25 20
194              28:             TypePointer Function 26(fvec4)
195              29:             TypePointer Function 23(float)
196              30:             TypeVector 23(float) 2
197              31:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 25 21
198              32:             TypePointer Function 30(fvec2)
199              33:             TypeFunction 23(float) 28(ptr) 29(ptr) 32(ptr)
200              34:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 25 27 25 31
201              40:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 39 34 16 11 11 18 39 12 11
202              44:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 45 27 16 11 11 40 20 19
203              47:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(Sqrt)
204              48:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 49 25 16 11 11 40 20 21
205              51:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 52 31 16 11 11 40 20 12
206              54:             TypeFunction 23(float) 28(ptr) 29(ptr)
207              55:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 25 27 25
208              60:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 59 55 16 11 11 18 59 12 11
209              64:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 65 27 16 11 11 60 20 19
210              67:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 49 25 16 11 11 60 20 21
211              69:             TypeVector 23(float) 3
212              70:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 25 12
213              71:             TypePointer Function 69(fvec3)
214              72:             TypeFunction 69(fvec3) 71(ptr) 71(ptr)
215              73:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 70 70 70
216              78:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 77 73 16 11 11 18 77 12 11
217              82:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 83 70 16 11 11 78 20 19
218              85:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 86 70 16 11 11 78 20 21
219              91:      6(int) Constant 59
220              90:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 77 25 16 91 11 40 20
221              93:   23(float) Constant 1065353216
222              97:      6(int) Constant 60
223              95:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 96 27 16 97 11 40 20
224             106:   23(float) Constant 1056964608
225             114:             TypeBool
226             117:   23(float) Constant 3212836864
227             119:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
228             125:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
229             133:      6(int) Constant 65
230             131:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 132 25 16 133 11 40 20
231             135:             TypeImage 23(float) 2D array sampled format:Unknown
232             139:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(Unknown)
233             136:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 137 11 16 133 11 18 138 139 12
234             140:             TypeSampledImage 135
235             141:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 142 11 16 133 11 18 143 139 12
236             144:             TypePointer UniformConstant 140
237145(samplerShadowMap):    144(ptr) Variable UniformConstant
238             148:      6(int) Constant 8
239             146:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 147 141 16 133 11 18 147 145(samplerShadowMap) 148
240             162:   23(float) Constant 0
241             163:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
242             170:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
243             175:   23(float) Constant 1048576000
244             180:             TypeInt 32 1
245             182:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 181 9 20 11
246             183:             TypeVector 180(int) 2
247             184:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 182 21
248             185:             TypePointer Function 183(ivec2)
249             189:      6(int) Constant 76
250             187:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 188 184 16 189 11 60 20
251             192:    180(int) Constant 0
252             194:             TypeVector 180(int) 3
253             195:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 182 12
254             201:      6(int) Constant 77
255             199:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 200 25 16 201 11 60 20
256             203:   23(float) Constant 1069547520
257             207:      6(int) Constant 78
258             205:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 206 25 16 207 11 60 20
259             211:             TypePointer Function 180(int)
260             219:      6(int) Constant 79
261             217:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 218 25 16 219 11 60 20
262             230:      6(int) Constant 81
263             228:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 229 25 16 230 11 60 20
264             235:      6(int) Constant 82
265             233:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 234 182 16 235 11 60 20
266             240:      6(int) Constant 83
267             238:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 239 182 16 240 11 60 20
268             242:    180(int) Constant 1
269             246:      6(int) Constant 85
270             244:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 245 182 16 246 11 60 20
271             257:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
272             262:      6(int) Constant 87
273             260:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 261 182 16 262 11 60 20
274             273:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
275             308:      6(int) Constant 98
276             306:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 307 182 16 308 11 78 20
277             316:    180(int) Constant 3
278             317:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
279             322:      6(int) Constant 100
280             320:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 321 27 16 322 11 78 20
281             324:             TypeMatrix 26(fvec4) 4
282             326:   114(bool) ConstantTrue
283             325:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 27 20 326
284      327(Light):             TypeStruct 26(fvec4) 26(fvec4) 26(fvec4) 324
285             330:      6(int) Constant 45
286             331:      6(int) Constant 7
287             328:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 329 27 16 330 331 11 11 12
288             332:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 329 27 16 330 331 11 11 12
289             333:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 329 27 16 330 331 11 11 12
290             336:      6(int) Constant 46
291             334:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 335 325 16 336 331 11 11 12
292             337:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 338 19 16 322 11 18 338 11 12 328 332 333 334
293             339:             TypeArray 327(Light) 12
294             340:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 337 12
295        341(UBO):             TypeStruct 26(fvec4) 339 180(int) 180(int)
296             342:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 329 27 16 330 331 11 11 12
297             345:      6(int) Constant 52
298             343:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 344 340 16 345 148 11 11 12
299             348:      6(int) Constant 54
300             346:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 347 182 16 348 10 11 11 12
301             349:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 347 182 16 348 10 11 11 12
302             350:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 351 19 16 322 11 18 351 11 12 342 343 346 349
303             352:             TypePointer Uniform 341(UBO)
304        353(ubo):    352(ptr) Variable Uniform
305             354:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 355 350 16 322 11 18 355 353(ubo) 148
306             357:             TypePointer Uniform 324
307             368:      6(int) Constant 104
308             367:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 229 25 16 368 11 78 20
309             388:      6(int) Constant 117
310             386:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 387 70 16 388 11 15 20
311             390:             TypeImage 23(float) 2D sampled format:Unknown
312             391:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 137 11 16 388 11 18 138 139 12
313             392:             TypeSampledImage 390
314             393:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 142 11 16 388 11 18 143 139 12
315             394:             TypePointer UniformConstant 392
316395(samplerposition):    394(ptr) Variable UniformConstant
317             396:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 397 393 16 388 11 18 397 395(samplerposition) 148
318             399:             TypePointer Input 30(fvec2)
319       400(inUV):    399(ptr) Variable Input
320             401:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 402 31 16 388 11 18 402 400(inUV) 148
321             409:      6(int) Constant 118
322             407:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 408 70 16 409 11 15 20
323411(samplerNormal):    394(ptr) Variable UniformConstant
324             412:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 413 393 16 409 11 18 413 411(samplerNormal) 148
325             421:      6(int) Constant 119
326             419:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 420 27 16 421 11 15 20
327423(samplerAlbedo):    394(ptr) Variable UniformConstant
328             424:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 425 393 16 421 11 18 425 423(samplerAlbedo) 148
329             429:             TypePointer Uniform 180(int)
330             432:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
331             444:             TypePointer Output 26(fvec4)
332445(outFragColor):    444(ptr) Variable Output
333             448:      6(int) Constant 125
334             446:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 447 27 16 448 11 18 447 445(outFragColor) 148
335             449:   69(fvec3) ConstantComposite 93 93 93
336             454:             TypePointer Output 23(float)
337             501:      6(int) Constant 145
338             500:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 83 70 16 501 11 15 20
339             505:   23(float) Constant 1036831949
340             510:      6(int) Constant 147
341             508:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 509 70 16 510 11 15 20
342             516:      6(int) Constant 149
343             515:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 307 182 16 516 11 15 20
344             524:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
345             529:      6(int) Constant 152
346             527:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 528 70 16 529 11 15 20
347             532:             TypePointer Uniform 26(fvec4)
348             540:      6(int) Constant 154
349             539:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 132 25 16 540 11 15 20
350             549:      6(int) Constant 158
351             547:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 548 70 16 549 11 15 20
352             561:      6(int) Constant 161
353             559:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 560 25 16 561 11 15 20
354             563:   23(float) Constant 1064781546
355             567:      6(int) Constant 162
356             565:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 566 25 16 567 11 15 20
357             569:   23(float) Constant 1063781322
358             573:      6(int) Constant 163
359             571:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 572 25 16 573 11 15 20
360             575:   23(float) Constant 1120403456
361             579:      6(int) Constant 166
362             577:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 578 70 16 579 11 15 20
363             594:      6(int) Constant 169
364             592:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 593 25 16 594 11 15 20
365             602:      6(int) Constant 170
366             600:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 601 25 16 602 11 15 20
367             611:      6(int) Constant 171
368             609:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 610 25 16 611 11 15 20
369             619:      6(int) Constant 174
370             617:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 618 25 16 619 11 15 20
371             628:      6(int) Constant 175
372             626:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 627 70 16 628 11 15 20
373             635:      6(int) Constant 178
374             633:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 634 70 16 635 11 15 20
375             644:      6(int) Constant 179
376             642:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 643 25 16 644 11 15 20
377             653:      6(int) Constant 180
378             651:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 652 70 16 653 11 15 20
379             656:   23(float) Constant 1098907648
380             661:   23(float) Constant 1075838976
381             676:    180(int) Constant 2
382             690:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
383        13(main):           3 Function None 4
384              22:             Label
385    385(fragPos):     71(ptr) Variable Function
386     406(normal):     71(ptr) Variable Function
387     418(albedo):     28(ptr) Variable Function
388      450(param):     71(ptr) Variable Function
389      451(param):     71(ptr) Variable Function
390  499(fragcolor):     71(ptr) Variable Function
391          507(N):     71(ptr) Variable Function
392          514(i):    211(ptr) Variable Function
393          526(L):     71(ptr) Variable Function
394       538(dist):     29(ptr) Variable Function
395          546(V):     71(ptr) Variable Function
396558(lightCosInnerAngle):     29(ptr) Variable Function
397564(lightCosOuterAngle):     29(ptr) Variable Function
398 570(lightRange):     29(ptr) Variable Function
399        576(dir):     71(ptr) Variable Function
400     591(cosDir):     29(ptr) Variable Function
401 599(spotEffect):     29(ptr) Variable Function
402608(heightAttenuation):     29(ptr) Variable Function
403      616(NdotL):     29(ptr) Variable Function
404       625(diff):     71(ptr) Variable Function
405          632(R):     71(ptr) Variable Function
406      641(NdotR):     29(ptr) Variable Function
407       650(spec):     71(ptr) Variable Function
408      694(param):     71(ptr) Variable Function
409      696(param):     71(ptr) Variable Function
410             384:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 15 13(main)
411             389:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 386 385(fragPos) 47
412             398:         392 Load 395(samplerposition)
413             403:   30(fvec2) Load 400(inUV)
414             404:   26(fvec4) ImageSampleImplicitLod 398 403
415             405:   69(fvec3) VectorShuffle 404 404 0 1 2
416                              Store 385(fragPos) 405
417             410:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 407 406(normal) 47
418             414:         392 Load 411(samplerNormal)
419             415:   30(fvec2) Load 400(inUV)
420             416:   26(fvec4) ImageSampleImplicitLod 414 415
421             417:   69(fvec3) VectorShuffle 416 416 0 1 2
422                              Store 406(normal) 417
423             422:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 419 418(albedo) 47
424             426:         392 Load 423(samplerAlbedo)
425             427:   30(fvec2) Load 400(inUV)
426             428:   26(fvec4) ImageSampleImplicitLod 426 427
427                              Store 418(albedo) 428
428             430:    429(ptr) AccessChain 353(ubo) 316
429             431:    180(int) Load 430
430             433:   114(bool) SGreaterThan 431 192
431                              SelectionMerge 435 None
432                              BranchConditional 433 434 435
433             434:               Label
434             436:    429(ptr)   AccessChain 353(ubo) 316
435             437:    180(int)   Load 436
436                                SelectionMerge 443 None
437                                Switch 437 443
438                                       case 1: 438
439                                       case 2: 439
440                                       case 3: 440
441                                       case 4: 441
442                                       case 5: 442
443             438:                 Label
444                                  Store 450(param) 449
445             452:   69(fvec3)     Load 385(fragPos)
446                                  Store 451(param) 452
447             453:   69(fvec3)     FunctionCall 76(shadow(vf3;vf3;) 450(param) 451(param)
448             455:    454(ptr)     AccessChain 445(outFragColor) 11
449             456:   23(float)     CompositeExtract 453 0
450                                  Store 455 456
451             457:    454(ptr)     AccessChain 445(outFragColor) 19
452             458:   23(float)     CompositeExtract 453 1
453                                  Store 457 458
454             459:    454(ptr)     AccessChain 445(outFragColor) 21
455             460:   23(float)     CompositeExtract 453 2
456                                  Store 459 460
457                                  Branch 443
458             439:                 Label
459             462:   69(fvec3)     Load 385(fragPos)
460             463:    454(ptr)     AccessChain 445(outFragColor) 11
461             464:   23(float)     CompositeExtract 462 0
462                                  Store 463 464
463             465:    454(ptr)     AccessChain 445(outFragColor) 19
464             466:   23(float)     CompositeExtract 462 1
465                                  Store 465 466
466             467:    454(ptr)     AccessChain 445(outFragColor) 21
467             468:   23(float)     CompositeExtract 462 2
468                                  Store 467 468
469                                  Branch 443
470             440:                 Label
471             470:   69(fvec3)     Load 406(normal)
472             471:    454(ptr)     AccessChain 445(outFragColor) 11
473             472:   23(float)     CompositeExtract 470 0
474                                  Store 471 472
475             473:    454(ptr)     AccessChain 445(outFragColor) 19
476             474:   23(float)     CompositeExtract 470 1
477                                  Store 473 474
478             475:    454(ptr)     AccessChain 445(outFragColor) 21
479             476:   23(float)     CompositeExtract 470 2
480                                  Store 475 476
481                                  Branch 443
482             441:                 Label
483             478:   26(fvec4)     Load 418(albedo)
484             479:   69(fvec3)     VectorShuffle 478 478 0 1 2
485             480:    454(ptr)     AccessChain 445(outFragColor) 11
486             481:   23(float)     CompositeExtract 479 0
487                                  Store 480 481
488             482:    454(ptr)     AccessChain 445(outFragColor) 19
489             483:   23(float)     CompositeExtract 479 1
490                                  Store 482 483
491             484:    454(ptr)     AccessChain 445(outFragColor) 21
492             485:   23(float)     CompositeExtract 479 2
493                                  Store 484 485
494                                  Branch 443
495             442:                 Label
496             487:   26(fvec4)     Load 418(albedo)
497             488:   69(fvec3)     VectorShuffle 487 487 3 3 3
498             489:    454(ptr)     AccessChain 445(outFragColor) 11
499             490:   23(float)     CompositeExtract 488 0
500                                  Store 489 490
501             491:    454(ptr)     AccessChain 445(outFragColor) 19
502             492:   23(float)     CompositeExtract 488 1
503                                  Store 491 492
504             493:    454(ptr)     AccessChain 445(outFragColor) 21
505             494:   23(float)     CompositeExtract 488 2
506                                  Store 493 494
507                                  Branch 443
508             443:               Label
509             497:    454(ptr)   AccessChain 445(outFragColor) 12
510                                Store 497 93
511                                Return
512             435:             Label
513             502:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 500 499(fragcolor) 47
514             503:   26(fvec4) Load 418(albedo)
515             504:   69(fvec3) VectorShuffle 503 503 0 1 2
516             506:   69(fvec3) VectorTimesScalar 504 505
517                              Store 499(fragcolor) 506
518             511:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 508 507(N) 47
519             512:   69(fvec3) Load 406(normal)
520             513:   69(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 512
521                              Store 507(N) 513
522             517:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 515 514(i) 47
523                              Store 514(i) 192
524                              Branch 518
525             518:             Label
526                              LoopMerge 520 521 None
527                              Branch 522
528             522:             Label
529             523:    180(int) Load 514(i)
530             525:   114(bool) SLessThan 523 316
531                              BranchConditional 525 519 520
532             519:               Label
533             530:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 527 526(L) 47
534             531:    180(int)   Load 514(i)
535             533:    532(ptr)   AccessChain 353(ubo) 242 531 192
536             534:   26(fvec4)   Load 533
537             535:   69(fvec3)   VectorShuffle 534 534 0 1 2
538             536:   69(fvec3)   Load 385(fragPos)
539             537:   69(fvec3)   FSub 535 536
540                                Store 526(L) 537
541             541:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 539 538(dist) 47
542             542:   69(fvec3)   Load 526(L)
543             543:   23(float)   ExtInst 2(GLSL.std.450) 66(Length) 542
544                                Store 538(dist) 543
545             544:   69(fvec3)   Load 526(L)
546             545:   69(fvec3)   ExtInst 2(GLSL.std.450) 69(Normalize) 544
547                                Store 526(L) 545
548             550:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 547 546(V) 47
549             551:    532(ptr)   AccessChain 353(ubo) 192
550             552:   26(fvec4)   Load 551
551             553:   69(fvec3)   VectorShuffle 552 552 0 1 2
552             554:   69(fvec3)   Load 385(fragPos)
553             555:   69(fvec3)   FSub 553 554
554                                Store 546(V) 555
555             556:   69(fvec3)   Load 546(V)
556             557:   69(fvec3)   ExtInst 2(GLSL.std.450) 69(Normalize) 556
557                                Store 546(V) 557
558             562:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 559 558(lightCosInnerAngle) 47
559                                Store 558(lightCosInnerAngle) 563
560             568:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 565 564(lightCosOuterAngle) 47
561                                Store 564(lightCosOuterAngle) 569
562             574:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 571 570(lightRange) 47
563                                Store 570(lightRange) 575
564             580:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 577 576(dir) 47
565             581:    180(int)   Load 514(i)
566             582:    532(ptr)   AccessChain 353(ubo) 242 581 192
567             583:   26(fvec4)   Load 582
568             584:   69(fvec3)   VectorShuffle 583 583 0 1 2
569             585:    180(int)   Load 514(i)
570             586:    532(ptr)   AccessChain 353(ubo) 242 585 242
571             587:   26(fvec4)   Load 586
572             588:   69(fvec3)   VectorShuffle 587 587 0 1 2
573             589:   69(fvec3)   FSub 584 588
574             590:   69(fvec3)   ExtInst 2(GLSL.std.450) 69(Normalize) 589
575                                Store 576(dir) 590
576             595:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 592 591(cosDir) 47
577             596:   69(fvec3)   Load 526(L)
578             597:   69(fvec3)   Load 576(dir)
579             598:   23(float)   Dot 596 597
580                                Store 591(cosDir) 598
581             603:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 600 599(spotEffect) 47
582             604:   23(float)   Load 564(lightCosOuterAngle)
583             605:   23(float)   Load 558(lightCosInnerAngle)
584             606:   23(float)   Load 591(cosDir)
585             607:   23(float)   ExtInst 2(GLSL.std.450) 49(SmoothStep) 604 605 606
586                                Store 599(spotEffect) 607
587             612:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 609 608(heightAttenuation) 47
588             613:   23(float)   Load 570(lightRange)
589             614:   23(float)   Load 538(dist)
590             615:   23(float)   ExtInst 2(GLSL.std.450) 49(SmoothStep) 613 162 614
591                                Store 608(heightAttenuation) 615
592             620:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 617 616(NdotL) 47
593             621:   69(fvec3)   Load 507(N)
594             622:   69(fvec3)   Load 526(L)
595             623:   23(float)   Dot 621 622
596             624:   23(float)   ExtInst 2(GLSL.std.450) 40(FMax) 162 623
597                                Store 616(NdotL) 624
598             629:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 626 625(diff) 47
599             630:   23(float)   Load 616(NdotL)
600             631:   69(fvec3)   CompositeConstruct 630 630 630
601                                Store 625(diff) 631
602             636:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 633 632(R) 47
603             637:   69(fvec3)   Load 526(L)
604             638:   69(fvec3)   FNegate 637
605             639:   69(fvec3)   Load 507(N)
606             640:   69(fvec3)   ExtInst 2(GLSL.std.450) 71(Reflect) 638 639
607                                Store 632(R) 640
608             645:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 642 641(NdotR) 47
609             646:   69(fvec3)   Load 632(R)
610             647:   69(fvec3)   Load 546(V)
611             648:   23(float)   Dot 646 647
612             649:   23(float)   ExtInst 2(GLSL.std.450) 40(FMax) 162 648
613                                Store 641(NdotR) 649
614             654:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 651 650(spec) 47
615             655:   23(float)   Load 641(NdotR)
616             657:   23(float)   ExtInst 2(GLSL.std.450) 26(Pow) 655 656
617             658:     29(ptr)   AccessChain 418(albedo) 12
618             659:   23(float)   Load 658
619             660:   23(float)   FMul 657 659
620             662:   23(float)   FMul 660 661
621             663:   69(fvec3)   CompositeConstruct 662 662 662
622                                Store 650(spec) 663
623             664:   69(fvec3)   Load 625(diff)
624             665:   69(fvec3)   Load 650(spec)
625             666:   69(fvec3)   FAdd 664 665
626             667:   23(float)   Load 599(spotEffect)
627             668:   69(fvec3)   VectorTimesScalar 666 667
628             669:   23(float)   Load 608(heightAttenuation)
629             670:   69(fvec3)   VectorTimesScalar 668 669
630             671:   23(float)   CompositeExtract 670 0
631             672:   23(float)   CompositeExtract 670 1
632             673:   23(float)   CompositeExtract 670 2
633             674:   69(fvec3)   CompositeConstruct 671 672 673
634             675:    180(int)   Load 514(i)
635             677:    532(ptr)   AccessChain 353(ubo) 242 675 676
636             678:   26(fvec4)   Load 677
637             679:   69(fvec3)   VectorShuffle 678 678 0 1 2
638             680:   69(fvec3)   FMul 674 679
639             681:   26(fvec4)   Load 418(albedo)
640             682:   69(fvec3)   VectorShuffle 681 681 0 1 2
641             683:   69(fvec3)   FMul 680 682
642             684:   69(fvec3)   Load 499(fragcolor)
643             685:   69(fvec3)   FAdd 684 683
644                                Store 499(fragcolor) 685
645                                Branch 521
646             521:               Label
647             686:    180(int)   Load 514(i)
648             687:    180(int)   IAdd 686 242
649                                Store 514(i) 687
650                                Branch 518
651             520:             Label
652             688:    429(ptr) AccessChain 353(ubo) 676
653             689:    180(int) Load 688
654             691:   114(bool) SGreaterThan 689 192
655                              SelectionMerge 693 None
656                              BranchConditional 691 692 693
657             692:               Label
658             695:   69(fvec3)   Load 499(fragcolor)
659                                Store 694(param) 695
660             697:   69(fvec3)   Load 385(fragPos)
661                                Store 696(param) 697
662             698:   69(fvec3)   FunctionCall 76(shadow(vf3;vf3;) 694(param) 696(param)
663                                Store 499(fragcolor) 698
664                                Branch 693
665             693:             Label
666             699:   69(fvec3) Load 499(fragcolor)
667             700:   23(float) CompositeExtract 699 0
668             701:   23(float) CompositeExtract 699 1
669             702:   23(float) CompositeExtract 699 2
670             703:   26(fvec4) CompositeConstruct 700 701 702 93
671                              Store 445(outFragColor) 703
672                              Return
673                              FunctionEnd
67438(textureProj(vf4;f1;vf2;):   23(float) Function None 33
675           35(P):     28(ptr) FunctionParameter
676       36(layer):     29(ptr) FunctionParameter
677      37(offset):     32(ptr) FunctionParameter
678              41:             Label
679      89(shadow):     29(ptr) Variable Function
680 94(shadowCoord):     28(ptr) Variable Function
681       130(dist):     29(ptr) Variable Function
682              42:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 40
683              43:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 16 11 11 11 11
684              46:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 44 35(P) 47
685              50:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 48 36(layer) 47
686              53:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 51 37(offset) 47
687              88:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 40 38(textureProj(vf4;f1;vf2;)
688              92:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 90 89(shadow) 47
689                              Store 89(shadow) 93
690              98:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 95 94(shadowCoord) 47
691              99:   26(fvec4) Load 35(P)
692             100:     29(ptr) AccessChain 35(P) 12
693             101:   23(float) Load 100
694             102:   26(fvec4) CompositeConstruct 101 101 101 101
695             103:   26(fvec4) FDiv 99 102
696                              Store 94(shadowCoord) 103
697             104:   26(fvec4) Load 94(shadowCoord)
698             105:   30(fvec2) VectorShuffle 104 104 0 1
699             107:   30(fvec2) VectorTimesScalar 105 106
700             108:   30(fvec2) CompositeConstruct 106 106
701             109:   30(fvec2) FAdd 107 108
702             110:     29(ptr) AccessChain 94(shadowCoord) 11
703             111:   23(float) CompositeExtract 109 0
704                              Store 110 111
705             112:     29(ptr) AccessChain 94(shadowCoord) 19
706             113:   23(float) CompositeExtract 109 1
707                              Store 112 113
708             115:     29(ptr) AccessChain 94(shadowCoord) 21
709             116:   23(float) Load 115
710             120:   114(bool) FOrdGreaterThan 116 117
711                              SelectionMerge 122 None
712                              BranchConditional 120 121 122
713             121:               Label
714             123:     29(ptr)   AccessChain 94(shadowCoord) 21
715             124:   23(float)   Load 123
716             126:   114(bool)   FOrdLessThan 124 93
717                                Branch 122
718             122:             Label
719             127:   114(bool) Phi 120 41 126 121
720                              SelectionMerge 129 None
721                              BranchConditional 127 128 129
722             128:               Label
723             134:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 131 130(dist) 47
724             149:         140   Load 145(samplerShadowMap)
725             150:   26(fvec4)   Load 94(shadowCoord)
726             151:   30(fvec2)   VectorShuffle 150 150 0 1
727             152:   30(fvec2)   Load 37(offset)
728             153:   30(fvec2)   FAdd 151 152
729             154:   23(float)   Load 36(layer)
730             155:   23(float)   CompositeExtract 153 0
731             156:   23(float)   CompositeExtract 153 1
732             157:   69(fvec3)   CompositeConstruct 155 156 154
733             158:   26(fvec4)   ImageSampleImplicitLod 149 157
734             159:   23(float)   CompositeExtract 158 0
735                                Store 130(dist) 159
736             160:     29(ptr)   AccessChain 94(shadowCoord) 12
737             161:   23(float)   Load 160
738             164:   114(bool)   FOrdGreaterThan 161 162
739                                SelectionMerge 166 None
740                                BranchConditional 164 165 166
741             165:                 Label
742             167:   23(float)     Load 130(dist)
743             168:     29(ptr)     AccessChain 94(shadowCoord) 21
744             169:   23(float)     Load 168
745             171:   114(bool)     FOrdLessThan 167 169
746                                  Branch 166
747             166:               Label
748             172:   114(bool)   Phi 164 128 171 165
749                                SelectionMerge 174 None
750                                BranchConditional 172 173 174
751             173:                 Label
752                                  Store 89(shadow) 175
753                                  Branch 174
754             174:               Label
755                                Branch 129
756             129:             Label
757             176:   23(float) Load 89(shadow)
758                              ReturnValue 176
759                              FunctionEnd
76058(filterPCF(vf4;f1;):   23(float) Function None 54
761          56(sc):     28(ptr) FunctionParameter
762       57(layer):     29(ptr) FunctionParameter
763              61:             Label
764     186(texDim):    185(ptr) Variable Function
765      198(scale):     29(ptr) Variable Function
766         204(dx):     29(ptr) Variable Function
767         216(dy):     29(ptr) Variable Function
768227(shadowFactor):     29(ptr) Variable Function
769      232(count):    211(ptr) Variable Function
770      237(range):    211(ptr) Variable Function
771          243(x):    211(ptr) Variable Function
772          259(y):    211(ptr) Variable Function
773      284(param):     28(ptr) Variable Function
774      286(param):     29(ptr) Variable Function
775      288(param):     32(ptr) Variable Function
776              62:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 60
777              63:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 16 11 11 11 11
778              66:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 64 56(sc) 47
779              68:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 67 57(layer) 47
780             179:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 60 58(filterPCF(vf4;f1;)
781             190:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 187 186(texDim) 47
782             191:         140 Load 145(samplerShadowMap)
783             193:         135 Image 191
784             196:  194(ivec3) ImageQuerySizeLod 193 192
785             197:  183(ivec2) VectorShuffle 196 196 0 1
786                              Store 186(texDim) 197
787             202:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 199 198(scale) 47
788                              Store 198(scale) 203
789             208:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 205 204(dx) 47
790             209:   23(float) Load 198(scale)
791             210:   23(float) FMul 209 93
792             212:    211(ptr) AccessChain 186(texDim) 11
793             213:    180(int) Load 212
794             214:   23(float) ConvertSToF 213
795             215:   23(float) FDiv 210 214
796                              Store 204(dx) 215
797             220:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 217 216(dy) 47
798             221:   23(float) Load 198(scale)
799             222:   23(float) FMul 221 93
800             223:    211(ptr) AccessChain 186(texDim) 19
801             224:    180(int) Load 223
802             225:   23(float) ConvertSToF 224
803             226:   23(float) FDiv 222 225
804                              Store 216(dy) 226
805             231:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 228 227(shadowFactor) 47
806                              Store 227(shadowFactor) 162
807             236:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 233 232(count) 47
808                              Store 232(count) 192
809             241:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 238 237(range) 47
810                              Store 237(range) 242
811             247:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 244 243(x) 47
812             248:    180(int) Load 237(range)
813             249:    180(int) SNegate 248
814                              Store 243(x) 249
815                              Branch 250
816             250:             Label
817                              LoopMerge 252 253 None
818                              Branch 254
819             254:             Label
820             255:    180(int) Load 243(x)
821             256:    180(int) Load 237(range)
822             258:   114(bool) SLessThanEqual 255 256
823                              BranchConditional 258 251 252
824             251:               Label
825             263:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 260 259(y) 47
826             264:    180(int)   Load 237(range)
827             265:    180(int)   SNegate 264
828                                Store 259(y) 265
829                                Branch 266
830             266:               Label
831                                LoopMerge 268 269 None
832                                Branch 270
833             270:               Label
834             271:    180(int)   Load 259(y)
835             272:    180(int)   Load 237(range)
836             274:   114(bool)   SLessThanEqual 271 272
837                                BranchConditional 274 267 268
838             267:                 Label
839             275:   23(float)     Load 204(dx)
840             276:    180(int)     Load 243(x)
841             277:   23(float)     ConvertSToF 276
842             278:   23(float)     FMul 275 277
843             279:   23(float)     Load 216(dy)
844             280:    180(int)     Load 259(y)
845             281:   23(float)     ConvertSToF 280
846             282:   23(float)     FMul 279 281
847             283:   30(fvec2)     CompositeConstruct 278 282
848             285:   26(fvec4)     Load 56(sc)
849                                  Store 284(param) 285
850             287:   23(float)     Load 57(layer)
851                                  Store 286(param) 287
852                                  Store 288(param) 283
853             289:   23(float)     FunctionCall 38(textureProj(vf4;f1;vf2;) 284(param) 286(param) 288(param)
854             290:   23(float)     Load 227(shadowFactor)
855             291:   23(float)     FAdd 290 289
856                                  Store 227(shadowFactor) 291
857             292:    180(int)     Load 232(count)
858             293:    180(int)     IAdd 292 242
859                                  Store 232(count) 293
860                                  Branch 269
861             269:                 Label
862             294:    180(int)     Load 259(y)
863             295:    180(int)     IAdd 294 242
864                                  Store 259(y) 295
865                                  Branch 266
866             268:               Label
867                                Branch 253
868             253:               Label
869             296:    180(int)   Load 243(x)
870             297:    180(int)   IAdd 296 242
871                                Store 243(x) 297
872                                Branch 250
873             252:             Label
874             298:   23(float) Load 227(shadowFactor)
875             299:    180(int) Load 232(count)
876             300:   23(float) ConvertSToF 299
877             301:   23(float) FDiv 298 300
878                              ReturnValue 301
879                              FunctionEnd
88076(shadow(vf3;vf3;):   69(fvec3) Function None 72
881   74(fragcolor):     71(ptr) FunctionParameter
882     75(fragpos):     71(ptr) FunctionParameter
883              79:             Label
884          305(i):    211(ptr) Variable Function
885 319(shadowClip):     28(ptr) Variable Function
886366(shadowFactor):     29(ptr) Variable Function
887      372(param):     28(ptr) Variable Function
888      374(param):     29(ptr) Variable Function
889              80:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 78
890              81:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 16 11 11 11 11
891              84:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 82 74(fragcolor) 47
892              87:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 85 75(fragpos) 47
893             304:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 78 76(shadow(vf3;vf3;)
894             309:           3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 306 305(i) 47
895                              Store 305(i) 192
896                              Branch 310
897             310:             Label
898                              LoopMerge 312 313 None
899                              Branch 314
900             314:             Label
901             315:    180(int) Load 305(i)
902             318:   114(bool) SLessThan 315 316
903                              BranchConditional 318 311 312
904             311:               Label
905             323:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 320 319(shadowClip) 47
906             356:    180(int)   Load 305(i)
907             358:    357(ptr)   AccessChain 353(ubo) 242 356 316
908             359:         324   Load 358
909             360:   69(fvec3)   Load 75(fragpos)
910             361:   23(float)   CompositeExtract 360 0
911             362:   23(float)   CompositeExtract 360 1
912             363:   23(float)   CompositeExtract 360 2
913             364:   26(fvec4)   CompositeConstruct 361 362 363 93
914             365:   26(fvec4)   MatrixTimesVector 359 364
915                                Store 319(shadowClip) 365
916             369:           3   ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 367 366(shadowFactor) 47
917             370:    180(int)   Load 305(i)
918             371:   23(float)   ConvertSToF 370
919             373:   26(fvec4)   Load 319(shadowClip)
920                                Store 372(param) 373
921                                Store 374(param) 371
922             375:   23(float)   FunctionCall 58(filterPCF(vf4;f1;) 372(param) 374(param)
923                                Store 366(shadowFactor) 375
924             376:   23(float)   Load 366(shadowFactor)
925             377:   69(fvec3)   Load 74(fragcolor)
926             378:   69(fvec3)   VectorTimesScalar 377 376
927                                Store 74(fragcolor) 378
928                                Branch 313
929             313:               Label
930             379:    180(int)   Load 305(i)
931             380:    180(int)   IAdd 379 242
932                                Store 305(i) 380
933                                Branch 310
934             312:             Label
935             381:   69(fvec3) Load 74(fragcolor)
936                              ReturnValue 381
937                              FunctionEnd
938