// // Copyright 2020 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. // // Tests for shader interpolation qualifiers // #include "common/mathutil.h" #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" usingnamespaceangle; constexpr int kPixelColorThreshhold = …; class ShaderInterpTest : public ANGLETest<> { … }; // Test that regular "smooth" interpolation works correctly TEST_P(ShaderInterpTest, Smooth) { … } // Test that uninterpolated "Flat" interpolation works correctly TEST_P(ShaderInterpTest, Flat) { … } // Test that "noperspective" interpolation correctly interpolates in screenspace TEST_P(ShaderInterpTest, NoPerspective) { … } GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…); ANGLE_INSTANTIATE_TEST_ES3(…);