Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: gpu/command_buffer/tests/gl_ext_blend_func_extended_unittest.cc

Issue 2086943002: gl_tests: suppress a test failing on Intel Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <GLES2/gl2.h> 5 #include <GLES2/gl2.h>
6 #include <GLES2/gl2ext.h> 6 #include <GLES2/gl2ext.h>
7 #include <GLES2/gl2extchromium.h> 7 #include <GLES2/gl2extchromium.h>
8 #include <GLES3/gl3.h> 8 #include <GLES3/gl3.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 }); 214 });
215 // clang-format on 215 // clang-format on
216 CreateProgramWithFragmentShader(kFragColorShader); 216 CreateProgramWithFragmentShader(kFragColorShader);
217 LinkProgram(); 217 LinkProgram();
218 DrawAndVerify(); 218 DrawAndVerify();
219 } 219 }
220 220
221 TEST_P(EXTBlendFuncExtendedDrawTest, ESSL1FragData) { 221 TEST_P(EXTBlendFuncExtendedDrawTest, ESSL1FragData) {
222 if (!IsApplicable()) 222 if (!IsApplicable())
223 return; 223 return;
224
225 // Fails on the Intel Mesa driver, see
226 // https://bugs.freedesktop.org/show_bug.cgi?id=96617
227 gpu::GPUTestBotConfig bot_config;
228 if (bot_config.LoadCurrentConfig(nullptr) &&
229 bot_config.Matches("linux intel")) {
230 return;
231 }
232
224 // clang-format off 233 // clang-format off
225 static const char* kFragDataShader = 234 static const char* kFragDataShader =
226 BFE_SHADER( 235 BFE_SHADER(
227 precision mediump float; 236 precision mediump float;
228 uniform vec4 src; 237 uniform vec4 src;
229 uniform vec4 src1; 238 uniform vec4 src1;
230 void main() { 239 void main() {
231 gl_FragData[0] = src; 240 gl_FragData[0] = src;
232 gl_SecondaryFragDataEXT[0] = src1; 241 gl_SecondaryFragDataEXT[0] = src1;
233 }); 242 });
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 662
654 INSTANTIATE_TEST_CASE_P(TranslatorVariants, 663 INSTANTIATE_TEST_CASE_P(TranslatorVariants,
655 EXTBlendFuncExtendedDrawTest, 664 EXTBlendFuncExtendedDrawTest,
656 ::testing::Bool()); 665 ::testing::Bool());
657 666
658 INSTANTIATE_TEST_CASE_P(TranslatorVariants, 667 INSTANTIATE_TEST_CASE_P(TranslatorVariants,
659 EXTBlendFuncExtendedES3DrawTest, 668 EXTBlendFuncExtendedES3DrawTest,
660 ::testing::Bool()); 669 ::testing::Bool());
661 670
662 } // namespace gpu 671 } // namespace gpu
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698