/third_party/skia/src/sksl/ir/ |
D | SkSLVarDeclarations.cpp | 42 context.fErrors->error(line, "invalid type"); in ErrorCheck() 46 context.fErrors->error(line, "array size must appear after variable name"); in ErrorCheck() 50 context.fErrors->error(line, in ErrorCheck() 54 context.fErrors->error(line, "'in' variables may not have matrix type"); in ErrorCheck() 57 context.fErrors->error(line, "'in uniform' variables not permitted"); in ErrorCheck() 61 context.fErrors->error(line, "'in' variables not permitted in runtime effects"); in ErrorCheck() 65 context.fErrors->error(line, in ErrorCheck() 70 context.fErrors->error(line, "'srgb_unpremul' is only permitted in runtime effects"); in ErrorCheck() 73 context.fErrors->error(line, in ErrorCheck() 82 context.fErrors->error(line, "'srgb_unpremul' is only permitted on half3, half4, " in ErrorCheck() [all …]
|
D | SkSLFunctionDefinition.cpp | 157 fContext.fErrors->error(stmt.fLine, "variable '" + in Convert() 168 fContext.fErrors->error( in Convert() 183 fContext.fErrors->error(returnStmt.fLine, in Convert() 189 fContext.fErrors->error(returnStmt.fLine, in Convert() 215 fContext.fErrors->error(stmt.fLine, in Convert() 224 fContext.fErrors->error(stmt.fLine, in Convert() 227 fContext.fErrors->error(stmt.fLine, in Convert() 261 context.fErrors->error(function.fLine, "function '" + function.name() + in Convert()
|
D | SkSLExpression.cpp | 18 context.fErrors->error(fLine, "expected '(' to begin function call"); in isIncomplete() 22 context.fErrors->error(fLine, "expected '(' to begin method call"); in isIncomplete() 26 context.fErrors->error(fLine, "expected '(' to begin constructor invocation"); in isIncomplete()
|
D | SkSLPrefixExpression.cpp | 155 context.fErrors->error(base->fLine, in Convert() 163 context.fErrors->error(base->fLine, in Convert() 172 context.fErrors->error(base->fLine, in Convert() 178 context.fErrors)) { in Convert() 185 context.fErrors->error(base->fLine, in Convert() 195 context.fErrors->error( in Convert() 201 context.fErrors->error(base->fLine, in Convert()
|
D | SkSLType.cpp | 529 context.fErrors->error(line, "precision qualifiers are not allowed"); in applyPrecisionQualifiers() 534 context.fErrors->error(line, "only one precision qualifier can be used"); in applyPrecisionQualifiers() 578 context.fErrors->error(line, "type '" + this->displayName() + in applyPrecisionQualifiers() 758 context.fErrors->error(line, "expected '" + this->displayName() + "', but found '" + in coerceExpression() 772 context.fErrors->error(line, "cannot construct '" + this->displayName() + "'"); in coerceExpression() 842 context.fErrors->error(line, String("integer is out of range for type '") + in checkForOutOfRangeLiteral() 857 context.fErrors->error(size->fLine, "multi-dimensional arrays are not supported"); in convertArraySize() 861 context.fErrors->error(size->fLine, "type 'void' may not be used in an array"); in convertArraySize() 865 context.fErrors->error(size->fLine, "opaque type '" + this->name() + in convertArraySize() 871 context.fErrors->error(size->fLine, "array size must be an integer"); in convertArraySize() [all …]
|
D | SkSLTernaryExpression.cpp | 35 context.fErrors->error(line, "ternary operator result mismatch: '" + in Convert() 41 context.fErrors->error(line, "ternary expression of opaque type '" + in Convert() 46 context.fErrors->error(line, "ternary operator result may not be an array (or struct " in Convert()
|
D | SkSLBinaryExpression.cpp | 91 context.fErrors)) { in Convert() 100 context.fErrors->error(line, String("type mismatch: '") + op.operatorName() + in Convert() 107 context.fErrors->error(line, "assignments to opaque type '" + left->type().displayName() + in Convert() 113 context.fErrors->error(line, String("operator '") + op.operatorName() + in Convert() 121 context.fErrors->error(line, String("operator '") + op.operatorName() + "' can not " in Convert()
|
D | SkSLForStatement.cpp | 91 context.fErrors->error(initializer->fLine, "invalid for loop initializer"); in Convert() 112 next.get(), statement.get(), context.fErrors); in Convert() 123 if (Analysis::DetectVarDeclarationWithoutScope(*statement, context.fErrors)) { in Convert() 152 context.fErrors->error(line, "while loops are not supported"); in ConvertWhile()
|
D | SkSLConstructor.cpp | 49 context.fErrors->error(line, "'" + argument->type().displayName() + in convert_compound_constructor() 118 context.fErrors->error(line, "'" + arg->type().displayName() + in convert_compound_constructor() 141 context.fErrors->error(line, "invalid arguments to '" + type.displayName() + in convert_compound_constructor() 172 context.fErrors->error(line, "cannot construct '" + type.displayName() + "'"); in Convert()
|
D | SkSLSwizzle.cpp | 261 context.fErrors->error(base->fLine, in Convert() 278 context.fErrors->error(base->fLine, in Convert() 287 context.fErrors->error( in Convert() 293 context.fErrors->error(line, in Convert() 345 context.fErrors->error(line, in Convert() 353 context.fErrors->error(line, "swizzle must refer to base expression"); in Convert()
|
D | SkSLPostfixExpression.cpp | 22 context.fErrors->error(base->fLine, in Convert() 28 context.fErrors)) { in Convert()
|
D | SkSLDoStatement.cpp | 21 context.fErrors->error(stmt->fLine, "do-while loops are not supported"); in Convert() 28 if (Analysis::DetectVarDeclarationWithoutScope(*stmt, context.fErrors)) { in Convert()
|
D | SkSLSwitchStatement.cpp | 196 context.fErrors->error(caseValue->fLine, "case value must be a constant integer"); in Convert() 214 context.fErrors->error(sc->fLine, in Convert() 217 context.fErrors->error(sc->fLine, "duplicate default case"); in Convert() 287 context.fErrors->error(value->fLine, in Make()
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLIRGenerator.cpp | 112 , fErrors(errorReporter) {} in IRGenerator() 115 fSymbolTable.reset(new SymbolTable(std::move(fSymbolTable), &fErrors)); in pushSymbolTable() 267 fErrors.error(decls.fOffset, "'in' variables may not have matrix type"); in convertVarDeclarations() 271 fErrors.error(decls.fOffset, "'when' is only permitted within fragment processors"); in convertVarDeclarations() 275 fErrors.error(decls.fOffset, "'key' is only permitted within fragment processors"); in convertVarDeclarations() 278 fErrors.error(decls.fOffset, "'key' is not permitted on 'uniform' variables"); in convertVarDeclarations() 286 fErrors.error(varDecl.fOffset, in convertVarDeclarations() 305 fErrors.error(size->fOffset, "array size must be positive"); in convertVarDeclarations() 373 fErrors.error(m.fOffset, "'invocations' is only legal in geometry shaders"); in convertModifiersDeclaration() 536 fErrors.error(caseValue->fOffset, "case value must be a constant"); in convertSwitch() [all …]
|
D | SkSLCodeGenerator.h | 24 , fErrors(*errors) in CodeGenerator() 36 ErrorReporter& fErrors; variable
|
D | SkSLCPPCodeGenerator.cpp | 119 fErrors.error(i.fIndex->fOffset, in writeIndexExpression() 136 fErrors.error(i.fIndex->fOffset, in writeIndexExpression() 347 fErrors.error(s.fOffset, "fragmentProcessor main() may not contain return statements"); in writeReturnStatement() 364 fErrors.error(access.fBase->fOffset, "fragmentProcessor must be a reference\n"); in writeFieldAccess() 419 fErrors.error(c.fArguments[0]->fOffset, in writeFunctionCall() 589 fErrors.error(decl.fOffset, in writePrivateVars() 1028 fErrors.error(0, "fragment processors with custom @fields must also have a custom" in writeClone() 1116 fErrors.error(var.fOffset, in writeGetKey() 1175 fErrors.error(var.fOffset, in writeGetKey() 1208 fErrors.error(decl.fOffset, String(decl.fVar->fName) in generateCode() [all …]
|
/third_party/skia/src/sksl/ |
D | SkSLAnalysis.cpp | 235 IsAssignableVisitor(ErrorReporter* errors) : fErrors(errors) {} in IsAssignableVisitor() 238 int oldErrorCount = fErrors->errorCount(); in visit() 243 return fErrors->errorCount() == oldErrorCount; in visit() 252 fErrors->error(expr.fLine, in visitExpression() 278 fErrors->error(expr.fLine, "cannot assign to this expression"); in visitExpression() 290 fErrors->error(swizzle.fLine, in checkSwizzleWrite() 298 ErrorReporter* fErrors; member in SkSL::__anon776d574d0111::IsAssignableVisitor 483 ES2IndexingVisitor(ErrorReporter& errors) : fErrors(errors) {} in ES2IndexingVisitor() 503 fErrors.error(i.fLine, "index expression must be constant"); in visitExpression() 513 ErrorReporter& fErrors; member in SkSL::ES2IndexingVisitor [all …]
|
D | SkSLThreadContext.cpp | 23 , fOldErrorReporter(*fCompiler->fContext->fErrors) in ThreadContext() 43 fCompiler->fContext->fErrors = &fDefaultErrorReporter; in ThreadContext() 61 fCompiler->fContext->fErrors = &fOldErrorReporter; in ~ThreadContext() 166 Context().fErrors = errorReporter; in SetErrorReporter()
|
/third_party/flutter/skia/modules/skottie/src/ |
D | SkottieTool.cpp | 132 auto& log = lvl == skottie::Logger::Level::kError ? fErrors : fWarnings; in log() 138 fErrors.size(), fErrors.size() == 1 ? "" : "s", in report() 148 for (const auto& err : fErrors) show(err, " !! "); in report() 153 std::vector<LogEntry> fErrors, member in __anonb02004900111::Logger
|
/third_party/flutter/skia/tools/viewer/ |
D | SkottieSlide.cpp | 69 auto& log = lvl == skottie::Logger::Level::kError ? fErrors : fWarnings; in load() 75 fErrors.size(), fErrors.size() == 1 ? "" : "s", in load() 85 for (const auto& err : fErrors) show(err, " !! "); in load() 90 std::vector<LogEntry> fErrors, in load() member in SkottieSlide::load::Logger
|
/third_party/flutter/skia/tools/skqp/src/ |
D | skqp.cpp | 327 encode_png(modelResult.fErrors, imagesPathPrefix1 + PATH_ERR_PNG); in evaluateGM() 336 std::vector<std::string> fErrors; in executeTest() member 339 fErrors.push_back(std::string(desc.c_str(), desc.size())); in executeTest() 348 fUnitTestResults.push_back(UnitTestResult{test, r.fErrors}); in executeTest() 349 return r.fErrors; in executeTest() 483 if (result.fErrors.empty()) { in makeReport() 486 write(&unitOut, SkStringPrintf(" FAILED (%u errors)\n", result.fErrors.size())); in makeReport() 487 for (const std::string& err : result.fErrors) { in makeReport()
|
/third_party/skia/tools/skqp/src/ |
D | skqp.cpp | 338 encode_png(modelResult.fErrors, imagesPathPrefix1 + PATH_ERR_PNG); in evaluateGM() 347 std::vector<std::string> fErrors; in executeTest() member 350 fErrors.push_back(std::string(desc.c_str(), desc.size())); in executeTest() 359 fUnitTestResults.push_back(UnitTestResult{test, r.fErrors}); in executeTest() 360 return r.fErrors; in executeTest() 494 if (result.fErrors.empty()) { in makeReport() 497 write(&unitOut, SkStringPrintf(" FAILED (%zu errors)\n", result.fErrors.size())); in makeReport() 498 for (const std::string& err : result.fErrors) { in makeReport()
|
/third_party/skia/tools/viewer/ |
D | SkottieSlide.cpp | 127 auto& log = lvl == skottie::Logger::Level::kError ? fErrors : fWarnings; in load() 133 fErrors.size(), fErrors.size() == 1 ? "" : "s", in load() 143 for (const auto& err : fErrors) show(err, " !! "); in load() 148 std::vector<LogEntry> fErrors, in load() member in SkottieSlide::load::Logger
|
/third_party/skia/src/sksl/analysis/ |
D | SkSLCheckProgramUnrolledSize.cpp | 73 fContext.fErrors->error(pe.fLine, std::move(msg)); in CheckProgramUnrolledSize() 89 fContext.fErrors->error(pe.fLine, std::move(msg)); in CheckProgramUnrolledSize() 201 context.fErrors->error(/*line=*/-1, "program is too large"); in CheckProgramUnrolledSize()
|
/third_party/skia/modules/skottie/src/ |
D | SkottieTool.cpp | 212 auto& log = lvl == skottie::Logger::Level::kError ? fErrors : fWarnings; in log() 218 fErrors.size(), fErrors.size() == 1 ? "" : "s", in report() 228 for (const auto& err : fErrors) show(err, " !! "); in report() 233 std::vector<LogEntry> fErrors, member in __anon005122fb0111::Logger
|