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