Use line and column from node on DebugLexicalBlock.

* Fix bug in TestFixture.h, debug info gets enabled when nonsemantic debug info is requested.
This commit is contained in:
Sajjad Mirza 2024-10-04 11:11:27 -07:00 committed by GitHub
parent 48f63fe4b3
commit f69d2768e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 7746 additions and 6750 deletions

View file

@ -1,14 +1,14 @@
spv.debuginfo.glsl.tesc
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 571
// Id's are bound by 579
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationControl 14 "main" 262 267 296 385 401 516 532 542 557
EntryPoint TessellationControl 14 "main" 262 267 296 390 405 524 540 550 565
ExecutionMode 14 OutputVertices 4
2: String "spv.debuginfo.glsl.tesc"
8: String "uint"
@ -194,12 +194,12 @@ void main()
289: String "samplerHeight"
298: String "inUV"
317: String "i"
387: String "gl_TessLevelInner"
403: String "gl_TessLevelOuter"
518: String "gl_out"
534: String "outNormal"
544: String "inNormal"
559: String "outUV"
392: String "gl_TessLevelInner"
407: String "gl_TessLevelOuter"
526: String "gl_out"
542: String "outNormal"
552: String "inNormal"
567: String "outUV"
Name 14 "main"
Name 29 "screenSpaceTessFactor(vf4;vf4;"
Name 27 "p0"
@ -231,25 +231,25 @@ void main()
Name 287 "samplerHeight"
Name 296 "inUV"
Name 315 "i"
Name 385 "gl_TessLevelInner"
Name 401 "gl_TessLevelOuter"
Name 426 "param"
Name 432 "param"
Name 437 "param"
Name 442 "param"
Name 447 "param"
Name 452 "param"
Name 457 "param"
Name 462 "param"
Name 503 "gl_PerVertex"
MemberName 503(gl_PerVertex) 0 "gl_Position"
MemberName 503(gl_PerVertex) 1 "gl_PointSize"
MemberName 503(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 503(gl_PerVertex) 3 "gl_CullDistance"
Name 516 "gl_out"
Name 532 "outNormal"
Name 542 "inNormal"
Name 557 "outUV"
Name 390 "gl_TessLevelInner"
Name 405 "gl_TessLevelOuter"
Name 434 "param"
Name 439 "param"
Name 444 "param"
Name 449 "param"
Name 454 "param"
Name 459 "param"
Name 464 "param"
Name 469 "param"
Name 511 "gl_PerVertex"
MemberName 511(gl_PerVertex) 0 "gl_Position"
MemberName 511(gl_PerVertex) 1 "gl_PointSize"
MemberName 511(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 511(gl_PerVertex) 3 "gl_CullDistance"
Name 524 "gl_out"
Name 540 "outNormal"
Name 550 "inNormal"
Name 565 "outUV"
Decorate 95 ArrayStride 16
Decorate 99(UBO) Block
MemberDecorate 99(UBO) 0 ColMajor
@ -275,18 +275,18 @@ void main()
Decorate 287(samplerHeight) Binding 1
Decorate 287(samplerHeight) DescriptorSet 0
Decorate 296(inUV) Location 1
Decorate 385(gl_TessLevelInner) BuiltIn TessLevelInner
Decorate 385(gl_TessLevelInner) Patch
Decorate 401(gl_TessLevelOuter) BuiltIn TessLevelOuter
Decorate 401(gl_TessLevelOuter) Patch
Decorate 503(gl_PerVertex) Block
MemberDecorate 503(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 503(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 503(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 503(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 532(outNormal) Location 0
Decorate 542(inNormal) Location 0
Decorate 557(outUV) Location 1
Decorate 390(gl_TessLevelInner) BuiltIn TessLevelInner
Decorate 390(gl_TessLevelInner) Patch
Decorate 405(gl_TessLevelOuter) BuiltIn TessLevelOuter
Decorate 405(gl_TessLevelOuter) Patch
Decorate 511(gl_PerVertex) Block
MemberDecorate 511(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 511(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 511(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 511(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 540(outNormal) Location 0
Decorate 550(inNormal) Location 0
Decorate 565(outUV) Location 1
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
@ -441,252 +441,260 @@ void main()
338: TypePointer Uniform 19(fvec4)
339: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 38 12
343: 16(float) Constant 1090519040
348: 48(bool) ConstantFalse
351: 7(int) Constant 92
359: 7(int) Constant 95
364: 7(int) Constant 96
370: 7(int) Constant 100
377: 7(int) Constant 102
381: TypeArray 16(float) 38
382: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 38
383: TypePointer Output 381
384: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 382 13 12
385(gl_TessLevelInner): 383(ptr) Variable Output
388: 7(int) Constant 104
386: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 387 382 33 388 12 36 387 385(gl_TessLevelInner) 112
389: TypePointer Output 16(float)
390: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 13 12
396: 7(int) Constant 105
397: TypeArray 16(float) 20
398: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
399: TypePointer Output 397
400: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 398 13 12
401(gl_TessLevelOuter): 399(ptr) Variable Output
404: 7(int) Constant 106
402: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 403 398 33 404 12 36 403 401(gl_TessLevelOuter) 112
409: 7(int) Constant 107
410: 125(int) Constant 2
413: 7(int) Constant 108
416: 7(int) Constant 109
421: 7(int) Constant 113
430: 7(int) Constant 115
440: 7(int) Constant 116
450: 7(int) Constant 117
460: 7(int) Constant 118
469: 7(int) Constant 119
477: 7(int) Constant 120
487: 7(int) Constant 126
490: 7(int) Constant 127
493: 7(int) Constant 128
496: 7(int) Constant 129
499: 7(int) Constant 130
502: 7(int) Constant 131
503(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 243 243
505: 7(int) Constant 110
504: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 247 21 33 37 505 12 12 13
506: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 18 33 37 493 12 12 13
508: 7(int) Constant 171
507: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 253 244 33 37 508 12 12 13
509: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 253 244 33 37 508 12 12 13
511: 7(int) Constant 137
510: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 257 37 33 511 12 36 257 12 13 504 506 507 509
512: TypeArray 503(gl_PerVertex) 20
513: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 510 20
514: TypePointer Output 512
515: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 513 13 12
516(gl_out): 514(ptr) Variable Output
517: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 518 513 33 511 12 36 518 516(gl_out) 112
525: TypePointer Output 19(fvec4)
526: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 13 12
528: TypeArray 146(fvec3) 20
529: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 147 20
530: TypePointer Output 528
531: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 529 13 12
532(outNormal): 530(ptr) Variable Output
535: 7(int) Constant 138
533: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 534 529 33 535 12 36 534 532(outNormal) 112
538: TypeArray 146(fvec3) 10
539: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 147 10
540: TypePointer Input 538
541: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 539 37 12
542(inNormal): 540(ptr) Variable Input
543: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 544 539 33 535 12 36 544 542(inNormal) 112
546: TypePointer Input 146(fvec3)
547: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 147 37 12
550: TypePointer Output 146(fvec3)
551: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 147 13 12
553: TypeArray 97(fvec2) 20
554: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 98 20
555: TypePointer Output 553
556: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 554 13 12
557(outUV): 555(ptr) Variable Output
560: 7(int) Constant 139
558: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 559 554 33 560 12 36 559 557(outUV) 112
566: TypePointer Output 97(fvec2)
567: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 98 13 12
570: 7(int) Constant 140
349: 7(int) Constant 92
348: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 21(DebugLexicalBlock) 33 349 20 56
350: 48(bool) ConstantFalse
360: 7(int) Constant 95
365: 7(int) Constant 96
371: 7(int) Constant 100
376: 7(int) Constant 102
375: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 21(DebugLexicalBlock) 33 376 13 59
384: 7(int) Constant 104
385: 7(int) Constant 25
383: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 21(DebugLexicalBlock) 33 384 385 375
386: TypeArray 16(float) 38
387: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 38
388: TypePointer Output 386
389: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 387 13 12
390(gl_TessLevelInner): 388(ptr) Variable Output
391: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 392 387 33 384 12 36 392 390(gl_TessLevelInner) 112
393: TypePointer Output 16(float)
394: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 13 12
400: 7(int) Constant 105
401: TypeArray 16(float) 20
402: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
403: TypePointer Output 401
404: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 402 13 12
405(gl_TessLevelOuter): 403(ptr) Variable Output
408: 7(int) Constant 106
406: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 407 402 33 408 12 36 407 405(gl_TessLevelOuter) 112
413: 7(int) Constant 107
414: 125(int) Constant 2
417: 7(int) Constant 108
420: 7(int) Constant 109
423: 7(int) Constant 113
422: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 21(DebugLexicalBlock) 33 423 20 375
432: 7(int) Constant 115
433: 7(int) Constant 26
431: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 21(DebugLexicalBlock) 33 432 433 422
447: 7(int) Constant 116
457: 7(int) Constant 117
467: 7(int) Constant 118
476: 7(int) Constant 119
484: 7(int) Constant 120
492: 7(int) Constant 126
491: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 21(DebugLexicalBlock) 33 492 433 422
498: 7(int) Constant 127
501: 7(int) Constant 128
504: 7(int) Constant 129
507: 7(int) Constant 130
510: 7(int) Constant 131
511(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 243 243
513: 7(int) Constant 110
512: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 247 21 33 37 513 12 12 13
514: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 18 33 37 501 12 12 13
516: 7(int) Constant 171
515: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 253 244 33 37 516 12 12 13
517: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 253 244 33 37 516 12 12 13
519: 7(int) Constant 137
518: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 257 37 33 519 12 36 257 12 13 512 514 515 517
520: TypeArray 511(gl_PerVertex) 20
521: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 518 20
522: TypePointer Output 520
523: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 521 13 12
524(gl_out): 522(ptr) Variable Output
525: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 526 521 33 519 12 36 526 524(gl_out) 112
533: TypePointer Output 19(fvec4)
534: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 13 12
536: TypeArray 146(fvec3) 20
537: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 147 20
538: TypePointer Output 536
539: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 537 13 12
540(outNormal): 538(ptr) Variable Output
543: 7(int) Constant 138
541: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 542 537 33 543 12 36 542 540(outNormal) 112
546: TypeArray 146(fvec3) 10
547: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 147 10
548: TypePointer Input 546
549: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 547 37 12
550(inNormal): 548(ptr) Variable Input
551: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 552 547 33 543 12 36 552 550(inNormal) 112
554: TypePointer Input 146(fvec3)
555: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 147 37 12
558: TypePointer Output 146(fvec3)
559: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 147 13 12
561: TypeArray 97(fvec2) 20
562: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 98 20
563: TypePointer Output 561
564: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 562 13 12
565(outUV): 563(ptr) Variable Output
568: 7(int) Constant 139
566: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 567 562 33 568 12 36 567 565(outUV) 112
574: TypePointer Output 97(fvec2)
575: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 98 13 12
578: 7(int) Constant 140
14(main): 4 Function None 5
15: Label
426(param): 22(ptr) Variable Function
432(param): 22(ptr) Variable Function
437(param): 22(ptr) Variable Function
442(param): 22(ptr) Variable Function
447(param): 22(ptr) Variable Function
452(param): 22(ptr) Variable Function
457(param): 22(ptr) Variable Function
462(param): 22(ptr) Variable Function
366: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
367: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 60 60 12 12
365: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 59 14(main)
369: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 370 370 12 12
368: 125(int) Load 267(gl_InvocationID)
371: 48(bool) IEqual 368 141
SelectionMerge 373 None
BranchConditional 371 372 373
372: Label
375: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
376: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 377 377 12 12
374: 48(bool) FunctionCall 53(frustumCheck()
378: 48(bool) LogicalNot 374
SelectionMerge 380 None
BranchConditional 378 379 417
379: Label
392: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
393: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 388 388 12 12
391: 389(ptr) AccessChain 385(gl_TessLevelInner) 141
Store 391 148
395: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 396 396 12 12
394: 389(ptr) AccessChain 385(gl_TessLevelInner) 128
Store 394 148
406: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 404 404 12 12
405: 389(ptr) AccessChain 401(gl_TessLevelOuter) 141
Store 405 148
408: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 409 409 12 12
407: 389(ptr) AccessChain 401(gl_TessLevelOuter) 128
Store 407 148
434(param): 22(ptr) Variable Function
439(param): 22(ptr) Variable Function
444(param): 22(ptr) Variable Function
449(param): 22(ptr) Variable Function
454(param): 22(ptr) Variable Function
459(param): 22(ptr) Variable Function
464(param): 22(ptr) Variable Function
469(param): 22(ptr) Variable Function
367: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
368: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 60 60 12 12
366: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 59 14(main)
370: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 371 371 12 12
369: 125(int) Load 267(gl_InvocationID)
372: 48(bool) IEqual 369 141
SelectionMerge 374 None
BranchConditional 372 373 374
373: Label
378: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 375
379: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 376 376 12 12
377: 48(bool) FunctionCall 53(frustumCheck()
380: 48(bool) LogicalNot 377
SelectionMerge 382 None
BranchConditional 380 381 421
381: Label
396: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 383
397: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 384 384 12 12
395: 393(ptr) AccessChain 390(gl_TessLevelInner) 141
Store 395 148
399: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 400 400 12 12
398: 393(ptr) AccessChain 390(gl_TessLevelInner) 128
Store 398 148
410: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 408 408 12 12
409: 393(ptr) AccessChain 405(gl_TessLevelOuter) 141
Store 409 148
412: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 413 413 12 12
411: 389(ptr) AccessChain 401(gl_TessLevelOuter) 410
411: 393(ptr) AccessChain 405(gl_TessLevelOuter) 128
Store 411 148
415: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 416 416 12 12
414: 389(ptr) AccessChain 401(gl_TessLevelOuter) 336
Store 414 148
Branch 380
417: Label
419: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
420: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 421 421 12 12
418: 217(ptr) AccessChain 122(ubo) 222
422: 16(float) Load 418
423: 48(bool) FOrdGreaterThan 422 148
SelectionMerge 425 None
BranchConditional 423 424 483
424: Label
428: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
429: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 430 430 12 12
427: 271(ptr) AccessChain 262(gl_in) 336 141
431: 19(fvec4) Load 427
Store 426(param) 431
433: 271(ptr) AccessChain 262(gl_in) 141 141
434: 19(fvec4) Load 433
Store 432(param) 434
435: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 426(param) 432(param)
436: 389(ptr) AccessChain 401(gl_TessLevelOuter) 141
Store 436 435
439: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 440 440 12 12
438: 271(ptr) AccessChain 262(gl_in) 141 141
441: 19(fvec4) Load 438
Store 437(param) 441
443: 271(ptr) AccessChain 262(gl_in) 128 141
444: 19(fvec4) Load 443
Store 442(param) 444
445: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 437(param) 442(param)
446: 389(ptr) AccessChain 401(gl_TessLevelOuter) 128
Store 446 445
449: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 450 450 12 12
448: 271(ptr) AccessChain 262(gl_in) 128 141
451: 19(fvec4) Load 448
Store 447(param) 451
453: 271(ptr) AccessChain 262(gl_in) 410 141
454: 19(fvec4) Load 453
Store 452(param) 454
455: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 447(param) 452(param)
456: 389(ptr) AccessChain 401(gl_TessLevelOuter) 410
Store 456 455
459: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 460 460 12 12
458: 271(ptr) AccessChain 262(gl_in) 410 141
461: 19(fvec4) Load 458
Store 457(param) 461
463: 271(ptr) AccessChain 262(gl_in) 336 141
464: 19(fvec4) Load 463
Store 462(param) 464
465: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 457(param) 462(param)
466: 389(ptr) AccessChain 401(gl_TessLevelOuter) 336
Store 466 465
468: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 469 469 12 12
467: 389(ptr) AccessChain 401(gl_TessLevelOuter) 141
470: 16(float) Load 467
471: 389(ptr) AccessChain 401(gl_TessLevelOuter) 336
472: 16(float) Load 471
473: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 470 472 68
474: 389(ptr) AccessChain 385(gl_TessLevelInner) 141
Store 474 473
476: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 477 477 12 12
475: 389(ptr) AccessChain 401(gl_TessLevelOuter) 410
478: 16(float) Load 475
479: 389(ptr) AccessChain 401(gl_TessLevelOuter) 128
480: 16(float) Load 479
481: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 478 480 68
482: 389(ptr) AccessChain 385(gl_TessLevelInner) 128
Store 482 481
Branch 425
483: Label
485: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
486: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 487 487 12 12
484: 389(ptr) AccessChain 385(gl_TessLevelInner) 141
Store 484 226
489: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 490 490 12 12
488: 389(ptr) AccessChain 385(gl_TessLevelInner) 128
Store 488 226
492: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 493 493 12 12
491: 389(ptr) AccessChain 401(gl_TessLevelOuter) 141
Store 491 226
495: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 496 496 12 12
494: 389(ptr) AccessChain 401(gl_TessLevelOuter) 128
Store 494 226
498: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 499 499 12 12
497: 389(ptr) AccessChain 401(gl_TessLevelOuter) 410
Store 497 226
501: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 502 502 12 12
500: 389(ptr) AccessChain 401(gl_TessLevelOuter) 336
Store 500 226
Branch 425
425: Label
Branch 380
380: Label
Branch 373
373: Label
520: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
521: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 511 511 12 12
519: 125(int) Load 267(gl_InvocationID)
522: 125(int) Load 267(gl_InvocationID)
523: 271(ptr) AccessChain 262(gl_in) 522 141
524: 19(fvec4) Load 523
527: 525(ptr) AccessChain 516(gl_out) 519 141
Store 527 524
537: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 535 535 12 12
536: 125(int) Load 267(gl_InvocationID)
545: 125(int) Load 267(gl_InvocationID)
548: 546(ptr) AccessChain 542(inNormal) 545
549: 146(fvec3) Load 548
552: 550(ptr) AccessChain 532(outNormal) 536
Store 552 549
562: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 560 560 12 12
561: 125(int) Load 267(gl_InvocationID)
563: 125(int) Load 267(gl_InvocationID)
564: 299(ptr) AccessChain 296(inUV) 563
565: 97(fvec2) Load 564
568: 566(ptr) AccessChain 557(outUV) 561
Store 568 565
569: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 570 570 12 12
416: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 417 417 12 12
415: 393(ptr) AccessChain 405(gl_TessLevelOuter) 414
Store 415 148
419: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 420 420 12 12
418: 393(ptr) AccessChain 405(gl_TessLevelOuter) 336
Store 418 148
Branch 382
421: Label
425: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 422
426: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 423 423 12 12
424: 217(ptr) AccessChain 122(ubo) 222
427: 16(float) Load 424
428: 48(bool) FOrdGreaterThan 427 148
SelectionMerge 430 None
BranchConditional 428 429 490
429: Label
436: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 431
437: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 432 432 12 12
435: 271(ptr) AccessChain 262(gl_in) 336 141
438: 19(fvec4) Load 435
Store 434(param) 438
440: 271(ptr) AccessChain 262(gl_in) 141 141
441: 19(fvec4) Load 440
Store 439(param) 441
442: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 434(param) 439(param)
443: 393(ptr) AccessChain 405(gl_TessLevelOuter) 141
Store 443 442
446: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 447 447 12 12
445: 271(ptr) AccessChain 262(gl_in) 141 141
448: 19(fvec4) Load 445
Store 444(param) 448
450: 271(ptr) AccessChain 262(gl_in) 128 141
451: 19(fvec4) Load 450
Store 449(param) 451
452: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 444(param) 449(param)
453: 393(ptr) AccessChain 405(gl_TessLevelOuter) 128
Store 453 452
456: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 457 457 12 12
455: 271(ptr) AccessChain 262(gl_in) 128 141
458: 19(fvec4) Load 455
Store 454(param) 458
460: 271(ptr) AccessChain 262(gl_in) 414 141
461: 19(fvec4) Load 460
Store 459(param) 461
462: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 454(param) 459(param)
463: 393(ptr) AccessChain 405(gl_TessLevelOuter) 414
Store 463 462
466: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 467 467 12 12
465: 271(ptr) AccessChain 262(gl_in) 414 141
468: 19(fvec4) Load 465
Store 464(param) 468
470: 271(ptr) AccessChain 262(gl_in) 336 141
471: 19(fvec4) Load 470
Store 469(param) 471
472: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 464(param) 469(param)
473: 393(ptr) AccessChain 405(gl_TessLevelOuter) 336
Store 473 472
475: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 476 476 12 12
474: 393(ptr) AccessChain 405(gl_TessLevelOuter) 141
477: 16(float) Load 474
478: 393(ptr) AccessChain 405(gl_TessLevelOuter) 336
479: 16(float) Load 478
480: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 477 479 68
481: 393(ptr) AccessChain 390(gl_TessLevelInner) 141
Store 481 480
483: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 484 484 12 12
482: 393(ptr) AccessChain 405(gl_TessLevelOuter) 414
485: 16(float) Load 482
486: 393(ptr) AccessChain 405(gl_TessLevelOuter) 128
487: 16(float) Load 486
488: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 485 487 68
489: 393(ptr) AccessChain 390(gl_TessLevelInner) 128
Store 489 488
Branch 430
490: Label
494: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 491
495: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 492 492 12 12
493: 393(ptr) AccessChain 390(gl_TessLevelInner) 141
Store 493 226
497: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 498 498 12 12
496: 393(ptr) AccessChain 390(gl_TessLevelInner) 128
Store 496 226
500: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 501 501 12 12
499: 393(ptr) AccessChain 405(gl_TessLevelOuter) 141
Store 499 226
503: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 504 504 12 12
502: 393(ptr) AccessChain 405(gl_TessLevelOuter) 128
Store 502 226
506: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 507 507 12 12
505: 393(ptr) AccessChain 405(gl_TessLevelOuter) 414
Store 505 226
509: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 510 510 12 12
508: 393(ptr) AccessChain 405(gl_TessLevelOuter) 336
Store 508 226
Branch 430
430: Label
Branch 382
382: Label
Branch 374
374: Label
528: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
529: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 519 519 12 12
527: 125(int) Load 267(gl_InvocationID)
530: 125(int) Load 267(gl_InvocationID)
531: 271(ptr) AccessChain 262(gl_in) 530 141
532: 19(fvec4) Load 531
535: 533(ptr) AccessChain 524(gl_out) 527 141
Store 535 532
545: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 543 543 12 12
544: 125(int) Load 267(gl_InvocationID)
553: 125(int) Load 267(gl_InvocationID)
556: 554(ptr) AccessChain 550(inNormal) 553
557: 146(fvec3) Load 556
560: 558(ptr) AccessChain 540(outNormal) 544
Store 560 557
570: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 568 568 12 12
569: 125(int) Load 267(gl_InvocationID)
571: 125(int) Load 267(gl_InvocationID)
572: 299(ptr) AccessChain 296(inUV) 571
573: 97(fvec2) Load 572
576: 574(ptr) AccessChain 565(outUV) 569
Store 576 573
577: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 578 578 12 12
Return
FunctionEnd
29(screenSpaceTessFactor(vf4;vf4;): 16(float) Function None 25
@ -856,20 +864,20 @@ void main()
SelectionMerge 347 None
BranchConditional 345 346 347
346: Label
349: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
350: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 351 351 12 12
ReturnValue 348
351: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 348
352: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 349 349 12 12
ReturnValue 350
347: Label
Branch 324
324: Label
354: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
355: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 318 318 12 12
353: 125(int) Load 315(i)
356: 125(int) IAdd 353 128
Store 315(i) 356
355: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
356: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 318 318 12 12
354: 125(int) Load 315(i)
357: 125(int) IAdd 354 128
Store 315(i) 357
Branch 321
323: Label
357: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
358: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 359 359 12 12
358: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
359: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 360 360 12 12
ReturnValue 94
FunctionEnd