// // Copyright 2016 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ColorMaskTest.cpp: Test GLES functionality related to color masks, particularly an AMD D3D9 // driver bug. #include "test_utils/ANGLETest.h" namespace angle { class ColorMaskTest : public ANGLETest<> { … }; // Some ATI cards have a bug where a draw with a zero color write mask can cause later draws to have // incorrect results. Test to make sure this bug is not exposed. TEST_P(ColorMaskTest, AMDZeroColorMaskBug) { … } // Use this to select which configurations (e.g. which renderer, which GLES major version) these // tests should be run against. D3D11 Feature Level 9_3 uses different D3D formats for vertex // attribs compared to Feature Levels 10_0+, so we should test them separately. ANGLE_INSTANTIATE_TEST_ES2_AND_ES3(…); } // namespace angle