diff options
Diffstat (limited to 'tests/SkSLFPTest.cpp')
-rw-r--r-- | tests/SkSLFPTest.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/SkSLFPTest.cpp b/tests/SkSLFPTest.cpp index 38f12e1659..64b4e71d8e 100644 --- a/tests/SkSLFPTest.cpp +++ b/tests/SkSLFPTest.cpp @@ -78,8 +78,6 @@ DEF_TEST(SkSLFPHelloWorld, r) { " */\n" "#ifndef GrTest_DEFINED\n" "#define GrTest_DEFINED\n" - "#include \"SkTypes.h\"\n" - "#if SK_SUPPORT_GPU\n" "#include \"GrFragmentProcessor.h\"\n" "#include \"GrCoordTransform.h\"\n" "#include \"effects/GrProxyMove.h\"\n" @@ -102,7 +100,6 @@ DEF_TEST(SkSLFPHelloWorld, r) { " typedef GrFragmentProcessor INHERITED;\n" "};\n" "#endif\n" - "#endif\n" }, { "/*\n" @@ -116,7 +113,6 @@ DEF_TEST(SkSLFPHelloWorld, r) { " * This file was autogenerated from GrTest.fp; do not modify.\n" " */\n" "#include \"GrTest.h\"\n" - "#if SK_SUPPORT_GPU\n" "#include \"glsl/GrGLSLColorSpaceXformHelper.h\"\n" "#include \"glsl/GrGLSLFragmentProcessor.h\"\n" "#include \"glsl/GrGLSLFragmentShaderBuilder.h\"\n" @@ -148,7 +144,6 @@ DEF_TEST(SkSLFPHelloWorld, r) { " (void) that;\n" " return true;\n" "}\n" - "#endif\n" }); } @@ -216,7 +211,7 @@ DEF_TEST(SkSLFPSections, r) { "}", *SkSL::ShaderCapsFactory::Default(), { - "#if SK_SUPPORT_GPU\n header section" + "#define GrTest_DEFINED\n header section" }, {}); test(r, |