// // Copyright 2018 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. // // TextureFunction_test.cpp: // Tests that malformed texture function calls don't pass compilation. // #include <array> #include "GLSLANG/ShaderLang.h" #include "angle_gl.h" #include "gtest/gtest.h" #include "tests/test_utils/ShaderCompileTreeTest.h" usingnamespacesh; class TextureFunctionTest : public ShaderCompileTreeTest { … }; // Test that none of the texture offset functions can take a non-constant parameter. TEST_F(TextureFunctionTest, NonConstantOffset) { … }