diff --git a/src/sksl/codegen/SkSLMetalCodeGenerator.cpp b/src/sksl/codegen/SkSLMetalCodeGenerator.cpp index 9431ae6d92..af976073e4 100644 --- a/src/sksl/codegen/SkSLMetalCodeGenerator.cpp +++ b/src/sksl/codegen/SkSLMetalCodeGenerator.cpp @@ -2614,6 +2614,7 @@ bool MetalCodeGenerator::generateCode() { write_stringstream(fExtraFunctionPrototypes, *fOut); write_stringstream(fExtraFunctions, *fOut); write_stringstream(body, *fOut); + fContext.fErrors->reportPendingErrors(PositionInfo()); return fContext.fErrors->errorCount() == 0; }