Lines Matching refs:mDiagnostics
301 mDiagnostics(mInfoSink.info), in TCompiler()
404 compileOptions, !IsDesktopGLSpec(mShaderSpec), &mDiagnostics, in compileTreeImpl()
446 mDiagnostics.globalError("unsupported shader version"); in checkShaderVersion()
456 mDiagnostics.globalError("Compute shader is not supported in this shader version."); in checkShaderVersion()
464 mDiagnostics.globalError( in checkShaderVersion()
484 mDiagnostics.globalError( in checkShaderVersion()
557 bool valid = ValidateAST(root, &mDiagnostics, mValidateASTOptions); in validateAST()
591 !ValidateLimitations(root, mShaderType, &mSymbolTable, &mDiagnostics)) in checkAndSimplifyAST()
596 if (shouldLimitTypeSizes() && !ValidateTypeSizeLimitations(root, &mSymbolTable, &mDiagnostics)) in checkAndSimplifyAST()
601 if (!ValidateFragColorAndFragData(mShaderType, mShaderVersion, mSymbolTable, &mDiagnostics)) in checkAndSimplifyAST()
608 if (!FoldExpressions(this, root, &mDiagnostics)) in checkAndSimplifyAST()
613 ASSERT(mDiagnostics.numErrors() == 0); in checkAndSimplifyAST()
616 if (mShaderType == GL_TESS_CONTROL_SHADER && !ValidateBarrierFunctionCall(root, &mDiagnostics)) in checkAndSimplifyAST()
678 if (mShaderVersion >= 310 && !ValidateVaryingLocations(root, &mDiagnostics, mShaderType)) in checkAndSimplifyAST()
684 !ValidateOutputs(root, getExtensionBehavior(), mResources.MaxDrawBuffers, &mDiagnostics)) in checkAndSimplifyAST()
693 mDiagnostics.globalError("Precision emulation not supported for this output type."); in checkAndSimplifyAST()
699 if (!ValidateClipCullDistance(root, &mDiagnostics, in checkAndSimplifyAST()
897 mDiagnostics.globalError("too many uniforms"); in checkAndSimplifyAST()
1067 PerformanceDiagnostics perfDiagnostics(&mDiagnostics); in compile()
1290 mDiagnostics.resetErrorCount(); in clearResults()
1330 switch (mCallDag.init(root, &mDiagnostics)) in initCallDag()
1337 ASSERT(mDiagnostics.numErrors() > 0); in initCallDag()
1392 mDiagnostics.globalError(errorStr.c_str()); in checkCallDepth()
1413 mDiagnostics.globalError("Missing main()"); in tagUsedFunctions()
1493 mDiagnostics.globalError("Expression too complex."); in limitExpressionComplexity()
1499 mDiagnostics.globalError("Function has too many parameters."); in limitExpressionComplexity()