Always enable the generation of OpDebugBasicType for bool type

This commit is contained in:
Chao Chen 2023-10-25 11:50:44 -07:00 committed by arcady-lunarg
parent 0fedf7d95a
commit 9a35abff55
14 changed files with 5792 additions and 5865 deletions

View file

@ -1,14 +1,14 @@
spv.debuginfo.glsl.tesc
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 545
// Id's are bound by 537
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationControl 14 "main" 252 256 282 373 386 501 515 522 536
EntryPoint TessellationControl 14 "main" 252 256 282 366 379 493 507 514 528
ExecutionMode 14 OutputVertices 4
1: String ""
8: String "uint"
@ -54,12 +54,12 @@ spv.debuginfo.glsl.tesc
277: String "samplerHeight"
284: String "inUV"
303: String "i"
375: String "gl_TessLevelInner"
388: String "gl_TessLevelOuter"
503: String "gl_out"
517: String "outNormal"
524: String "inNormal"
538: String "outUV"
368: String "gl_TessLevelInner"
381: String "gl_TessLevelOuter"
495: String "gl_out"
509: String "outNormal"
516: String "inNormal"
530: String "outUV"
Name 14 "main"
Name 27 "screenSpaceTessFactor(vf4;vf4;"
Name 25 "p0"
@ -91,25 +91,25 @@ spv.debuginfo.glsl.tesc
Name 275 "samplerHeight"
Name 282 "inUV"
Name 301 "i"
Name 373 "gl_TessLevelInner"
Name 386 "gl_TessLevelOuter"
Name 413 "param"
Name 416 "param"
Name 423 "param"
Name 426 "param"
Name 433 "param"
Name 436 "param"
Name 443 "param"
Name 446 "param"
Name 490 "gl_PerVertex"
MemberName 490(gl_PerVertex) 0 "gl_Position"
MemberName 490(gl_PerVertex) 1 "gl_PointSize"
MemberName 490(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 490(gl_PerVertex) 3 "gl_CullDistance"
Name 501 "gl_out"
Name 515 "outNormal"
Name 522 "inNormal"
Name 536 "outUV"
Name 366 "gl_TessLevelInner"
Name 379 "gl_TessLevelOuter"
Name 405 "param"
Name 408 "param"
Name 415 "param"
Name 418 "param"
Name 425 "param"
Name 428 "param"
Name 435 "param"
Name 438 "param"
Name 482 "gl_PerVertex"
MemberName 482(gl_PerVertex) 0 "gl_Position"
MemberName 482(gl_PerVertex) 1 "gl_PointSize"
MemberName 482(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 482(gl_PerVertex) 3 "gl_CullDistance"
Name 493 "gl_out"
Name 507 "outNormal"
Name 514 "inNormal"
Name 528 "outUV"
Decorate 93 ArrayStride 16
MemberDecorate 97(UBO) 0 ColMajor
MemberDecorate 97(UBO) 0 Offset 0
@ -135,18 +135,18 @@ spv.debuginfo.glsl.tesc
Decorate 275(samplerHeight) DescriptorSet 0
Decorate 275(samplerHeight) Binding 1
Decorate 282(inUV) Location 1
Decorate 373(gl_TessLevelInner) Patch
Decorate 373(gl_TessLevelInner) BuiltIn TessLevelInner
Decorate 386(gl_TessLevelOuter) Patch
Decorate 386(gl_TessLevelOuter) BuiltIn TessLevelOuter
MemberDecorate 490(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 490(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 490(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 490(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 490(gl_PerVertex) Block
Decorate 515(outNormal) Location 0
Decorate 522(inNormal) Location 0
Decorate 536(outUV) Location 1
Decorate 366(gl_TessLevelInner) Patch
Decorate 366(gl_TessLevelInner) BuiltIn TessLevelInner
Decorate 379(gl_TessLevelOuter) Patch
Decorate 379(gl_TessLevelOuter) BuiltIn TessLevelOuter
MemberDecorate 482(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 482(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 482(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 482(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 482(gl_PerVertex) Block
Decorate 507(outNormal) Location 0
Decorate 514(inNormal) Location 0
Decorate 528(outUV) Location 1
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
@ -282,250 +282,242 @@ spv.debuginfo.glsl.tesc
299: 7(int) Constant 89
300: TypePointer Function 123(int)
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 125 31 299 12 54 20
315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
319: 7(int) Constant 90
321: 123(int) Constant 3
323: TypePointer Uniform 19(fvec4)
327: 16(float) Constant 1090519040
329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
334: 46(bool) ConstantFalse
337: 7(int) Constant 92
343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
346: 7(int) Constant 95
352: 7(int) Constant 100
354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
360: 7(int) Constant 102
362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
369: 7(int) Constant 104
370: TypeArray 16(float) 36
371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36
372: TypePointer Output 370
373(gl_TessLevelInner): 372(ptr) Variable Output
374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 375 371 31 369 12 34 375 373(gl_TessLevelInner) 111
376: TypePointer Output 16(float)
379: 7(int) Constant 105
382: 7(int) Constant 106
383: TypeArray 16(float) 20
384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
385: TypePointer Output 383
386(gl_TessLevelOuter): 385(ptr) Variable Output
387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 388 384 31 382 12 34 388 386(gl_TessLevelOuter) 111
391: 7(int) Constant 107
394: 7(int) Constant 108
395: 123(int) Constant 2
398: 7(int) Constant 109
403: 7(int) Constant 113
406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12
412: 7(int) Constant 115
422: 7(int) Constant 116
432: 7(int) Constant 117
442: 7(int) Constant 118
452: 7(int) Constant 119
460: 7(int) Constant 120
470: 7(int) Constant 126
473: 7(int) Constant 127
476: 7(int) Constant 128
479: 7(int) Constant 129
482: 7(int) Constant 130
485: 7(int) Constant 131
489: 7(int) Constant 137
490(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234
492: 7(int) Constant 110
491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 492 12 12 13
493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 476 12 12 13
495: 7(int) Constant 171
494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 495 12 12 13
496: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 495 12 12 13
497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 489 12 34 248 12 13 491 493 494 496
498: TypeArray 490(gl_PerVertex) 20
499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 497 20
500: TypePointer Output 498
501(gl_out): 500(ptr) Variable Output
502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 503 499 31 489 12 34 503 501(gl_out) 111
508: TypePointer Output 19(fvec4)
511: 7(int) Constant 138
512: TypeArray 143(fvec3) 20
513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 20
514: TypePointer Output 512
515(outNormal): 514(ptr) Variable Output
516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 517 513 31 511 12 34 517 515(outNormal) 111
519: TypeArray 143(fvec3) 10
520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 10
521: TypePointer Input 519
522(inNormal): 521(ptr) Variable Input
523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 524 520 31 511 12 34 524 522(inNormal) 111
526: TypePointer Input 143(fvec3)
529: TypePointer Output 143(fvec3)
532: 7(int) Constant 139
533: TypeArray 95(fvec2) 20
534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 20
535: TypePointer Output 533
536(outUV): 535(ptr) Variable Output
537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 538 534 31 532 12 34 538 536(outUV) 111
543: TypePointer Output 95(fvec2)
318: 7(int) Constant 90
320: 123(int) Constant 3
322: TypePointer Uniform 19(fvec4)
326: 16(float) Constant 1090519040
331: 46(bool) ConstantFalse
334: 7(int) Constant 92
342: 7(int) Constant 95
348: 7(int) Constant 100
355: 7(int) Constant 102
362: 7(int) Constant 104
363: TypeArray 16(float) 36
364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36
365: TypePointer Output 363
366(gl_TessLevelInner): 365(ptr) Variable Output
367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 368 364 31 362 12 34 368 366(gl_TessLevelInner) 111
369: TypePointer Output 16(float)
372: 7(int) Constant 105
375: 7(int) Constant 106
376: TypeArray 16(float) 20
377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
378: TypePointer Output 376
379(gl_TessLevelOuter): 378(ptr) Variable Output
380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 381 377 31 375 12 34 381 379(gl_TessLevelOuter) 111
384: 7(int) Constant 107
387: 7(int) Constant 108
388: 123(int) Constant 2
391: 7(int) Constant 109
396: 7(int) Constant 113
404: 7(int) Constant 115
414: 7(int) Constant 116
424: 7(int) Constant 117
434: 7(int) Constant 118
444: 7(int) Constant 119
452: 7(int) Constant 120
462: 7(int) Constant 126
465: 7(int) Constant 127
468: 7(int) Constant 128
471: 7(int) Constant 129
474: 7(int) Constant 130
477: 7(int) Constant 131
481: 7(int) Constant 137
482(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234
484: 7(int) Constant 110
483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 484 12 12 13
485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 468 12 12 13
487: 7(int) Constant 171
486: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13
488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13
489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 481 12 34 248 12 13 483 485 486 488
490: TypeArray 482(gl_PerVertex) 20
491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 489 20
492: TypePointer Output 490
493(gl_out): 492(ptr) Variable Output
494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 495 491 31 481 12 34 495 493(gl_out) 111
500: TypePointer Output 19(fvec4)
503: 7(int) Constant 138
504: TypeArray 143(fvec3) 20
505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 20
506: TypePointer Output 504
507(outNormal): 506(ptr) Variable Output
508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 509 505 31 503 12 34 509 507(outNormal) 111
511: TypeArray 143(fvec3) 10
512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 10
513: TypePointer Input 511
514(inNormal): 513(ptr) Variable Input
515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 516 512 31 503 12 34 516 514(inNormal) 111
518: TypePointer Input 143(fvec3)
521: TypePointer Output 143(fvec3)
524: 7(int) Constant 139
525: TypeArray 95(fvec2) 20
526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 20
527: TypePointer Output 525
528(outUV): 527(ptr) Variable Output
529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 530 526 31 524 12 34 530 528(outUV) 111
535: TypePointer Output 95(fvec2)
Line 1 98 11
14(main): 4 Function None 5
15: Label
413(param): 22(ptr) Variable Function
416(param): 22(ptr) Variable Function
423(param): 22(ptr) Variable Function
426(param): 22(ptr) Variable Function
433(param): 22(ptr) Variable Function
436(param): 22(ptr) Variable Function
443(param): 22(ptr) Variable Function
446(param): 22(ptr) Variable Function
349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main)
350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 352 352 12 12
353: 123(int) Load 256(gl_InvocationID)
355: 46(bool) IEqual 353 138
SelectionMerge 357 None
BranchConditional 355 356 357
356: Label
358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 360 360 12 12
361: 46(bool) FunctionCall 51(frustumCheck()
364: 46(bool) LogicalNot 361
SelectionMerge 366 None
BranchConditional 364 365 400
365: Label
367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 369 369 12 12
377: 376(ptr) AccessChain 373(gl_TessLevelInner) 138
Store 377 145
378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 379 379 12 12
380: 376(ptr) AccessChain 373(gl_TessLevelInner) 126
Store 380 145
381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 382 382 12 12
389: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138
405(param): 22(ptr) Variable Function
408(param): 22(ptr) Variable Function
415(param): 22(ptr) Variable Function
418(param): 22(ptr) Variable Function
425(param): 22(ptr) Variable Function
428(param): 22(ptr) Variable Function
435(param): 22(ptr) Variable Function
438(param): 22(ptr) Variable Function
345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main)
346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 348 348 12 12
349: 123(int) Load 256(gl_InvocationID)
350: 46(bool) IEqual 349 138
SelectionMerge 352 None
BranchConditional 350 351 352
351: Label
353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 355 355 12 12
356: 46(bool) FunctionCall 51(frustumCheck()
357: 46(bool) LogicalNot 356
SelectionMerge 359 None
BranchConditional 357 358 393
358: Label
360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 362 362 12 12
370: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
Store 370 145
371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 372 372 12 12
373: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
Store 373 145
374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 375 375 12 12
382: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
Store 382 145
383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 384 384 12 12
385: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
Store 385 145
386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 387 387 12 12
389: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
Store 389 145
390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 391 391 12 12
392: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126
392: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
Store 392 145
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 394 394 12 12
396: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395
Store 396 145
397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 398 398 12 12
399: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321
Store 399 145
Branch 366
400: Label
401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 403 403 12 12
404: 213(ptr) AccessChain 120(ubo) 217
405: 16(float) Load 404
407: 46(bool) FOrdGreaterThan 405 145
SelectionMerge 409 None
BranchConditional 407 408 467
408: Label
410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 412 412 12 12
414: 260(ptr) AccessChain 252(gl_in) 321 138
415: 19(fvec4) Load 414
Store 413(param) 415
417: 260(ptr) AccessChain 252(gl_in) 138 138
418: 19(fvec4) Load 417
Store 416(param) 418
419: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 413(param) 416(param)
420: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138
Store 420 419
421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 422 422 12 12
424: 260(ptr) AccessChain 252(gl_in) 138 138
425: 19(fvec4) Load 424
Store 423(param) 425
427: 260(ptr) AccessChain 252(gl_in) 126 138
428: 19(fvec4) Load 427
Store 426(param) 428
429: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 423(param) 426(param)
430: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126
Store 430 429
431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 432 432 12 12
434: 260(ptr) AccessChain 252(gl_in) 126 138
435: 19(fvec4) Load 434
Store 433(param) 435
437: 260(ptr) AccessChain 252(gl_in) 395 138
438: 19(fvec4) Load 437
Store 436(param) 438
439: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 433(param) 436(param)
440: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395
Store 440 439
441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 442 442 12 12
444: 260(ptr) AccessChain 252(gl_in) 395 138
445: 19(fvec4) Load 444
Store 443(param) 445
447: 260(ptr) AccessChain 252(gl_in) 321 138
448: 19(fvec4) Load 447
Store 446(param) 448
449: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 443(param) 446(param)
450: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321
Branch 359
393: Label
394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 396 396 12 12
397: 213(ptr) AccessChain 120(ubo) 217
398: 16(float) Load 397
399: 46(bool) FOrdGreaterThan 398 145
SelectionMerge 401 None
BranchConditional 399 400 459
400: Label
402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 404 404 12 12
406: 260(ptr) AccessChain 252(gl_in) 320 138
407: 19(fvec4) Load 406
Store 405(param) 407
409: 260(ptr) AccessChain 252(gl_in) 138 138
410: 19(fvec4) Load 409
Store 408(param) 410
411: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 405(param) 408(param)
412: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
Store 412 411
413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 414 414 12 12
416: 260(ptr) AccessChain 252(gl_in) 138 138
417: 19(fvec4) Load 416
Store 415(param) 417
419: 260(ptr) AccessChain 252(gl_in) 126 138
420: 19(fvec4) Load 419
Store 418(param) 420
421: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 415(param) 418(param)
422: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
Store 422 421
423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 424 424 12 12
426: 260(ptr) AccessChain 252(gl_in) 126 138
427: 19(fvec4) Load 426
Store 425(param) 427
429: 260(ptr) AccessChain 252(gl_in) 388 138
430: 19(fvec4) Load 429
Store 428(param) 430
431: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 425(param) 428(param)
432: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
Store 432 431
433: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 434 434 12 12
436: 260(ptr) AccessChain 252(gl_in) 388 138
437: 19(fvec4) Load 436
Store 435(param) 437
439: 260(ptr) AccessChain 252(gl_in) 320 138
440: 19(fvec4) Load 439
Store 438(param) 440
441: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 435(param) 438(param)
442: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
Store 442 441
443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 444 444 12 12
445: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
446: 16(float) Load 445
447: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
448: 16(float) Load 447
449: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 446 448 67
450: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
Store 450 449
451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 452 452 12 12
453: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138
453: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
454: 16(float) Load 453
455: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321
455: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
456: 16(float) Load 455
457: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 454 456 67
458: 376(ptr) AccessChain 373(gl_TessLevelInner) 138
458: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
Store 458 457
459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 460 460 12 12
461: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395
462: 16(float) Load 461
463: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126
464: 16(float) Load 463
465: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 462 464 67
466: 376(ptr) AccessChain 373(gl_TessLevelInner) 126
Store 466 465
Branch 409
467: Label
468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 470 470 12 12
471: 376(ptr) AccessChain 373(gl_TessLevelInner) 138
Store 471 221
472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 473 473 12 12
474: 376(ptr) AccessChain 373(gl_TessLevelInner) 126
Store 474 221
475: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 476 476 12 12
477: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138
Store 477 221
478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 479 479 12 12
480: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126
Store 480 221
481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 482 482 12 12
483: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395
Store 483 221
484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 485 485 12 12
486: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321
Store 486 221
Branch 409
409: Label
Branch 366
366: Label
Branch 357
357: Label
487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 489 489 12 12
504: 123(int) Load 256(gl_InvocationID)
505: 123(int) Load 256(gl_InvocationID)
506: 260(ptr) AccessChain 252(gl_in) 505 138
507: 19(fvec4) Load 506
509: 508(ptr) AccessChain 501(gl_out) 504 138
Store 509 507
510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 511 511 12 12
518: 123(int) Load 256(gl_InvocationID)
525: 123(int) Load 256(gl_InvocationID)
527: 526(ptr) AccessChain 522(inNormal) 525
528: 143(fvec3) Load 527
530: 529(ptr) AccessChain 515(outNormal) 518
Store 530 528
531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 532 532 12 12
539: 123(int) Load 256(gl_InvocationID)
540: 123(int) Load 256(gl_InvocationID)
541: 285(ptr) AccessChain 282(inUV) 540
542: 95(fvec2) Load 541
544: 543(ptr) AccessChain 536(outUV) 539
Store 544 542
Branch 401
459: Label
460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 462 462 12 12
463: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
Store 463 221
464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 465 465 12 12
466: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
Store 466 221
467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 468 468 12 12
469: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
Store 469 221
470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 471 471 12 12
472: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
Store 472 221
473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 474 474 12 12
475: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
Store 475 221
476: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 477 477 12 12
478: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
Store 478 221
Branch 401
401: Label
Branch 359
359: Label
Branch 352
352: Label
479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 481 481 12 12
496: 123(int) Load 256(gl_InvocationID)
497: 123(int) Load 256(gl_InvocationID)
498: 260(ptr) AccessChain 252(gl_in) 497 138
499: 19(fvec4) Load 498
501: 500(ptr) AccessChain 493(gl_out) 496 138
Store 501 499
502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 503 503 12 12
510: 123(int) Load 256(gl_InvocationID)
517: 123(int) Load 256(gl_InvocationID)
519: 518(ptr) AccessChain 514(inNormal) 517
520: 143(fvec3) Load 519
522: 521(ptr) AccessChain 507(outNormal) 510
Store 522 520
523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 524 524 12 12
531: 123(int) Load 256(gl_InvocationID)
532: 123(int) Load 256(gl_InvocationID)
533: 285(ptr) AccessChain 282(inUV) 532
534: 95(fvec2) Load 533
536: 535(ptr) AccessChain 528(outUV) 531
Store 536 534
Return
FunctionEnd
Line 1 51 45
@ -682,35 +674,35 @@ spv.debuginfo.glsl.tesc
312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
314: 123(int) Load 301(i)
316: 46(bool) SLessThan 314 185
BranchConditional 316 306 307
315: 46(bool) SLessThan 314 185
BranchConditional 315 306 307
306: Label
317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 319 319 12 12
320: 19(fvec4) Load 230(pos)
322: 123(int) Load 301(i)
324: 323(ptr) AccessChain 120(ubo) 321 322
325: 19(fvec4) Load 324
326: 16(float) Dot 320 325
328: 16(float) FAdd 326 327
330: 46(bool) FOrdLessThan 328 145
SelectionMerge 332 None
BranchConditional 330 331 332
331: Label
335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 337 337 12 12
ReturnValue 334
332: Label
316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 318 318 12 12
319: 19(fvec4) Load 230(pos)
321: 123(int) Load 301(i)
323: 322(ptr) AccessChain 120(ubo) 320 321
324: 19(fvec4) Load 323
325: 16(float) Dot 319 324
327: 16(float) FAdd 325 326
328: 46(bool) FOrdLessThan 327 145
SelectionMerge 330 None
BranchConditional 328 329 330
329: Label
332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 334 334 12 12
ReturnValue 331
330: Label
Branch 308
308: Label
339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
341: 123(int) Load 301(i)
342: 123(int) IAdd 341 126
Store 301(i) 342
336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
338: 123(int) Load 301(i)
339: 123(int) IAdd 338 126
Store 301(i) 339
Branch 305
307: Label
344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 346 346 12 12
340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 342 342 12 12
ReturnValue 92
FunctionEnd