glslang/Test/baseResults/spv.debuginfo.glsl.tesc.out

623 lines
37 KiB
Plaintext

spv.debuginfo.glsl.tesc
Validation failed
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 460
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
2: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationControl 13 "main" 231 235 261 328 338 418 430 438 450
ExecutionMode 13 OutputVertices 4
8: String "uint"
14: String "main"
17: String ""
24: String "float"
34: String "screenSpaceTessFactor"
40: String "p0"
44: String "p1"
47: String "bool"
52: String "frustumCheck"
58: String "midPoint"
69: String "radius"
79: String "v0"
90: String "modelview"
95: String "lightPos"
98: String "frustumPlanes"
100: String "tessellatedEdgeSize"
105: String "viewportDim"
109: String "UBO"
113: String "ubo"
115: String "int"
126: String "clip0"
146: String "clip1"
211: String "pos"
217: String "gl_Position"
220: String "gl_PointSize"
223: String "gl_CullDistance"
227: String "gl_PerVertex"
233: String "gl_in"
237: String "gl_InvocationID"
245: String "type.2d.image"
247: String "@type.2d.image"
251: String "type.sampled.image"
252: String "@type.sampled.image"
256: String "samplerHeight"
263: String "inUV"
280: String "i"
330: String "gl_TessLevelInner"
340: String "gl_TessLevelOuter"
420: String "gl_out"
432: String "outNormal"
440: String "inNormal"
452: String "outUV"
Name 13 "main"
Name 33 "screenSpaceTessFactor(vf4;vf4;"
Name 31 "p0"
Name 32 "p1"
Name 51 "frustumCheck("
Name 56 "midPoint"
Name 67 "radius"
Name 77 "v0"
Name 88 "UBO"
MemberName 88(UBO) 0 "projection"
MemberName 88(UBO) 1 "modelview"
MemberName 88(UBO) 2 "lightPos"
MemberName 88(UBO) 3 "frustumPlanes"
MemberName 88(UBO) 4 "displacementFactor"
MemberName 88(UBO) 5 "tessellationFactor"
MemberName 88(UBO) 6 "viewportDim"
MemberName 88(UBO) 7 "tessellatedEdgeSize"
Name 111 "ubo"
Name 124 "clip0"
Name 144 "clip1"
Name 209 "pos"
Name 215 "gl_PerVertex"
MemberName 215(gl_PerVertex) 0 "gl_Position"
MemberName 215(gl_PerVertex) 1 "gl_PointSize"
MemberName 215(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 215(gl_PerVertex) 3 "gl_CullDistance"
Name 231 "gl_in"
Name 235 "gl_InvocationID"
Name 254 "samplerHeight"
Name 261 "inUV"
Name 278 "i"
Name 328 "gl_TessLevelInner"
Name 338 "gl_TessLevelOuter"
Name 354 "param"
Name 357 "param"
Name 362 "param"
Name 365 "param"
Name 370 "param"
Name 373 "param"
Name 378 "param"
Name 381 "param"
Name 405 "gl_PerVertex"
MemberName 405(gl_PerVertex) 0 "gl_Position"
MemberName 405(gl_PerVertex) 1 "gl_PointSize"
MemberName 405(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 405(gl_PerVertex) 3 "gl_CullDistance"
Name 418 "gl_out"
Name 430 "outNormal"
Name 438 "inNormal"
Name 450 "outUV"
Decorate 84 ArrayStride 16
MemberDecorate 88(UBO) 0 ColMajor
MemberDecorate 88(UBO) 0 Offset 0
MemberDecorate 88(UBO) 0 MatrixStride 16
MemberDecorate 88(UBO) 1 ColMajor
MemberDecorate 88(UBO) 1 Offset 64
MemberDecorate 88(UBO) 1 MatrixStride 16
MemberDecorate 88(UBO) 2 Offset 128
MemberDecorate 88(UBO) 3 Offset 144
MemberDecorate 88(UBO) 4 Offset 240
MemberDecorate 88(UBO) 5 Offset 244
MemberDecorate 88(UBO) 6 Offset 248
MemberDecorate 88(UBO) 7 Offset 256
Decorate 88(UBO) Block
Decorate 111(ubo) DescriptorSet 0
Decorate 111(ubo) Binding 0
MemberDecorate 215(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 215(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 215(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 215(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 215(gl_PerVertex) Block
Decorate 235(gl_InvocationID) BuiltIn InvocationId
Decorate 254(samplerHeight) DescriptorSet 0
Decorate 254(samplerHeight) Binding 1
Decorate 261(inUV) Location 1
Decorate 328(gl_TessLevelInner) Patch
Decorate 328(gl_TessLevelInner) BuiltIn TessLevelInner
Decorate 338(gl_TessLevelOuter) Patch
Decorate 338(gl_TessLevelOuter) BuiltIn TessLevelOuter
MemberDecorate 405(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 405(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 405(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 405(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 405(gl_PerVertex) Block
Decorate 430(outNormal) Location 0
Decorate 438(inNormal) Location 0
Decorate 450(outUV) Location 1
3: TypeVoid
4: TypeFunction 3
6: TypeInt 32 0
9: 6(int) Constant 32
10: 6(int) Constant 6
11: 6(int) Constant 0
7: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 8 9 10 11
12: 6(int) Constant 3
5: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 3
16: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(Modf) 0 17
19: 6(int) Constant 1
20: 6(int) Constant 4
21: 6(int) Constant 2
18: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(Round) 19 20 16 21
15: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 14 5 16 11 11 18 14 12 11
23: TypeFloat 32
25: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 24 9 12 11
26: TypeVector 23(float) 4
27: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 25 20
28: TypePointer Function 26(fvec4)
29: TypeFunction 23(float) 28(ptr) 28(ptr)
30: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 25 27 27
35: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 34 30 16 11 11 18 34 12 11
39: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 40 27 16 11 11 35 20 19
42: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(Sqrt)
43: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 44 27 16 11 11 35 20 21
46: TypeBool
48: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 47 9 21 11
49: TypeFunction 46(bool)
50: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 48
53: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 52 50 16 11 11 18 52 12 11
59: 6(int) Constant 54
57: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 58 27 16 59 11 35 20
60: 23(float) Constant 1056964608
66: TypePointer Function 23(float)
70: 6(int) Constant 56
68: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 69 25 16 70 11 35 20
74: 23(float) Constant 1073741824
80: 6(int) Constant 59
78: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 79 27 16 80 11 35 20
81: TypeMatrix 26(fvec4) 4
83: 46(bool) ConstantTrue
82: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 27 20 83
84: TypeArray 26(fvec4) 10
85: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 27 10
86: TypeVector 23(float) 2
87: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 25 21
88(UBO): TypeStruct 81 81 26(fvec4) 84 23(float) 23(float) 86(fvec2) 23(float)
91: 6(int) Constant 30
92: 6(int) Constant 7
89: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 90 82 16 91 92 11 11 12
93: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 90 82 16 91 92 11 11 12
96: 6(int) Constant 31
94: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 95 27 16 96 92 11 11 12
97: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 98 85 16 9 92 11 11 12
101: 6(int) Constant 36
102: 6(int) Constant 8
99: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 100 25 16 101 102 11 11 12
103: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 100 25 16 101 102 11 11 12
106: 6(int) Constant 35
104: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 105 87 16 106 92 11 11 12
107: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 100 25 16 101 102 11 11 12
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
110: TypePointer Uniform 88(UBO)
111(ubo): 110(ptr) Variable Uniform
112: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 113 108 16 80 11 18 113 111(ubo) 102
114: TypeInt 32 1
116: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 115 9 20 11
117: 114(int) Constant 1
118: TypePointer Uniform 81
127: 6(int) Constant 62
125: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 126 27 16 127 11 35 20
128: 114(int) Constant 0
133: TypeVector 23(float) 3
134: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 25 12
135: 23(float) Constant 0
136: 133(fvec3) ConstantComposite 135 135 135
147: 6(int) Constant 63
145: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 146 27 16 147 11 35 20
171: 114(int) Constant 6
172: TypePointer Uniform 86(fvec2)
194: 114(int) Constant 7
195: TypePointer Uniform 23(float)
199: 114(int) Constant 5
203: 23(float) Constant 1065353216
204: 23(float) Constant 1115684864
212: 6(int) Constant 85
210: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 211 27 16 212 11 53 20
213: TypeArray 23(float) 19
214: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 25 19
215(gl_PerVertex): TypeStruct 26(fvec4) 23(float) 213 213
218: 6(int) Constant 1756
216: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 217 27 16 19 218 11 11 12
221: 6(int) Constant 1774
219: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 220 25 16 19 221 11 11 12
224: 6(int) Constant 1817
222: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 223 214 16 19 224 11 11 12
225: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 223 214 16 19 224 11 11 12
226: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 227 19 16 212 11 18 227 11 12 216 219 222 225
228: TypeArray 215(gl_PerVertex) 9
229: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 226 9
230: TypePointer Input 228
231(gl_in): 230(ptr) Variable Input
232: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 233 229 16 212 11 18 233 231(gl_in) 102
234: TypePointer Input 114(int)
235(gl_InvocationID): 234(ptr) Variable Input
236: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 237 116 16 212 11 18 237 235(gl_InvocationID) 102
239: TypePointer Input 26(fvec4)
243: TypeImage 23(float) 2D sampled format:Unknown
246: 6(int) Constant 86
248: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(Unknown)
244: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 245 11 16 246 11 18 247 248 12
249: TypeSampledImage 243
250: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 251 11 16 246 11 18 252 248 12
253: TypePointer UniformConstant 249
254(samplerHeight): 253(ptr) Variable UniformConstant
255: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 256 250 16 246 11 18 256 254(samplerHeight) 102
258: TypeArray 86(fvec2) 9
259: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 87 9
260: TypePointer Input 258
261(inUV): 260(ptr) Variable Input
262: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 263 259 16 246 11 18 263 261(inUV) 102
264: TypePointer Input 86(fvec2)
269: 114(int) Constant 4
277: TypePointer Function 114(int)
281: 6(int) Constant 89
279: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 280 116 16 281 11 53 20
289: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 47 9 21 11
292: 114(int) Constant 3
294: TypePointer Uniform 26(fvec4)
298: 23(float) Constant 1090519040
300: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 47 9 21 11
304: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 47 9 21 11
305: 46(bool) ConstantFalse
310: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 47 9 21 11
315: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 47 9 21 11
320: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 47 9 21 11
321: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 47 9 21 11
325: TypeArray 23(float) 21
326: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 25 21
327: TypePointer Output 325
328(gl_TessLevelInner): 327(ptr) Variable Output
331: 6(int) Constant 104
329: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 330 326 16 331 11 18 330 328(gl_TessLevelInner) 102
332: TypePointer Output 23(float)
335: TypeArray 23(float) 20
336: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 25 20
337: TypePointer Output 335
338(gl_TessLevelOuter): 337(ptr) Variable Output
341: 6(int) Constant 106
339: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 340 336 16 341 11 18 340 338(gl_TessLevelOuter) 102
344: 114(int) Constant 2
350: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 47 9 21 11
405(gl_PerVertex): TypeStruct 26(fvec4) 23(float) 213 213
407: 6(int) Constant 110
406: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 217 27 16 19 407 11 11 12
409: 6(int) Constant 128
408: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 220 25 16 19 409 11 11 12
411: 6(int) Constant 171
410: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 223 214 16 19 411 11 11 12
412: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 223 214 16 19 411 11 11 12
414: 6(int) Constant 137
413: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 227 19 16 414 11 18 227 11 12 406 408 410 412
415: TypeArray 405(gl_PerVertex) 20
416: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 413 20
417: TypePointer Output 415
418(gl_out): 417(ptr) Variable Output
419: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 420 416 16 414 11 18 420 418(gl_out) 102
425: TypePointer Output 26(fvec4)
427: TypeArray 133(fvec3) 20
428: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 134 20
429: TypePointer Output 427
430(outNormal): 429(ptr) Variable Output
433: 6(int) Constant 138
431: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 432 428 16 433 11 18 432 430(outNormal) 102
435: TypeArray 133(fvec3) 9
436: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 134 9
437: TypePointer Input 435
438(inNormal): 437(ptr) Variable Input
439: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 440 436 16 433 11 18 440 438(inNormal) 102
442: TypePointer Input 133(fvec3)
445: TypePointer Output 133(fvec3)
447: TypeArray 86(fvec2) 20
448: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 87 20
449: TypePointer Output 447
450(outUV): 449(ptr) Variable Output
453: 6(int) Constant 139
451: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 452 448 16 453 11 18 452 450(outUV) 102
458: TypePointer Output 86(fvec2)
13(main): 3 Function None 4
22: Label
354(param): 28(ptr) Variable Function
357(param): 28(ptr) Variable Function
362(param): 28(ptr) Variable Function
365(param): 28(ptr) Variable Function
370(param): 28(ptr) Variable Function
373(param): 28(ptr) Variable Function
378(param): 28(ptr) Variable Function
381(param): 28(ptr) Variable Function
313: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 15 13(main)
314: 114(int) Load 235(gl_InvocationID)
316: 46(bool) IEqual 314 128
SelectionMerge 318 None
BranchConditional 316 317 318
317: Label
319: 46(bool) FunctionCall 51(frustumCheck()
322: 46(bool) LogicalNot 319
SelectionMerge 324 None
BranchConditional 322 323 347
323: Label
333: 332(ptr) AccessChain 328(gl_TessLevelInner) 128
Store 333 135
334: 332(ptr) AccessChain 328(gl_TessLevelInner) 117
Store 334 135
342: 332(ptr) AccessChain 338(gl_TessLevelOuter) 128
Store 342 135
343: 332(ptr) AccessChain 338(gl_TessLevelOuter) 117
Store 343 135
345: 332(ptr) AccessChain 338(gl_TessLevelOuter) 344
Store 345 135
346: 332(ptr) AccessChain 338(gl_TessLevelOuter) 292
Store 346 135
Branch 324
347: Label
348: 195(ptr) AccessChain 111(ubo) 199
349: 23(float) Load 348
351: 46(bool) FOrdGreaterThan 349 135
SelectionMerge 353 None
BranchConditional 351 352 398
352: Label
355: 239(ptr) AccessChain 231(gl_in) 292 128
356: 26(fvec4) Load 355
Store 354(param) 356
358: 239(ptr) AccessChain 231(gl_in) 128 128
359: 26(fvec4) Load 358
Store 357(param) 359
360: 23(float) FunctionCall 33(screenSpaceTessFactor(vf4;vf4;) 354(param) 357(param)
361: 332(ptr) AccessChain 338(gl_TessLevelOuter) 128
Store 361 360
363: 239(ptr) AccessChain 231(gl_in) 128 128
364: 26(fvec4) Load 363
Store 362(param) 364
366: 239(ptr) AccessChain 231(gl_in) 117 128
367: 26(fvec4) Load 366
Store 365(param) 367
368: 23(float) FunctionCall 33(screenSpaceTessFactor(vf4;vf4;) 362(param) 365(param)
369: 332(ptr) AccessChain 338(gl_TessLevelOuter) 117
Store 369 368
371: 239(ptr) AccessChain 231(gl_in) 117 128
372: 26(fvec4) Load 371
Store 370(param) 372
374: 239(ptr) AccessChain 231(gl_in) 344 128
375: 26(fvec4) Load 374
Store 373(param) 375
376: 23(float) FunctionCall 33(screenSpaceTessFactor(vf4;vf4;) 370(param) 373(param)
377: 332(ptr) AccessChain 338(gl_TessLevelOuter) 344
Store 377 376
379: 239(ptr) AccessChain 231(gl_in) 344 128
380: 26(fvec4) Load 379
Store 378(param) 380
382: 239(ptr) AccessChain 231(gl_in) 292 128
383: 26(fvec4) Load 382
Store 381(param) 383
384: 23(float) FunctionCall 33(screenSpaceTessFactor(vf4;vf4;) 378(param) 381(param)
385: 332(ptr) AccessChain 338(gl_TessLevelOuter) 292
Store 385 384
386: 332(ptr) AccessChain 338(gl_TessLevelOuter) 128
387: 23(float) Load 386
388: 332(ptr) AccessChain 338(gl_TessLevelOuter) 292
389: 23(float) Load 388
390: 23(float) ExtInst 2(GLSL.std.450) 46(FMix) 387 389 60
391: 332(ptr) AccessChain 328(gl_TessLevelInner) 128
Store 391 390
392: 332(ptr) AccessChain 338(gl_TessLevelOuter) 344
393: 23(float) Load 392
394: 332(ptr) AccessChain 338(gl_TessLevelOuter) 117
395: 23(float) Load 394
396: 23(float) ExtInst 2(GLSL.std.450) 46(FMix) 393 395 60
397: 332(ptr) AccessChain 328(gl_TessLevelInner) 117
Store 397 396
Branch 353
398: Label
399: 332(ptr) AccessChain 328(gl_TessLevelInner) 128
Store 399 203
400: 332(ptr) AccessChain 328(gl_TessLevelInner) 117
Store 400 203
401: 332(ptr) AccessChain 338(gl_TessLevelOuter) 128
Store 401 203
402: 332(ptr) AccessChain 338(gl_TessLevelOuter) 117
Store 402 203
403: 332(ptr) AccessChain 338(gl_TessLevelOuter) 344
Store 403 203
404: 332(ptr) AccessChain 338(gl_TessLevelOuter) 292
Store 404 203
Branch 353
353: Label
Branch 324
324: Label
Branch 318
318: Label
421: 114(int) Load 235(gl_InvocationID)
422: 114(int) Load 235(gl_InvocationID)
423: 239(ptr) AccessChain 231(gl_in) 422 128
424: 26(fvec4) Load 423
426: 425(ptr) AccessChain 418(gl_out) 421 128
Store 426 424
434: 114(int) Load 235(gl_InvocationID)
441: 114(int) Load 235(gl_InvocationID)
443: 442(ptr) AccessChain 438(inNormal) 441
444: 133(fvec3) Load 443
446: 445(ptr) AccessChain 430(outNormal) 434
Store 446 444
454: 114(int) Load 235(gl_InvocationID)
455: 114(int) Load 235(gl_InvocationID)
456: 264(ptr) AccessChain 261(inUV) 455
457: 86(fvec2) Load 456
459: 458(ptr) AccessChain 450(outUV) 454
Store 459 457
Return
FunctionEnd
33(screenSpaceTessFactor(vf4;vf4;): 23(float) Function None 29
31(p0): 28(ptr) FunctionParameter
32(p1): 28(ptr) FunctionParameter
36: Label
56(midPoint): 28(ptr) Variable Function
67(radius): 66(ptr) Variable Function
77(v0): 28(ptr) Variable Function
124(clip0): 28(ptr) Variable Function
144(clip1): 28(ptr) Variable Function
37: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 35
38: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 16 11 11 11 11
41: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 39 31(p0) 42
45: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 43 32(p1) 42
55: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 35 33(screenSpaceTessFactor(vf4;vf4;)
61: 26(fvec4) Load 31(p0)
62: 26(fvec4) Load 32(p1)
63: 26(fvec4) FAdd 61 62
64: 26(fvec4) VectorTimesScalar 63 60
Store 56(midPoint) 64
65: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 57 64 42
71: 26(fvec4) Load 31(p0)
72: 26(fvec4) Load 32(p1)
73: 23(float) ExtInst 2(GLSL.std.450) 67(Distance) 71 72
75: 23(float) FDiv 73 74
Store 67(radius) 75
76: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 68 75 42
119: 118(ptr) AccessChain 111(ubo) 117
120: 81 Load 119
121: 26(fvec4) Load 56(midPoint)
122: 26(fvec4) MatrixTimesVector 120 121
Store 77(v0) 122
123: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 78 122 42
129: 118(ptr) AccessChain 111(ubo) 128
130: 81 Load 129
131: 26(fvec4) Load 77(v0)
132: 23(float) Load 67(radius)
137: 23(float) CompositeExtract 136 0
138: 23(float) CompositeExtract 136 1
139: 23(float) CompositeExtract 136 2
140: 26(fvec4) CompositeConstruct 132 137 138 139
141: 26(fvec4) FSub 131 140
142: 26(fvec4) MatrixTimesVector 130 141
Store 124(clip0) 142
143: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 125 142 42
148: 118(ptr) AccessChain 111(ubo) 128
149: 81 Load 148
150: 26(fvec4) Load 77(v0)
151: 23(float) Load 67(radius)
152: 23(float) CompositeExtract 136 0
153: 23(float) CompositeExtract 136 1
154: 23(float) CompositeExtract 136 2
155: 26(fvec4) CompositeConstruct 151 152 153 154
156: 26(fvec4) FAdd 150 155
157: 26(fvec4) MatrixTimesVector 149 156
Store 144(clip1) 157
158: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 145 157 42
159: 66(ptr) AccessChain 124(clip0) 12
160: 23(float) Load 159
161: 26(fvec4) Load 124(clip0)
162: 26(fvec4) CompositeConstruct 160 160 160 160
163: 26(fvec4) FDiv 161 162
Store 124(clip0) 163
164: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 125 163 42
165: 66(ptr) AccessChain 144(clip1) 12
166: 23(float) Load 165
167: 26(fvec4) Load 144(clip1)
168: 26(fvec4) CompositeConstruct 166 166 166 166
169: 26(fvec4) FDiv 167 168
Store 144(clip1) 169
170: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 145 169 42
173: 172(ptr) AccessChain 111(ubo) 171
174: 86(fvec2) Load 173
175: 26(fvec4) Load 124(clip0)
176: 86(fvec2) VectorShuffle 175 175 0 1
177: 86(fvec2) FMul 176 174
178: 66(ptr) AccessChain 124(clip0) 11
179: 23(float) CompositeExtract 177 0
Store 178 179
180: 66(ptr) AccessChain 124(clip0) 19
181: 23(float) CompositeExtract 177 1
Store 180 181
182: 172(ptr) AccessChain 111(ubo) 171
183: 86(fvec2) Load 182
184: 26(fvec4) Load 144(clip1)
185: 86(fvec2) VectorShuffle 184 184 0 1
186: 86(fvec2) FMul 185 183
187: 66(ptr) AccessChain 144(clip1) 11
188: 23(float) CompositeExtract 186 0
Store 187 188
189: 66(ptr) AccessChain 144(clip1) 19
190: 23(float) CompositeExtract 186 1
Store 189 190
191: 26(fvec4) Load 124(clip0)
192: 26(fvec4) Load 144(clip1)
193: 23(float) ExtInst 2(GLSL.std.450) 67(Distance) 191 192
196: 195(ptr) AccessChain 111(ubo) 194
197: 23(float) Load 196
198: 23(float) FDiv 193 197
200: 195(ptr) AccessChain 111(ubo) 199
201: 23(float) Load 200
202: 23(float) FMul 198 201
205: 23(float) ExtInst 2(GLSL.std.450) 43(FClamp) 202 203 204
ReturnValue 205
FunctionEnd
51(frustumCheck(): 46(bool) Function None 49
54: Label
209(pos): 28(ptr) Variable Function
278(i): 277(ptr) Variable Function
208: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 53 51(frustumCheck()
238: 114(int) Load 235(gl_InvocationID)
240: 239(ptr) AccessChain 231(gl_in) 238 128
241: 26(fvec4) Load 240
Store 209(pos) 241
242: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 210 241 42
257: 249 Load 254(samplerHeight)
265: 264(ptr) AccessChain 261(inUV) 128
266: 86(fvec2) Load 265
267: 26(fvec4) ImageSampleExplicitLod 257 266 Lod 135
268: 23(float) CompositeExtract 267 0
270: 195(ptr) AccessChain 111(ubo) 269
271: 23(float) Load 270
272: 23(float) FMul 268 271
273: 66(ptr) AccessChain 209(pos) 19
274: 23(float) Load 273
275: 23(float) FSub 274 272
276: 66(ptr) AccessChain 209(pos) 19
Store 276 275
Store 278(i) 128
282: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 279 128 42
Branch 283
283: Label
LoopMerge 285 286 None
Branch 287
287: Label
288: 114(int) Load 278(i)
290: 46(bool) SLessThan 288 171
BranchConditional 290 284 285
284: Label
291: 26(fvec4) Load 209(pos)
293: 114(int) Load 278(i)
295: 294(ptr) AccessChain 111(ubo) 292 293
296: 26(fvec4) Load 295
297: 23(float) Dot 291 296
299: 23(float) FAdd 297 298
301: 46(bool) FOrdLessThan 299 135
SelectionMerge 303 None
BranchConditional 301 302 303
302: Label
ReturnValue 305
303: Label
Branch 286
286: Label
307: 114(int) Load 278(i)
308: 114(int) IAdd 307 117
Store 278(i) 308
309: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 279 308 42
Branch 283
285: Label
ReturnValue 83
FunctionEnd