summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/cppComplexExpr.vert.out
blob: aa73a069d382b6bf46f0f313605c270bfac428e5 (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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
cppComplexExpr.vert
ERROR: 0:46: 'xyxwx' : illegal vector field selection 
ERROR: 0:46: 'xyxwx' : illegal vector field selection 
ERROR: 0:66: '#define' : Macro redefined; different substitutions: BIG
ERROR: 0:81: 'preprocessor evaluation' : bad expression 
ERROR: 0:81: '#if' : unexpected tokens following directive 
ERROR: 0:82: '#error' : good macro  
ERROR: 0:87: 'macro expansion' : End of line in macro substitution: foobar
ERROR: 0:88: 'preprocessor evaluation' : can't evaluate expression 
ERROR: 0:88: 'preprocessor evaluation' : bad expression 
ERROR: 0:88: '#if' : unexpected tokens following directive 
ERROR: 0:92: 'macro expansion' : End of line in macro substitution: foobar
ERROR: 0:93: 'preprocessor evaluation' : can't evaluate expression 
ERROR: 0:93: 'preprocessor evaluation' : bad expression 
ERROR: 0:93: '#if' : unexpected tokens following directive 
ERROR: 0:99: 'macro expansion' : End of line in macro substitution: foobar
ERROR: 0:100: 'preprocessor evaluation' : can't evaluate expression 
ERROR: 0:100: 'preprocessor evaluation' : bad expression 
ERROR: 0:100: '#if' : unexpected tokens following directive 
ERROR: 0:101: 'macro expansion' : End of line in macro substitution: foobar
ERROR: 0:102: 'preprocessor evaluation' : can't evaluate expression 
ERROR: 0:102: 'preprocessor evaluation' : bad expression 
ERROR: 0:102: '#if' : unexpected tokens following directive 
ERROR: 0:108: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
ERROR: 0:111: '#error' : good 0  
ERROR: 0:115: '#error' : good 1  
ERROR: 0:120: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
ERROR: 0:123: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
ERROR: 0:129: '#error' : good 1  
ERROR: 0:133: '#error' : good 3  
ERROR: 0:139: '#error' : good 4  
ERROR: 0:144: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
ERROR: 0:153: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
ERROR: 0:156: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF2
ERROR: 0:159: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF2
ERROR: 0:3000: '#error' : line of this error should be 3000  
ERROR: 0:3002: '#define' : predefined names can't be (un)defined: __LINE__
ERROR: 0:3003: '#define' : predefined names can't be (un)defined: __FILE__
ERROR: 0:3004: '#define' : predefined names can't be (un)defined: __VERSION__
ERROR: 0:3005: '#define' : names beginning with "GL_" can't be (un)defined: GL_SOME_EXTENSION
ERROR: 0:3006: '#undef' : predefined names can't be (un)defined: __LINE__
ERROR: 0:3007: '#undef' : predefined names can't be (un)defined: __FILE__
ERROR: 0:3008: '#undef' : predefined names can't be (un)defined: __VERSION__
ERROR: 0:3009: '#undef' : names beginning with "GL_" can't be (un)defined: GL_SOME_EXTENSION
ERROR: 0:4000: 'preprocessor evaluation' : division by 0 
ERROR: 0:0: 'preprocessor evaluation' : division by 0 
ERROR: 0:3: 'preprocessor evaluation' : bad expression 
ERROR: 0:3: 'preprocessor evaluation' : division by 0 
ERROR: 0:10001: '' : missing #endif 
ERROR: 48 compilation errors.  No code generated.


Shader version: 300
ERROR: node is still EOpNull!
0:4  Sequence
0:4    move second child to first child (temp highp float)
0:4      'sum' (global highp float)
0:4      Constant:
0:4        0.000000
0:6  Function Definition: main( (global void)
0:6    Function Parameters: 
0:10    Sequence
0:10      add second child into first child (temp highp float)
0:10        'sum' (global highp float)
0:10        Constant:
0:10          1.000000
0:15      add second child into first child (temp highp float)
0:15        'sum' (global highp float)
0:15        Constant:
0:15          20.000000
0:30      add second child into first child (temp highp float)
0:30        'sum' (global highp float)
0:30        Constant:
0:30          300.000000
0:39      move second child to first child (temp highp 4-component vector of float)
0:39        'gl_Position' (gl_Position highp 4-component vector of float Position)
0:39        Construct vec4 (temp highp 4-component vector of float)
0:39          'sum' (global highp float)
0:44  Function Definition: foo( (global highp float)
0:44    Function Parameters: 
0:46    Sequence
0:46      Branch: Return with expression
0:46        add (temp highp float)
0:46          add (temp highp float)
0:46            direct index (temp highp float)
0:46              'gl_Position' (gl_Position highp 4-component vector of float Position)
0:46              Constant:
0:46                0 (const int)
0:46            Constant:
0:46              3.000000
0:46          add (temp highp float)
0:46            direct index (temp highp float)
0:46              'gl_Position' (gl_Position highp 4-component vector of float Position)
0:46              Constant:
0:46                0 (const int)
0:46            Constant:
0:46              3.000000
0:47      Branch: Return with expression
0:47        add (temp highp float)
0:47          add (temp highp float)
0:47            direct index (temp highp float)
0:47              'gl_Position' (gl_Position highp 4-component vector of float Position)
0:47              Constant:
0:47                1 (const int)
0:47            Constant:
0:47              3.000000
0:47          add (temp highp float)
0:47            direct index (temp highp float)
0:47              'gl_Position' (gl_Position highp 4-component vector of float Position)
0:47              Constant:
0:47                1 (const int)
0:47            Constant:
0:47              3.000000
0:97  Sequence
0:97    move second child to first child (temp highp float)
0:97      'c' (global highp float)
0:98      Constant:
0:98        3.300000
0:?   Linker Objects
0:?     'sum' (global highp float)
0:?     'c' (global highp float)
0:?     'gl_VertexID' (gl_VertexId highp int VertexId)
0:?     'gl_InstanceID' (gl_InstanceId highp int InstanceId)


Linked vertex stage:


Shader version: 300
ERROR: node is still EOpNull!
0:4  Sequence
0:4    move second child to first child (temp highp float)
0:4      'sum' (global highp float)
0:4      Constant:
0:4        0.000000
0:6  Function Definition: main( (global void)
0:6    Function Parameters: 
0:10    Sequence
0:10      add second child into first child (temp highp float)
0:10        'sum' (global highp float)
0:10        Constant:
0:10          1.000000
0:15      add second child into first child (temp highp float)
0:15        'sum' (global highp float)
0:15        Constant:
0:15          20.000000
0:30      add second child into first child (temp highp float)
0:30        'sum' (global highp float)
0:30        Constant:
0:30          300.000000
0:39      move second child to first child (temp highp 4-component vector of float)
0:39        'gl_Position' (gl_Position highp 4-component vector of float Position)
0:39        Construct vec4 (temp highp 4-component vector of float)
0:39          'sum' (global highp float)
0:44  Function Definition: foo( (global highp float)
0:44    Function Parameters: 
0:46    Sequence
0:46      Branch: Return with expression
0:46        add (temp highp float)
0:46          add (temp highp float)
0:46            direct index (temp highp float)
0:46              'gl_Position' (gl_Position highp 4-component vector of float Position)
0:46              Constant:
0:46                0 (const int)
0:46            Constant:
0:46              3.000000
0:46          add (temp highp float)
0:46            direct index (temp highp float)
0:46              'gl_Position' (gl_Position highp 4-component vector of float Position)
0:46              Constant:
0:46                0 (const int)
0:46            Constant:
0:46              3.000000
0:47      Branch: Return with expression
0:47        add (temp highp float)
0:47          add (temp highp float)
0:47            direct index (temp highp float)
0:47              'gl_Position' (gl_Position highp 4-component vector of float Position)
0:47              Constant:
0:47                1 (const int)
0:47            Constant:
0:47              3.000000
0:47          add (temp highp float)
0:47            direct index (temp highp float)
0:47              'gl_Position' (gl_Position highp 4-component vector of float Position)
0:47              Constant:
0:47                1 (const int)
0:47            Constant:
0:47              3.000000
0:97  Sequence
0:97    move second child to first child (temp highp float)
0:97      'c' (global highp float)
0:98      Constant:
0:98        3.300000
0:?   Linker Objects
0:?     'sum' (global highp float)
0:?     'c' (global highp float)
0:?     'gl_VertexID' (gl_VertexId highp int VertexId)
0:?     'gl_InstanceID' (gl_InstanceId highp int InstanceId)