aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkSLFPTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SkSLFPTest.cpp')
-rw-r--r--tests/SkSLFPTest.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/SkSLFPTest.cpp b/tests/SkSLFPTest.cpp
index f1a65fcfdb..03b3922ec2 100644
--- a/tests/SkSLFPTest.cpp
+++ b/tests/SkSLFPTest.cpp
@@ -75,7 +75,6 @@ DEF_TEST(SkSLFPHelloWorld, r) {
"#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"
"class GrTest : public GrFragmentProcessor {\n"
@@ -98,7 +97,6 @@ DEF_TEST(SkSLFPHelloWorld, r) {
" typedef GrFragmentProcessor INHERITED;\n"
"};\n"
"#endif\n"
- "#endif\n"
},
{
"/* HEADER */\n"
@@ -107,7 +105,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/GrGLSLFragmentProcessor.h\"\n"
"#include \"glsl/GrGLSLFragmentShaderBuilder.h\"\n"
"#include \"glsl/GrGLSLProgramBuilder.h\"\n"
@@ -145,7 +142,6 @@ DEF_TEST(SkSLFPHelloWorld, r) {
"std::unique_ptr<GrFragmentProcessor> GrTest::clone() const {\n"
" return std::unique_ptr<GrFragmentProcessor>(new GrTest(*this));\n"
"}\n"
- "#endif\n"
});
}
@@ -213,7 +209,7 @@ DEF_TEST(SkSLFPSections, r) {
"}",
*SkSL::ShaderCapsFactory::Default(),
{
- "#if SK_SUPPORT_GPU\n header section"
+ "header section"
},
{});
test(r,