yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Qingyuan ZhengAdd AST node for variable declarators for better quality debug info (#4074)0a8b2975

main
3.9 KiB95 linesraw
1whileLoop.frag
2Shader version: 110
30:? Sequence
40:7  Function Definition: main( ( global void)
50:7    Function Parameters: 
60:9    Sequence
70:9      Sequence
80:9        move second child to first child ( temp 4-component vector of float)
90:9          'color' ( temp 4-component vector of float)
100:9          'BaseColor' ( smooth in 4-component vector of float)
110:11      Loop with condition tested first
120:11        Loop Condition
130:11        Compare Less Than ( temp bool)
140:11          direct index ( temp float)
150:11            'color' ( temp 4-component vector of float)
160:11            Constant:
170:11              0 (const int)
180:11          'd' ( uniform float)
190:11        Loop Body
200:12        Sequence
210:12          add second child into first child ( temp 4-component vector of float)
220:12            'color' ( temp 4-component vector of float)
230:12            'bigColor' ( uniform 4-component vector of float)
240:15      Loop with condition tested first
250:15        Loop Condition
260:15        move second child to first child ( temp bool)
270:15          'test' ( temp bool)
280:15          Compare Less Than ( temp bool)
290:15            direct index ( temp float)
300:15              'color' ( temp 4-component vector of float)
310:15              Constant:
320:15                1 (const int)
330:15            'd' ( uniform float)
340:15        Loop Body
350:16        Sequence
360:16          add second child into first child ( temp 4-component vector of float)
370:16            'color' ( temp 4-component vector of float)
380:16            'bigColor' ( uniform 4-component vector of float)
390:19      move second child to first child ( temp 4-component vector of float)
400:19        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
410:19        'color' ( temp 4-component vector of float)
420:?   Linker Objects
430:?     'bigColor' ( uniform 4-component vector of float)
440:?     'BaseColor' ( smooth in 4-component vector of float)
450:?     'd' ( uniform float)
46
47
48Linked fragment stage:
49
50
51Shader version: 110
520:? Sequence
530:7  Function Definition: main( ( global void)
540:7    Function Parameters: 
550:9    Sequence
560:9      Sequence
570:9        move second child to first child ( temp 4-component vector of float)
580:9          'color' ( temp 4-component vector of float)
590:9          'BaseColor' ( smooth in 4-component vector of float)
600:11      Loop with condition tested first
610:11        Loop Condition
620:11        Compare Less Than ( temp bool)
630:11          direct index ( temp float)
640:11            'color' ( temp 4-component vector of float)
650:11            Constant:
660:11              0 (const int)
670:11          'd' ( uniform float)
680:11        Loop Body
690:12        Sequence
700:12          add second child into first child ( temp 4-component vector of float)
710:12            'color' ( temp 4-component vector of float)
720:12            'bigColor' ( uniform 4-component vector of float)
730:15      Loop with condition tested first
740:15        Loop Condition
750:15        move second child to first child ( temp bool)
760:15          'test' ( temp bool)
770:15          Compare Less Than ( temp bool)
780:15            direct index ( temp float)
790:15              'color' ( temp 4-component vector of float)
800:15              Constant:
810:15                1 (const int)
820:15            'd' ( uniform float)
830:15        Loop Body
840:16        Sequence
850:16          add second child into first child ( temp 4-component vector of float)
860:16            'color' ( temp 4-component vector of float)
870:16            'bigColor' ( uniform 4-component vector of float)
880:19      move second child to first child ( temp 4-component vector of float)
890:19        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
900:19        'color' ( temp 4-component vector of float)
910:?   Linker Objects
920:?     'bigColor' ( uniform 4-component vector of float)
930:?     'BaseColor' ( smooth in 4-component vector of float)
940:?     'd' ( uniform float)
95