• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.debuginfo.glsl.tesc
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 537
5
6                              Capability Tessellation
7                              Extension  "SPV_KHR_non_semantic_info"
8               2:             ExtInstImport  "NonSemantic.Shader.DebugInfo.100"
9               3:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint TessellationControl 14  "main" 252 256 282 366 379 493 507 514 528
12                              ExecutionMode 14 OutputVertices 4
13               1:             String  ""
14               8:             String  "uint"
15              17:             String  "float"
16              29:             String  "screenSpaceTessFactor"
17              32:             String  "// OpModuleProcessed auto-map-locations
18// OpModuleProcessed auto-map-bindings
19// OpModuleProcessed client vulkan100
20// OpModuleProcessed target-env vulkan1.0
21// OpModuleProcessed keep-uncalled
22// OpModuleProcessed entry-point main
23#line 1
24"
25              40:             String  "p0"
26              44:             String  "p1"
27              47:             String  "bool"
28              53:             String  "frustumCheck"
29              56:             String  "main"
30              65:             String  "midPoint"
31              77:             String  "radius"
32              88:             String  "v0"
33              99:             String  "modelview"
34             104:             String  "lightPos"
35             107:             String  "frustumPlanes"
36             109:             String  "tessellatedEdgeSize"
37             114:             String  "viewportDim"
38             118:             String  "UBO"
39             122:             String  "ubo"
40             124:             String  "int"
41             136:             String  "clip0"
42             157:             String  "clip1"
43             232:             String  "pos"
44             238:             String  "gl_Position"
45             241:             String  "gl_PointSize"
46             244:             String  "gl_CullDistance"
47             248:             String  "gl_PerVertex"
48             254:             String  "gl_in"
49             258:             String  "gl_InvocationID"
50             267:             String  "type.2d.image"
51             268:             String  "@type.2d.image"
52             272:             String  "type.sampled.image"
53             273:             String  "@type.sampled.image"
54             277:             String  "samplerHeight"
55             284:             String  "inUV"
56             303:             String  "i"
57             368:             String  "gl_TessLevelInner"
58             381:             String  "gl_TessLevelOuter"
59             495:             String  "gl_out"
60             509:             String  "outNormal"
61             516:             String  "inNormal"
62             530:             String  "outUV"
63                              Name 14  "main"
64                              Name 27  "screenSpaceTessFactor(vf4;vf4;"
65                              Name 25  "p0"
66                              Name 26  "p1"
67                              Name 51  "frustumCheck("
68                              Name 63  "midPoint"
69                              Name 75  "radius"
70                              Name 86  "v0"
71                              Name 97  "UBO"
72                              MemberName 97(UBO) 0  "projection"
73                              MemberName 97(UBO) 1  "modelview"
74                              MemberName 97(UBO) 2  "lightPos"
75                              MemberName 97(UBO) 3  "frustumPlanes"
76                              MemberName 97(UBO) 4  "displacementFactor"
77                              MemberName 97(UBO) 5  "tessellationFactor"
78                              MemberName 97(UBO) 6  "viewportDim"
79                              MemberName 97(UBO) 7  "tessellatedEdgeSize"
80                              Name 120  "ubo"
81                              Name 134  "clip0"
82                              Name 155  "clip1"
83                              Name 230  "pos"
84                              Name 236  "gl_PerVertex"
85                              MemberName 236(gl_PerVertex) 0  "gl_Position"
86                              MemberName 236(gl_PerVertex) 1  "gl_PointSize"
87                              MemberName 236(gl_PerVertex) 2  "gl_ClipDistance"
88                              MemberName 236(gl_PerVertex) 3  "gl_CullDistance"
89                              Name 252  "gl_in"
90                              Name 256  "gl_InvocationID"
91                              Name 275  "samplerHeight"
92                              Name 282  "inUV"
93                              Name 301  "i"
94                              Name 366  "gl_TessLevelInner"
95                              Name 379  "gl_TessLevelOuter"
96                              Name 405  "param"
97                              Name 408  "param"
98                              Name 415  "param"
99                              Name 418  "param"
100                              Name 425  "param"
101                              Name 428  "param"
102                              Name 435  "param"
103                              Name 438  "param"
104                              Name 482  "gl_PerVertex"
105                              MemberName 482(gl_PerVertex) 0  "gl_Position"
106                              MemberName 482(gl_PerVertex) 1  "gl_PointSize"
107                              MemberName 482(gl_PerVertex) 2  "gl_ClipDistance"
108                              MemberName 482(gl_PerVertex) 3  "gl_CullDistance"
109                              Name 493  "gl_out"
110                              Name 507  "outNormal"
111                              Name 514  "inNormal"
112                              Name 528  "outUV"
113                              Decorate 93 ArrayStride 16
114                              MemberDecorate 97(UBO) 0 ColMajor
115                              MemberDecorate 97(UBO) 0 Offset 0
116                              MemberDecorate 97(UBO) 0 MatrixStride 16
117                              MemberDecorate 97(UBO) 1 ColMajor
118                              MemberDecorate 97(UBO) 1 Offset 64
119                              MemberDecorate 97(UBO) 1 MatrixStride 16
120                              MemberDecorate 97(UBO) 2 Offset 128
121                              MemberDecorate 97(UBO) 3 Offset 144
122                              MemberDecorate 97(UBO) 4 Offset 240
123                              MemberDecorate 97(UBO) 5 Offset 244
124                              MemberDecorate 97(UBO) 6 Offset 248
125                              MemberDecorate 97(UBO) 7 Offset 256
126                              Decorate 97(UBO) Block
127                              Decorate 120(ubo) DescriptorSet 0
128                              Decorate 120(ubo) Binding 0
129                              MemberDecorate 236(gl_PerVertex) 0 BuiltIn Position
130                              MemberDecorate 236(gl_PerVertex) 1 BuiltIn PointSize
131                              MemberDecorate 236(gl_PerVertex) 2 BuiltIn ClipDistance
132                              MemberDecorate 236(gl_PerVertex) 3 BuiltIn CullDistance
133                              Decorate 236(gl_PerVertex) Block
134                              Decorate 256(gl_InvocationID) BuiltIn InvocationId
135                              Decorate 275(samplerHeight) DescriptorSet 0
136                              Decorate 275(samplerHeight) Binding 1
137                              Decorate 282(inUV) Location 1
138                              Decorate 366(gl_TessLevelInner) Patch
139                              Decorate 366(gl_TessLevelInner) BuiltIn TessLevelInner
140                              Decorate 379(gl_TessLevelOuter) Patch
141                              Decorate 379(gl_TessLevelOuter) BuiltIn TessLevelOuter
142                              MemberDecorate 482(gl_PerVertex) 0 BuiltIn Position
143                              MemberDecorate 482(gl_PerVertex) 1 BuiltIn PointSize
144                              MemberDecorate 482(gl_PerVertex) 2 BuiltIn ClipDistance
145                              MemberDecorate 482(gl_PerVertex) 3 BuiltIn CullDistance
146                              Decorate 482(gl_PerVertex) Block
147                              Decorate 507(outNormal) Location 0
148                              Decorate 514(inNormal) Location 0
149                              Decorate 528(outUV) Location 1
150               4:             TypeVoid
151               5:             TypeFunction 4
152               7:             TypeInt 32 0
153              10:      7(int) Constant 32
154              11:      7(int) Constant 6
155              12:      7(int) Constant 0
156               9:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
157              13:      7(int) Constant 3
158               6:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
159              16:             TypeFloat 32
160              18:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12
161              19:             TypeVector 16(float) 4
162              20:      7(int) Constant 4
163              21:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 20
164              22:             TypePointer Function 19(fvec4)
165              23:             TypeFunction 16(float) 22(ptr) 22(ptr)
166              24:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 18 21 21
167              31:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 32
168              33:      7(int) Constant 51
169              35:      7(int) Constant 1
170              36:      7(int) Constant 2
171              34:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 35 20 31 36
172              30:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 29 24 31 33 12 34 29 13 33
173              39:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 40 21 31 33 12 30 20 35
174              42:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
175              43:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 44 21 31 33 12 30 20 36
176              46:             TypeBool
177              48:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
178              49:             TypeFunction 46(bool)
179              50:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 48
180              55:      7(int) Constant 81
181              54:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 53 50 31 55 12 34 53 13 55
182              58:      7(int) Constant 98
183              57:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 56 6 31 58 12 34 56 13 58
184              62:      7(int) Constant 54
185              64:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 65 21 31 62 12 30 20
186              67:   16(float) Constant 1056964608
187              73:      7(int) Constant 56
188              74:             TypePointer Function 16(float)
189              76:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 18 31 73 12 30 20
190              82:   16(float) Constant 1073741824
191              85:      7(int) Constant 59
192              87:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 21 31 85 12 30 20
193              90:             TypeMatrix 19(fvec4) 4
194              92:    46(bool) ConstantTrue
195              91:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 92
196              93:             TypeArray 19(fvec4) 11
197              94:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 21 11
198              95:             TypeVector 16(float) 2
199              96:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 36
200         97(UBO):             TypeStruct 90 90 19(fvec4) 93 16(float) 16(float) 95(fvec2) 16(float)
201             100:      7(int) Constant 30
202             101:      7(int) Constant 7
203              98:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 99 91 31 100 101 12 12 13
204             102:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 99 91 31 100 101 12 12 13
205             105:      7(int) Constant 31
206             103:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 104 21 31 105 101 12 12 13
207             106:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 107 94 31 10 101 12 12 13
208             110:      7(int) Constant 36
209             111:      7(int) Constant 8
210             108:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 18 31 110 111 12 12 13
211             112:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 18 31 110 111 12 12 13
212             115:      7(int) Constant 35
213             113:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 114 96 31 115 101 12 12 13
214             116:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 18 31 110 111 12 12 13
215             117:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 118 35 31 85 12 34 118 12 13 98 102 103 106 108 112 113 116
216             119:             TypePointer Uniform 97(UBO)
217        120(ubo):    119(ptr) Variable Uniform
218             121:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 122 117 31 85 12 34 122 120(ubo) 111
219             123:             TypeInt 32 1
220             125:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 124 10 20 12
221             126:    123(int) Constant 1
222             127:             TypePointer Uniform 90
223             133:      7(int) Constant 62
224             135:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 136 21 31 133 12 30 20
225             138:    123(int) Constant 0
226             143:             TypeVector 16(float) 3
227             144:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13
228             145:   16(float) Constant 0
229             146:  143(fvec3) ConstantComposite 145 145 145
230             154:      7(int) Constant 63
231             156:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 157 21 31 154 12 30 20
232             170:      7(int) Constant 66
233             177:      7(int) Constant 67
234             184:      7(int) Constant 70
235             185:    123(int) Constant 6
236             186:             TypePointer Uniform 95(fvec2)
237             197:      7(int) Constant 71
238             208:      7(int) Constant 76
239             212:    123(int) Constant 7
240             213:             TypePointer Uniform 16(float)
241             217:    123(int) Constant 5
242             221:   16(float) Constant 1065353216
243             222:   16(float) Constant 1115684864
244             229:      7(int) Constant 85
245             231:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 232 21 31 229 12 54 20
246             234:             TypeArray 16(float) 35
247             235:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 35
248236(gl_PerVertex):             TypeStruct 19(fvec4) 16(float) 234 234
249             239:      7(int) Constant 1756
250             237:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 239 12 12 13
251             242:      7(int) Constant 1774
252             240:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 242 12 12 13
253             245:      7(int) Constant 1817
254             243:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 245 12 12 13
255             246:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 245 12 12 13
256             247:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 229 12 34 248 12 13 237 240 243 246
257             249:             TypeArray 236(gl_PerVertex) 10
258             250:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 247 10
259             251:             TypePointer Input 249
260      252(gl_in):    251(ptr) Variable Input
261             253:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 254 250 31 229 12 34 254 252(gl_in) 111
262             255:             TypePointer Input 123(int)
263256(gl_InvocationID):    255(ptr) Variable Input
264             257:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 125 31 229 12 34 258 256(gl_InvocationID) 111
265             260:             TypePointer Input 19(fvec4)
266             264:      7(int) Constant 86
267             265:             TypeImage 16(float) 2D sampled format:Unknown
268             269:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
269             266:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 267 12 31 264 12 34 268 269 13
270             270:             TypeSampledImage 265
271             271:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 272 12 31 264 12 34 273 269 13
272             274:             TypePointer UniformConstant 270
273275(samplerHeight):    274(ptr) Variable UniformConstant
274             276:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 277 271 31 264 12 34 277 275(samplerHeight) 111
275             279:             TypeArray 95(fvec2) 10
276             280:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 10
277             281:             TypePointer Input 279
278       282(inUV):    281(ptr) Variable Input
279             283:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 284 280 31 264 12 34 284 282(inUV) 111
280             285:             TypePointer Input 95(fvec2)
281             290:    123(int) Constant 4
282             299:      7(int) Constant 89
283             300:             TypePointer Function 123(int)
284             302:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 125 31 299 12 54 20
285             318:      7(int) Constant 90
286             320:    123(int) Constant 3
287             322:             TypePointer Uniform 19(fvec4)
288             326:   16(float) Constant 1090519040
289             331:    46(bool) ConstantFalse
290             334:      7(int) Constant 92
291             342:      7(int) Constant 95
292             348:      7(int) Constant 100
293             355:      7(int) Constant 102
294             362:      7(int) Constant 104
295             363:             TypeArray 16(float) 36
296             364:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36
297             365:             TypePointer Output 363
298366(gl_TessLevelInner):    365(ptr) Variable Output
299             367:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 368 364 31 362 12 34 368 366(gl_TessLevelInner) 111
300             369:             TypePointer Output 16(float)
301             372:      7(int) Constant 105
302             375:      7(int) Constant 106
303             376:             TypeArray 16(float) 20
304             377:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
305             378:             TypePointer Output 376
306379(gl_TessLevelOuter):    378(ptr) Variable Output
307             380:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 381 377 31 375 12 34 381 379(gl_TessLevelOuter) 111
308             384:      7(int) Constant 107
309             387:      7(int) Constant 108
310             388:    123(int) Constant 2
311             391:      7(int) Constant 109
312             396:      7(int) Constant 113
313             404:      7(int) Constant 115
314             414:      7(int) Constant 116
315             424:      7(int) Constant 117
316             434:      7(int) Constant 118
317             444:      7(int) Constant 119
318             452:      7(int) Constant 120
319             462:      7(int) Constant 126
320             465:      7(int) Constant 127
321             468:      7(int) Constant 128
322             471:      7(int) Constant 129
323             474:      7(int) Constant 130
324             477:      7(int) Constant 131
325             481:      7(int) Constant 137
326482(gl_PerVertex):             TypeStruct 19(fvec4) 16(float) 234 234
327             484:      7(int) Constant 110
328             483:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 484 12 12 13
329             485:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 468 12 12 13
330             487:      7(int) Constant 171
331             486:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13
332             488:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13
333             489:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 481 12 34 248 12 13 483 485 486 488
334             490:             TypeArray 482(gl_PerVertex) 20
335             491:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 489 20
336             492:             TypePointer Output 490
337     493(gl_out):    492(ptr) Variable Output
338             494:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 495 491 31 481 12 34 495 493(gl_out) 111
339             500:             TypePointer Output 19(fvec4)
340             503:      7(int) Constant 138
341             504:             TypeArray 143(fvec3) 20
342             505:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 20
343             506:             TypePointer Output 504
344  507(outNormal):    506(ptr) Variable Output
345             508:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 509 505 31 503 12 34 509 507(outNormal) 111
346             511:             TypeArray 143(fvec3) 10
347             512:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 10
348             513:             TypePointer Input 511
349   514(inNormal):    513(ptr) Variable Input
350             515:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 516 512 31 503 12 34 516 514(inNormal) 111
351             518:             TypePointer Input 143(fvec3)
352             521:             TypePointer Output 143(fvec3)
353             524:      7(int) Constant 139
354             525:             TypeArray 95(fvec2) 20
355             526:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 20
356             527:             TypePointer Output 525
357      528(outUV):    527(ptr) Variable Output
358             529:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 530 526 31 524 12 34 530 528(outUV) 111
359             535:             TypePointer Output 95(fvec2)
360                              Line 1 98 11
361        14(main):           4 Function None 5
362              15:             Label
363      405(param):     22(ptr) Variable Function
364      408(param):     22(ptr) Variable Function
365      415(param):     22(ptr) Variable Function
366      418(param):     22(ptr) Variable Function
367      425(param):     22(ptr) Variable Function
368      428(param):     22(ptr) Variable Function
369      435(param):     22(ptr) Variable Function
370      438(param):     22(ptr) Variable Function
371             345:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main)
372             346:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
373             347:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 348 348 12 12
374             349:    123(int) Load 256(gl_InvocationID)
375             350:    46(bool) IEqual 349 138
376                              SelectionMerge 352 None
377                              BranchConditional 350 351 352
378             351:               Label
379             353:           4   ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
380             354:           4   ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 355 355 12 12
381             356:    46(bool)   FunctionCall 51(frustumCheck()
382             357:    46(bool)   LogicalNot 356
383                                SelectionMerge 359 None
384                                BranchConditional 357 358 393
385             358:                 Label
386             360:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
387             361:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 362 362 12 12
388             370:    369(ptr)     AccessChain 366(gl_TessLevelInner) 138
389                                  Store 370 145
390             371:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 372 372 12 12
391             373:    369(ptr)     AccessChain 366(gl_TessLevelInner) 126
392                                  Store 373 145
393             374:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 375 375 12 12
394             382:    369(ptr)     AccessChain 379(gl_TessLevelOuter) 138
395                                  Store 382 145
396             383:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 384 384 12 12
397             385:    369(ptr)     AccessChain 379(gl_TessLevelOuter) 126
398                                  Store 385 145
399             386:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 387 387 12 12
400             389:    369(ptr)     AccessChain 379(gl_TessLevelOuter) 388
401                                  Store 389 145
402             390:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 391 391 12 12
403             392:    369(ptr)     AccessChain 379(gl_TessLevelOuter) 320
404                                  Store 392 145
405                                  Branch 359
406             393:                 Label
407             394:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
408             395:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 396 396 12 12
409             397:    213(ptr)     AccessChain 120(ubo) 217
410             398:   16(float)     Load 397
411             399:    46(bool)     FOrdGreaterThan 398 145
412                                  SelectionMerge 401 None
413                                  BranchConditional 399 400 459
414             400:                   Label
415             402:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
416             403:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 404 404 12 12
417             406:    260(ptr)       AccessChain 252(gl_in) 320 138
418             407:   19(fvec4)       Load 406
419                                    Store 405(param) 407
420             409:    260(ptr)       AccessChain 252(gl_in) 138 138
421             410:   19(fvec4)       Load 409
422                                    Store 408(param) 410
423             411:   16(float)       FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 405(param) 408(param)
424             412:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 138
425                                    Store 412 411
426             413:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 414 414 12 12
427             416:    260(ptr)       AccessChain 252(gl_in) 138 138
428             417:   19(fvec4)       Load 416
429                                    Store 415(param) 417
430             419:    260(ptr)       AccessChain 252(gl_in) 126 138
431             420:   19(fvec4)       Load 419
432                                    Store 418(param) 420
433             421:   16(float)       FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 415(param) 418(param)
434             422:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 126
435                                    Store 422 421
436             423:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 424 424 12 12
437             426:    260(ptr)       AccessChain 252(gl_in) 126 138
438             427:   19(fvec4)       Load 426
439                                    Store 425(param) 427
440             429:    260(ptr)       AccessChain 252(gl_in) 388 138
441             430:   19(fvec4)       Load 429
442                                    Store 428(param) 430
443             431:   16(float)       FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 425(param) 428(param)
444             432:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 388
445                                    Store 432 431
446             433:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 434 434 12 12
447             436:    260(ptr)       AccessChain 252(gl_in) 388 138
448             437:   19(fvec4)       Load 436
449                                    Store 435(param) 437
450             439:    260(ptr)       AccessChain 252(gl_in) 320 138
451             440:   19(fvec4)       Load 439
452                                    Store 438(param) 440
453             441:   16(float)       FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 435(param) 438(param)
454             442:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 320
455                                    Store 442 441
456             443:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 444 444 12 12
457             445:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 138
458             446:   16(float)       Load 445
459             447:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 320
460             448:   16(float)       Load 447
461             449:   16(float)       ExtInst 3(GLSL.std.450) 46(FMix) 446 448 67
462             450:    369(ptr)       AccessChain 366(gl_TessLevelInner) 138
463                                    Store 450 449
464             451:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 452 452 12 12
465             453:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 388
466             454:   16(float)       Load 453
467             455:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 126
468             456:   16(float)       Load 455
469             457:   16(float)       ExtInst 3(GLSL.std.450) 46(FMix) 454 456 67
470             458:    369(ptr)       AccessChain 366(gl_TessLevelInner) 126
471                                    Store 458 457
472                                    Branch 401
473             459:                   Label
474             460:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
475             461:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 462 462 12 12
476             463:    369(ptr)       AccessChain 366(gl_TessLevelInner) 138
477                                    Store 463 221
478             464:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 465 465 12 12
479             466:    369(ptr)       AccessChain 366(gl_TessLevelInner) 126
480                                    Store 466 221
481             467:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 468 468 12 12
482             469:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 138
483                                    Store 469 221
484             470:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 471 471 12 12
485             472:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 126
486                                    Store 472 221
487             473:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 474 474 12 12
488             475:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 388
489                                    Store 475 221
490             476:           4       ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 477 477 12 12
491             478:    369(ptr)       AccessChain 379(gl_TessLevelOuter) 320
492                                    Store 478 221
493                                    Branch 401
494             401:                 Label
495                                  Branch 359
496             359:               Label
497                                Branch 352
498             352:             Label
499             479:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
500             480:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 481 481 12 12
501             496:    123(int) Load 256(gl_InvocationID)
502             497:    123(int) Load 256(gl_InvocationID)
503             498:    260(ptr) AccessChain 252(gl_in) 497 138
504             499:   19(fvec4) Load 498
505             501:    500(ptr) AccessChain 493(gl_out) 496 138
506                              Store 501 499
507             502:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 503 503 12 12
508             510:    123(int) Load 256(gl_InvocationID)
509             517:    123(int) Load 256(gl_InvocationID)
510             519:    518(ptr) AccessChain 514(inNormal) 517
511             520:  143(fvec3) Load 519
512             522:    521(ptr) AccessChain 507(outNormal) 510
513                              Store 522 520
514             523:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 524 524 12 12
515             531:    123(int) Load 256(gl_InvocationID)
516             532:    123(int) Load 256(gl_InvocationID)
517             533:    285(ptr) AccessChain 282(inUV) 532
518             534:   95(fvec2) Load 533
519             536:    535(ptr) AccessChain 528(outUV) 531
520                              Store 536 534
521                              Return
522                              FunctionEnd
523                              Line 1 51 45
52427(screenSpaceTessFactor(vf4;vf4;):   16(float) Function None 23
525          25(p0):     22(ptr) FunctionParameter
526          26(p1):     22(ptr) FunctionParameter
527              28:             Label
528    63(midPoint):     22(ptr) Variable Function
529      75(radius):     74(ptr) Variable Function
530          86(v0):     22(ptr) Variable Function
531      134(clip0):     22(ptr) Variable Function
532      155(clip1):     22(ptr) Variable Function
533              37:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30
534              38:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 33 33 12 12
535              41:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 39 25(p0) 42
536              45:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 43 26(p1) 42
537              59:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 30 27(screenSpaceTessFactor(vf4;vf4;)
538              60:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30
539              61:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 62 62 12 12
540              66:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 64 63(midPoint) 42
541              68:   19(fvec4) Load 25(p0)
542              69:   19(fvec4) Load 26(p1)
543              70:   19(fvec4) FAdd 68 69
544              71:   19(fvec4) VectorTimesScalar 70 67
545                              Store 63(midPoint) 71
546              72:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 73 73 12 12
547              78:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 75(radius) 42
548              79:   19(fvec4) Load 25(p0)
549              80:   19(fvec4) Load 26(p1)
550              81:   16(float) ExtInst 3(GLSL.std.450) 67(Distance) 79 80
551              83:   16(float) FDiv 81 82
552                              Store 75(radius) 83
553              84:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 85 85 12 12
554              89:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 87 86(v0) 42
555             128:    127(ptr) AccessChain 120(ubo) 126
556             129:          90 Load 128
557             130:   19(fvec4) Load 63(midPoint)
558             131:   19(fvec4) MatrixTimesVector 129 130
559                              Store 86(v0) 131
560             132:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 133 133 12 12
561             137:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 135 134(clip0) 42
562             139:    127(ptr) AccessChain 120(ubo) 138
563             140:          90 Load 139
564             141:   19(fvec4) Load 86(v0)
565             142:   16(float) Load 75(radius)
566             147:   16(float) CompositeExtract 146 0
567             148:   16(float) CompositeExtract 146 1
568             149:   16(float) CompositeExtract 146 2
569             150:   19(fvec4) CompositeConstruct 142 147 148 149
570             151:   19(fvec4) FSub 141 150
571             152:   19(fvec4) MatrixTimesVector 140 151
572                              Store 134(clip0) 152
573             153:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 154 154 12 12
574             158:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 156 155(clip1) 42
575             159:    127(ptr) AccessChain 120(ubo) 138
576             160:          90 Load 159
577             161:   19(fvec4) Load 86(v0)
578             162:   16(float) Load 75(radius)
579             163:   16(float) CompositeExtract 146 0
580             164:   16(float) CompositeExtract 146 1
581             165:   16(float) CompositeExtract 146 2
582             166:   19(fvec4) CompositeConstruct 162 163 164 165
583             167:   19(fvec4) FAdd 161 166
584             168:   19(fvec4) MatrixTimesVector 160 167
585                              Store 155(clip1) 168
586             169:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 170 170 12 12
587             171:     74(ptr) AccessChain 134(clip0) 13
588             172:   16(float) Load 171
589             173:   19(fvec4) Load 134(clip0)
590             174:   19(fvec4) CompositeConstruct 172 172 172 172
591             175:   19(fvec4) FDiv 173 174
592                              Store 134(clip0) 175
593             176:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 177 177 12 12
594             178:     74(ptr) AccessChain 155(clip1) 13
595             179:   16(float) Load 178
596             180:   19(fvec4) Load 155(clip1)
597             181:   19(fvec4) CompositeConstruct 179 179 179 179
598             182:   19(fvec4) FDiv 180 181
599                              Store 155(clip1) 182
600             183:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 184 184 12 12
601             187:    186(ptr) AccessChain 120(ubo) 185
602             188:   95(fvec2) Load 187
603             189:   19(fvec4) Load 134(clip0)
604             190:   95(fvec2) VectorShuffle 189 189 0 1
605             191:   95(fvec2) FMul 190 188
606             192:     74(ptr) AccessChain 134(clip0) 12
607             193:   16(float) CompositeExtract 191 0
608                              Store 192 193
609             194:     74(ptr) AccessChain 134(clip0) 35
610             195:   16(float) CompositeExtract 191 1
611                              Store 194 195
612             196:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 197 197 12 12
613             198:    186(ptr) AccessChain 120(ubo) 185
614             199:   95(fvec2) Load 198
615             200:   19(fvec4) Load 155(clip1)
616             201:   95(fvec2) VectorShuffle 200 200 0 1
617             202:   95(fvec2) FMul 201 199
618             203:     74(ptr) AccessChain 155(clip1) 12
619             204:   16(float) CompositeExtract 202 0
620                              Store 203 204
621             205:     74(ptr) AccessChain 155(clip1) 35
622             206:   16(float) CompositeExtract 202 1
623                              Store 205 206
624             207:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 208 208 12 12
625             209:   19(fvec4) Load 134(clip0)
626             210:   19(fvec4) Load 155(clip1)
627             211:   16(float) ExtInst 3(GLSL.std.450) 67(Distance) 209 210
628             214:    213(ptr) AccessChain 120(ubo) 212
629             215:   16(float) Load 214
630             216:   16(float) FDiv 211 215
631             218:    213(ptr) AccessChain 120(ubo) 217
632             219:   16(float) Load 218
633             220:   16(float) FMul 216 219
634             223:   16(float) ExtInst 3(GLSL.std.450) 43(FClamp) 220 221 222
635                              ReturnValue 223
636                              FunctionEnd
637                              Line 1 81 19
63851(frustumCheck():    46(bool) Function None 49
639              52:             Label
640        230(pos):     22(ptr) Variable Function
641          301(i):    300(ptr) Variable Function
642             226:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 54 51(frustumCheck()
643             227:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
644             228:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 229 229 12 12
645             233:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 231 230(pos) 42
646             259:    123(int) Load 256(gl_InvocationID)
647             261:    260(ptr) AccessChain 252(gl_in) 259 138
648             262:   19(fvec4) Load 261
649                              Store 230(pos) 262
650             263:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 264 264 12 12
651             278:         270 Load 275(samplerHeight)
652             286:    285(ptr) AccessChain 282(inUV) 138
653             287:   95(fvec2) Load 286
654             288:   19(fvec4) ImageSampleExplicitLod 278 287 Lod 145
655             289:   16(float) CompositeExtract 288 0
656             291:    213(ptr) AccessChain 120(ubo) 290
657             292:   16(float) Load 291
658             293:   16(float) FMul 289 292
659             294:     74(ptr) AccessChain 230(pos) 35
660             295:   16(float) Load 294
661             296:   16(float) FSub 295 293
662             297:     74(ptr) AccessChain 230(pos) 35
663                              Store 297 296
664             298:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
665             304:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 302 301(i) 42
666                              Store 301(i) 138
667                              Branch 305
668             305:             Label
669             309:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
670             310:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
671                              LoopMerge 307 308 None
672                              Branch 311
673             311:             Label
674             312:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
675             313:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
676             314:    123(int) Load 301(i)
677             315:    46(bool) SLessThan 314 185
678                              BranchConditional 315 306 307
679             306:               Label
680             316:           4   ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
681             317:           4   ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 318 318 12 12
682             319:   19(fvec4)   Load 230(pos)
683             321:    123(int)   Load 301(i)
684             323:    322(ptr)   AccessChain 120(ubo) 320 321
685             324:   19(fvec4)   Load 323
686             325:   16(float)   Dot 319 324
687             327:   16(float)   FAdd 325 326
688             328:    46(bool)   FOrdLessThan 327 145
689                                SelectionMerge 330 None
690                                BranchConditional 328 329 330
691             329:                 Label
692             332:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
693             333:           4     ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 334 334 12 12
694                                  ReturnValue 331
695             330:               Label
696                                Branch 308
697             308:               Label
698             336:           4   ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
699             337:           4   ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
700             338:    123(int)   Load 301(i)
701             339:    123(int)   IAdd 338 126
702                                Store 301(i) 339
703                                Branch 305
704             307:             Label
705             340:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
706             341:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 342 342 12 12
707                              ReturnValue 92
708                              FunctionEnd
709