1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from gpu_test_expectations
import GpuTestExpectations
7 # See the GpuTestExpectations class for documentation.
9 class WebGLConformanceExpectations(GpuTestExpectations
):
10 def SetExpectations(self
):
11 # Fails on all platforms
12 self
.Fail('conformance/glsl/misc/shaders-with-invariance.html',
14 self
.Fail('conformance/glsl/bugs/essl3-shaders-with-webgl1.html',
16 self
.Fail('conformance/glsl/misc/expression-list-in-declarator-initializer.html',
18 self
.Fail('conformance/uniforms/gl-uniform-arrays.html',
22 self
.Fail('conformance/glsl/misc/struct-equals.html',
24 self
.Fail('conformance/glsl/bugs/conditional-discard-in-loop.html',
26 self
.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas.html',
28 self
.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgb565.html',
30 self
.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgba4444.html',
32 self
.Fail('conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgba5551.html',
34 self
.Fail('conformance/glsl/misc/ternary-operators-in-global-initializers.html',
36 self
.Fail('conformance/glsl/misc/struct-specifiers-in-uniforms.html',
38 # This test still causes itself and any tests afterwards to time out
40 self
.Skip('conformance/textures/texture-copying-feedback-loops.html',
43 self
.Fail('conformance/extensions/webgl-draw-buffers.html',
46 self
.Fail('conformance/rendering/framebuffer-switch.html',
48 self
.Fail('conformance/rendering/framebuffer-texture-switch.html',
51 # Win7 / Intel failures
52 self
.Fail('conformance/rendering/gl-scissor-test.html',
53 ['win7', 'intel'], bug
=314997)
54 self
.Fail('conformance/context/premultiplyalpha-test.html',
56 self
.Fail('conformance/textures/copy-tex-image-and-sub-image-2d.html',
58 self
.Fail('conformance/rendering/gl-viewport-test.html',
59 ['win7', 'intel'], bug
=372511)
60 self
.Fail('conformance/glsl/misc/shader-with-array-of-structs-uniform.html',
61 ['win7', 'intel', 'nvidia'], bug
=373972)
64 self
.Fail('conformance/extensions/ext-sRGB.html',
65 ['win', 'amd'], bug
=839) # angle bug ID
66 self
.Fail('conformance/extensions/webgl-depth-texture.html',
67 ['win', 'amd'], bug
=839) # angle bug ID
68 self
.Fail('conformance/textures/texparameter-test.html',
69 ['win', 'amd', 'd3d9'], bug
=839) # angle bug ID
71 # Mac / Intel failures
73 self
.Fail('conformance/limits/gl-max-texture-dimensions.html',
74 ['mac', 'intel'], bug
=225642)
76 self
.Fail('conformance/textures/texture-size.html',
77 ['mac', 'intel'], bug
=225642)
79 # Mac / Intel HD 3000 failures
80 self
.Skip('conformance/ogles/GL/control_flow/control_flow_009_to_010.html',
81 ['mac', ('intel', 0x116)], bug
=322795)
83 self
.Fail('conformance/glsl/functions/' +
84 'glsl-function-smoothstep-gentype.html',
85 ['mac', ('intel', 0x116)], bug
=225642)
86 self
.Fail('conformance/extensions/webgl-draw-buffers.html',
87 ['mac', ('intel', 0x116)], bug
=369349)
89 # Mac 10.8 / Intel HD 3000 failures
90 self
.Fail('conformance/rendering/gl-scissor-test.html',
91 ['mountainlion', ('intel', 0x116)], bug
=314997)
92 self
.Fail('conformance/ogles/GL/operators/operators_009_to_016.html',
93 ['mountainlion', ('intel', 0x116)], bug
=322795)
95 # Mac 10.9 / Intel HD 3000 failures
96 self
.Fail('conformance/ogles/GL/operators/operators_009_to_016.html',
97 ['mavericks', ('intel', 0x116)], bug
=417415)
98 self
.Fail('conformance/rendering/gl-scissor-test.html',
99 ['mavericks', ('intel', 0x116)], bug
=417415)
101 # Mac Retina failures
103 'conformance/glsl/bugs/array-of-struct-with-int-first-position.html',
104 ['mac', ('nvidia', 0xfd5), ('nvidia', 0xfe9)], bug
=368912)
106 # Mac 10.8 / ATI failures
108 'conformance/rendering/' +
109 'point-with-gl-pointcoord-in-fragment-shader.html',
110 ['mountainlion', 'amd'])
112 # Mac 10.7 / Intel failures
113 self
.Skip('conformance/glsl/functions/glsl-function-asin.html',
115 self
.Skip('conformance/glsl/functions/glsl-function-dot.html',
117 self
.Skip('conformance/glsl/functions/glsl-function-faceforward.html',
119 self
.Skip('conformance/glsl/functions/glsl-function-length.html',
121 self
.Skip('conformance/glsl/functions/glsl-function-normalize.html',
123 self
.Skip('conformance/glsl/functions/glsl-function-reflect.html',
125 self
.Skip('conformance/rendering/line-loop-tri-fan.html',
127 self
.Skip('conformance/ogles/GL/control_flow/control_flow_001_to_008.html',
128 ['lion', 'intel'], bug
=345575)
129 self
.Skip('conformance/ogles/GL/dot/dot_001_to_006.html',
130 ['lion', 'intel'], bug
=323736)
131 self
.Skip('conformance/ogles/GL/faceforward/faceforward_001_to_006.html',
132 ['lion', 'intel'], bug
=323736)
133 self
.Skip('conformance/ogles/GL/length/length_001_to_006.html',
134 ['lion', 'intel'], bug
=323736)
135 self
.Skip('conformance/ogles/GL/normalize/normalize_001_to_006.html',
136 ['lion', 'intel'], bug
=323736)
137 self
.Skip('conformance/ogles/GL/reflect/reflect_001_to_006.html',
138 ['lion', 'intel'], bug
=323736)
139 self
.Skip('conformance/ogles/GL/refract/refract_001_to_006.html',
140 ['lion', 'intel'], bug
=323736)
141 self
.Skip('conformance/ogles/GL/tan/tan_001_to_006.html',
142 ['lion', 'intel'], bug
=323736)
144 self
.Fail('conformance/ogles/GL/functions/functions_049_to_056.html',
145 ['lion', 'intel'], bug
=393331)
146 self
.Fail('conformance/extensions/webgl-compressed-texture-size-limit.html',
147 ['lion', 'intel'], bug
=393331)
150 self
.Fail('conformance/textures/default-texture.html',
151 ['linux', ('nvidia', 0x104a)], bug
=422152)
152 self
.Fail('conformance/programs/program-test.html',
153 ['linux', ('amd', 0x68f9)], bug
=436212)
154 self
.Fail('conformance/rendering/multisample-corruption.html',
155 ['linux', ('amd', 0x68f9)], bug
=436212)
156 self
.Fail('conformance/textures/default-texture.html',
157 ['linux', ('amd', 0x68f9)], bug
=436212)
158 self
.Fail('conformance/textures/tex-image-and-sub-image-2d-with-video.html',
159 ['linux', ('amd', 0x68f9)], bug
=436212)
160 self
.Fail('conformance/textures/' +
161 'tex-image-and-sub-image-2d-with-webgl-canvas.html',
162 ['linux', ('amd', 0x68f9)], bug
=436212)
163 self
.Fail('conformance/textures/' +
164 'tex-image-and-sub-image-2d-with-webgl-canvas-rgb565.html',
165 ['linux', ('amd', 0x68f9)], bug
=436212)
166 self
.Fail('conformance/textures/' +
167 'tex-image-and-sub-image-2d-with-webgl-canvas-rgba4444.html',
168 ['linux', ('amd', 0x68f9)], bug
=436212)
169 self
.Fail('conformance/textures/' +
170 'tex-image-and-sub-image-2d-with-webgl-canvas-rgba5551.html',
171 ['linux', ('amd', 0x68f9)], bug
=436212)
172 self
.Fail('conformance/textures/texture-mips.html',
173 ['linux', ('amd', 0x68f9)], bug
=436212)
174 self
.Fail('conformance/textures/texture-npot-video.html',
175 ['linux', ('amd', 0x68f9)], bug
=436212)
176 self
.Fail('conformance/textures/texture-size.html',
177 ['linux', ('amd', 0x68f9)], bug
=436212)
178 self
.Fail('conformance/more/functions/copyTexSubImage2D.html',
179 ['linux', ('amd', 0x68f9)], bug
=436212)
180 self
.Fail('conformance/more/functions/drawArraysOutOfBounds.html',
181 ['linux', ('amd', 0x68f9)], bug
=436212)
182 self
.Fail('conformance/more/functions/texImage2DHTML.html',
183 ['linux', ('amd', 0x68f9)], bug
=436212)
184 self
.Fail('conformance/more/functions/texSubImage2DHTML.html',
185 ['linux', ('amd', 0x68f9)], bug
=436212)
188 # The following test is very slow and therefore times out on Android bot.
189 self
.Skip('conformance/rendering/multisample-corruption.html',
191 # The following test times out on Android bot.
192 self
.Fail('conformance/uniforms/gl-uniform-arrays.html',
193 ['android'], bug
=369300)
194 self
.Fail('conformance/glsl/misc/empty_main.vert.html',
195 ['android'], bug
=315976)
196 self
.Fail('conformance/glsl/misc/gl_position_unset.vert.html',
197 ['android'], bug
=315976)
198 # The following tests are disabled due to security issues.
199 self
.Fail('conformance/textures/tex-image-and-sub-image-2d-with-video.html',
200 ['android'], bug
=334204)
201 self
.Fail('conformance/textures/' +
202 'tex-image-and-sub-image-2d-with-video-rgb565.html',
203 ['android'], bug
=334204)
204 self
.Fail('conformance/textures/' +
205 'tex-image-and-sub-image-2d-with-video-rgba4444.html',
206 ['android'], bug
=334204)
207 self
.Fail('conformance/textures/' +
208 'tex-image-and-sub-image-2d-with-video-rgba5551.html',
209 ['android'], bug
=334204)
210 self
.Fail('conformance/textures/texture-npot-video.html',
211 ['android'], bug
=334204)
213 # ChromeOS: affecting all devices.
214 self
.Fail('conformance/extensions/webgl-depth-texture.html',
215 ['chromeos'], bug
=382651)
217 # ChromeOS: all Intel except for pinetrail (stumpy, parrot, peppy,...)
218 # We will just include pinetrail here for now as we don't want to list
219 # every single Intel device ID.
220 self
.Fail('conformance/glsl/misc/empty_main.vert.html',
221 ['chromeos', 'intel'], bug
=375556)
222 self
.Fail('conformance/glsl/misc/gl_position_unset.vert.html',
223 ['chromeos', 'intel'], bug
=375556)
224 self
.Fail('conformance/glsl/misc/shaders-with-varyings.html',
225 ['chromeos', 'intel'], bug
=375556)
226 self
.Fail('conformance/renderbuffers/framebuffer-object-attachment.html',
227 ['chromeos', 'intel'], bug
=375556)
228 self
.Fail('conformance/textures/texture-size-limit.html',
229 ['chromeos', 'intel'], bug
=385361)
231 # ChromeOS: pinetrail (alex, mario, zgb).
232 self
.Fail('conformance/attribs/gl-vertex-attrib-render.html',
233 ['chromeos', ('intel', 0xa011)], bug
=375554)
234 self
.Fail('conformance/glsl/functions/glsl-function-atan-xy.html',
235 ['chromeos', ('intel', 0xa011)], bug
=375554)
236 self
.Fail('conformance/glsl/functions/glsl-function-cos.html',
237 ['chromeos', ('intel', 0xa011)], bug
=375554)
238 self
.Fail('conformance/glsl/functions/glsl-function-sin.html',
239 ['chromeos', ('intel', 0xa011)], bug
=375554)
240 self
.Fail('conformance/glsl/misc/empty_main.vert.html',
241 ['chromeos', ('intel', 0xa011)], bug
=375554)
242 self
.Fail('conformance/glsl/misc/gl_position_unset.vert.html',
243 ['chromeos', ('intel', 0xa011)], bug
=375554)
244 self
.Fail('conformance/glsl/misc/shaders-with-varyings.html',
245 ['chromeos', ('intel', 0xa011)], bug
=375554)
246 self
.Fail('conformance/glsl/variables/gl-frontfacing.html',
247 ['chromeos', ('intel', 0xa011)], bug
=375554)
248 self
.Fail('conformance/limits/gl-max-texture-dimensions.html',
249 ['chromeos', ('intel', 0xa011)], bug
=375554)
250 self
.Fail('conformance/ogles/GL/acos/acos_001_to_006.html',
251 ['chromeos', ('intel', 0xa011)], bug
=375554)
252 self
.Fail('conformance/ogles/GL/asin/asin_001_to_006.html',
253 ['chromeos', ('intel', 0xa011)], bug
=375554)
254 self
.Fail('conformance/ogles/GL/atan/atan_001_to_008.html',
255 ['chromeos', ('intel', 0xa011)], bug
=375554)
256 self
.Fail('conformance/ogles/GL/build/build_009_to_016.html',
257 ['chromeos', ('intel', 0xa011)], bug
=378938)
258 self
.Fail('conformance/ogles/GL/control_flow/control_flow_001_to_008.html',
259 ['chromeos', ('intel', 0xa011)], bug
=375554)
260 self
.Fail('conformance/ogles/GL/cos/cos_001_to_006.html',
261 ['chromeos', ('intel', 0xa011)], bug
=375554)
262 self
.Fail('conformance/ogles/GL/discard/discard_001_to_002.html',
263 ['chromeos', ('intel', 0xa011)], bug
=375554)
264 self
.Fail('conformance/ogles/GL/functions/functions_001_to_008.html',
265 ['chromeos', ('intel', 0xa011)], bug
=375554)
266 self
.Fail('conformance/ogles/GL/functions/functions_065_to_072.html',
267 ['chromeos', ('intel', 0xa011)], bug
=375554)
268 self
.Fail('conformance/ogles/GL/functions/functions_081_to_088.html',
269 ['chromeos', ('intel', 0xa011)], bug
=375554)
270 self
.Fail('conformance/ogles/GL/functions/functions_097_to_104.html',
271 ['chromeos', ('intel', 0xa011)], bug
=375554)
272 self
.Fail('conformance/ogles/GL/functions/functions_105_to_112.html',
273 ['chromeos', ('intel', 0xa011)], bug
=375554)
274 self
.Fail('conformance/ogles/GL/functions/functions_113_to_120.html',
275 ['chromeos', ('intel', 0xa011)], bug
=375554)
276 self
.Fail('conformance/ogles/GL/functions/functions_121_to_126.html',
277 ['chromeos', ('intel', 0xa011)], bug
=375554)
279 'conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html',
280 ['chromeos', ('intel', 0xa011)], bug
=375554)
281 self
.Fail('conformance/ogles/GL/log/log_001_to_008.html',
282 ['chromeos', ('intel', 0xa011)], bug
=375554)
283 self
.Fail('conformance/ogles/GL/log2/log2_001_to_008.html',
284 ['chromeos', ('intel', 0xa011)], bug
=375554)
285 self
.Fail('conformance/ogles/GL/normalize/normalize_001_to_006.html',
286 ['chromeos', ('intel', 0xa011)], bug
=375554)
287 self
.Fail('conformance/ogles/GL/sin/sin_001_to_006.html',
288 ['chromeos', ('intel', 0xa011)], bug
=375554)
289 self
.Fail('conformance/rendering/point-size.html',
290 ['chromeos', ('intel', 0xa011)], bug
=375554)
291 self
.Fail('conformance/rendering/polygon-offset.html',
292 ['chromeos', ('intel', 0xa011)], bug
=375554)
293 self
.Fail('conformance/textures/texture-mips.html',
294 ['chromeos', ('intel', 0xa011)], bug
=375554)
295 self
.Fail('conformance/textures/texture-npot.html',
296 ['chromeos', ('intel', 0xa011)], bug
=375554)
297 self
.Fail('conformance/textures/texture-npot-video.html',
298 ['chromeos', ('intel', 0xa011)], bug
=375554)
299 self
.Fail('conformance/textures/texture-size.html',
300 ['chromeos', ('intel', 0xa011)], bug
=375554)
301 self
.Fail('conformance/textures/texture-size-limit.html',
302 ['chromeos', ('intel', 0xa011)], bug
=375554)
303 self
.Fail('conformance/uniforms/gl-uniform-arrays.html',
304 ['chromeos', ('intel', 0xa011)], bug
=375554)
305 self
.Skip('conformance/uniforms/uniform-default-values.html',
306 ['chromeos', ('intel', 0xa011)], bug
=375554)
308 # Flaky on Mac & Linux
309 self
.Fail('conformance/textures/texture-upload-size.html',
311 self
.Fail('conformance/textures/texture-upload-size.html',
312 ['linux'], bug
=436493)