| Index: src/sksl/SkSLCompiler.cpp
|
| diff --git a/src/sksl/SkSLCompiler.cpp b/src/sksl/SkSLCompiler.cpp
|
| index b57e6733f5a45be97b9b43b86e9c40b220e2ed10..d2ad81223e8c495e73546e4375b09f84db1b1eef 100644
|
| --- a/src/sksl/SkSLCompiler.cpp
|
| +++ b/src/sksl/SkSLCompiler.cpp
|
| @@ -15,7 +15,6 @@
|
| #include "SkSLSPIRVCodeGenerator.h"
|
| #include "ir/SkSLExpression.h"
|
| #include "ir/SkSLIntLiteral.h"
|
| -#include "ir/SkSLModifiersDeclaration.h"
|
| #include "ir/SkSLSymbolTable.h"
|
| #include "ir/SkSLVarDeclaration.h"
|
| #include "SkMutex.h"
|
| @@ -98,7 +97,6 @@
|
| ADD_TYPE(Sampler1D);
|
| ADD_TYPE(Sampler2D);
|
| ADD_TYPE(Sampler3D);
|
| - ADD_TYPE(SamplerExternalOES);
|
| ADD_TYPE(SamplerCube);
|
| ADD_TYPE(Sampler2DRect);
|
| ADD_TYPE(Sampler1DArray);
|
| @@ -132,7 +130,6 @@
|
|
|
| std::vector<std::unique_ptr<ProgramElement>> ignored;
|
| this->internalConvertProgram(SKSL_INCLUDE, &ignored);
|
| - printf("%s", errorText().c_str());
|
| ASSERT(!fErrorCount);
|
| }
|
|
|
| @@ -162,14 +159,6 @@
|
| case ASTDeclaration::kFunction_Kind: {
|
| std::unique_ptr<FunctionDefinition> f = fIRGenerator->convertFunction(
|
| (ASTFunction&) decl);
|
| - if (f) {
|
| - result->push_back(std::move(f));
|
| - }
|
| - break;
|
| - }
|
| - case ASTDeclaration::kModifiers_Kind: {
|
| - std::unique_ptr<ModifiersDeclaration> f = fIRGenerator->convertModifiersDeclaration(
|
| - (ASTModifiersDeclaration&) decl);
|
| if (f) {
|
| result->push_back(std::move(f));
|
| }
|
|
|