// // Copyright 2015 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. // // WorkGroupSize_test.cpp: // tests for local group size in a compute shader // #include "GLSLANG/ShaderLang.h" #include "angle_gl.h" #include "compiler/translator/glsl/TranslatorESSL.h" #include "gtest/gtest.h" #include "tests/test_utils/compiler_test.h" usingnamespacesh; class WorkGroupSizeTest : public testing::Test { … }; // checks whether compiler has parsed the local size layout qualifiers qcorrectly TEST_F(WorkGroupSizeTest, OnlyLocalSizeXSpecified) { … } // checks whether compiler has parsed the local size layout qualifiers qcorrectly TEST_F(WorkGroupSizeTest, LocalSizeXandZ) { … } // checks whether compiler has parsed the local size layout qualifiers qcorrectly TEST_F(WorkGroupSizeTest, LocalSizeAll) { … }