summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/voidFunction.frag.out
blob: 638cfbdd3d81d7081cc67314fdee110e9ce06bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
voidFunction.frag
Shader version: 120
0:? Sequence
0:7  Sequence
0:7    move second child to first child (temp float)
0:7      'bar' (global float)
0:7      Constant:
0:7        2.000000
0:9  Function Definition: foo( (global void)
0:9    Function Parameters: 
0:11    Sequence
0:11      Post-Increment (temp float)
0:11        'bar' (global float)
0:13      Branch: Return
0:16  Function Definition: foo2( (global void)
0:16    Function Parameters: 
0:18    Sequence
0:18      Post-Increment (temp float)
0:18        'bar' (global float)
0:21  Function Definition: main( (global void)
0:21    Function Parameters: 
0:23    Sequence
0:23      Sequence
0:23        move second child to first child (temp 4-component vector of float)
0:23          'outColor' (temp 4-component vector of float)
0:23          'bigColor' (uniform 4-component vector of float)
0:25      Function Call: foo( (global void)
0:27      Function Call: foo2( (global void)
0:29      add second child into first child (temp float)
0:29        direct index (temp float)
0:29          'outColor' (temp 4-component vector of float)
0:29          Constant:
0:29            0 (const int)
0:29        'bar' (global float)
0:31      move second child to first child (temp 4-component vector of float)
0:31        'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:31        'outColor' (temp 4-component vector of float)
0:33      Branch: Return
0:?   Linker Objects
0:?     'bigColor' (uniform 4-component vector of float)
0:?     'BaseColor' (smooth in 4-component vector of float)
0:?     'd' (uniform float)
0:?     'bar' (global float)


Linked fragment stage:


Shader version: 120
0:? Sequence
0:7  Sequence
0:7    move second child to first child (temp float)
0:7      'bar' (global float)
0:7      Constant:
0:7        2.000000
0:9  Function Definition: foo( (global void)
0:9    Function Parameters: 
0:11    Sequence
0:11      Post-Increment (temp float)
0:11        'bar' (global float)
0:13      Branch: Return
0:16  Function Definition: foo2( (global void)
0:16    Function Parameters: 
0:18    Sequence
0:18      Post-Increment (temp float)
0:18        'bar' (global float)
0:21  Function Definition: main( (global void)
0:21    Function Parameters: 
0:23    Sequence
0:23      Sequence
0:23        move second child to first child (temp 4-component vector of float)
0:23          'outColor' (temp 4-component vector of float)
0:23          'bigColor' (uniform 4-component vector of float)
0:25      Function Call: foo( (global void)
0:27      Function Call: foo2( (global void)
0:29      add second child into first child (temp float)
0:29        direct index (temp float)
0:29          'outColor' (temp 4-component vector of float)
0:29          Constant:
0:29            0 (const int)
0:29        'bar' (global float)
0:31      move second child to first child (temp 4-component vector of float)
0:31        'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:31        'outColor' (temp 4-component vector of float)
0:33      Branch: Return
0:?   Linker Objects
0:?     'bigColor' (uniform 4-component vector of float)
0:?     'BaseColor' (smooth in 4-component vector of float)
0:?     'd' (uniform float)
0:?     'bar' (global float)