summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/structure.frag.out
blob: 666b140724bbae7487fd21c3a65e5629b615f88c (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
structure.frag
WARNING: 0:3: varying deprecated in version 130; may be removed in future release

Shader version: 130
0:? Sequence
0:20  Function Definition: main( (global void)
0:20    Function Parameters: 
0:22    Sequence
0:22      Sequence
0:22        move second child to first child (temp float)
0:22          'scale' (temp float)
0:22          Constant:
0:22            0.000000
0:24      Test condition and select (temp void)
0:24        Condition
0:24        Compare Greater Than (temp bool)
0:24          direct index (temp int)
0:24            i: direct index for structure (global 5-element array of int)
0:24              direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:24                'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:24                Constant:
0:24                  3 (const int)
0:24              Constant:
0:24                0 (const int)
0:24            Constant:
0:24              4 (const int)
0:24          Constant:
0:24            0 (const int)
0:24        true case
0:25        move second child to first child (temp float)
0:25          'scale' (temp float)
0:25          direct index (temp float)
0:25            direct index (temp 4-component vector of float)
0:25              color: direct index for structure (global 5-element array of 4-component vector of float)
0:25                direct index (temp structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
0:25                  s1_1: direct index for structure (global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
0:25                    direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:25                      'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:25                      Constant:
0:25                        3 (const int)
0:25                    Constant:
0:25                      2 (const int)
0:25                  Constant:
0:25                    2 (const int)
0:25                Constant:
0:25                  2 (const int)
0:25              Constant:
0:25                3 (const int)
0:25            Constant:
0:25              0 (const int)
0:24        false case
0:27        move second child to first child (temp float)
0:27          'scale' (temp float)
0:27          direct index (temp float)
0:27            f: direct index for structure (global 4-element array of float)
0:27              direct index (temp structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
0:27                s1_1: direct index for structure (global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
0:27                  direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:27                    'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:27                    Constant:
0:27                      3 (const int)
0:27                  Constant:
0:27                    2 (const int)
0:27                Constant:
0:27                  2 (const int)
0:27              Constant:
0:27                1 (const int)
0:27            Constant:
0:27              3 (const int)
0:29      move second child to first child (temp 4-component vector of float)
0:29        'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:29        vector-scale (temp 4-component vector of float)
0:29          'scale' (temp float)
0:29          texture (global 4-component vector of float)
0:29            'sampler' (uniform sampler2D)
0:29            'coord' (smooth in 2-component vector of float)
0:?   Linker Objects
0:?     'sampler' (uniform sampler2D)
0:?     'coord' (smooth in 2-component vector of float)
0:?     'foo' (uniform structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
0:?     'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})


Linked fragment stage:


Shader version: 130
0:? Sequence
0:20  Function Definition: main( (global void)
0:20    Function Parameters: 
0:22    Sequence
0:22      Sequence
0:22        move second child to first child (temp float)
0:22          'scale' (temp float)
0:22          Constant:
0:22            0.000000
0:24      Test condition and select (temp void)
0:24        Condition
0:24        Compare Greater Than (temp bool)
0:24          direct index (temp int)
0:24            i: direct index for structure (global 5-element array of int)
0:24              direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:24                'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:24                Constant:
0:24                  3 (const int)
0:24              Constant:
0:24                0 (const int)
0:24            Constant:
0:24              4 (const int)
0:24          Constant:
0:24            0 (const int)
0:24        true case
0:25        move second child to first child (temp float)
0:25          'scale' (temp float)
0:25          direct index (temp float)
0:25            direct index (temp 4-component vector of float)
0:25              color: direct index for structure (global 5-element array of 4-component vector of float)
0:25                direct index (temp structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
0:25                  s1_1: direct index for structure (global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
0:25                    direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:25                      'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:25                      Constant:
0:25                        3 (const int)
0:25                    Constant:
0:25                      2 (const int)
0:25                  Constant:
0:25                    2 (const int)
0:25                Constant:
0:25                  2 (const int)
0:25              Constant:
0:25                3 (const int)
0:25            Constant:
0:25              0 (const int)
0:24        false case
0:27        move second child to first child (temp float)
0:27          'scale' (temp float)
0:27          direct index (temp float)
0:27            f: direct index for structure (global 4-element array of float)
0:27              direct index (temp structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
0:27                s1_1: direct index for structure (global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
0:27                  direct index (temp structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:27                    'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})
0:27                    Constant:
0:27                      3 (const int)
0:27                  Constant:
0:27                    2 (const int)
0:27                Constant:
0:27                  2 (const int)
0:27              Constant:
0:27                1 (const int)
0:27            Constant:
0:27              3 (const int)
0:29      move second child to first child (temp 4-component vector of float)
0:29        'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:29        vector-scale (temp 4-component vector of float)
0:29          'scale' (temp float)
0:29          texture (global 4-component vector of float)
0:29            'sampler' (uniform sampler2D)
0:29            'coord' (smooth in 2-component vector of float)
0:?   Linker Objects
0:?     'sampler' (uniform sampler2D)
0:?     'coord' (smooth in 2-component vector of float)
0:?     'foo' (uniform structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color})
0:?     'foo2' (uniform 5-element array of structure{global 5-element array of int i, global float f, global 7-element array of structure{global int i, global 4-element array of float f, global 5-element array of 4-component vector of float color} s1_1})