src/third_party/angle/src/tests/compiler_tests/EXT_shadow_samplers_test.cpp
// With extension flag and extension directive, compiling succeeds.
// Also test that the extension directive state is reset correctly.
With extension flag and extension directive, compiling succeeds.
Also test that the extension directive state is reset correctly.
With extension flag and extension directive compiling succeeds . Also test that the extension directive state is reset correctly .
TEST_P(EXTShadowSamplersTest, CompileSucceedsWithExtensionAndPragma)
{
    mResources.EXT_shadow_samplers = 1;
    InitializeCompiler();
    EXPECT_TRUE(TestShaderCompile(EXTPragma));
    EXPECT_FALSE(TestShaderCompile(""));
    EXPECT_TRUE(TestShaderCompile(EXTPragma));
}
TEST_P ( EXTShadowSamplersTest , CompileSucceedsWithExtensionAndPragma ) { mResources . EXT_shadow_samplers = 1 ; InitializeCompiler ( ) ; EXPECT_TRUE ( TestShaderCompile ( EXTPragma ) ) ; EXPECT_FALSE ( TestShaderCompile ( " " ) ) ; EXPECT_TRUE ( TestShaderCompile ( EXTPragma ) ) ; }
With extension flag and extension directive, compiling succeeds.
With extension flag and extension directive compiling succeeds .
// Test reset functionality.