Lines Matching refs:parseContext
403 TParseContext parseContext(mSymbolTable, mExtensionBehavior, mShaderType, mShaderSpec, in compileTreeImpl() local
407 parseContext.setFragmentPrecisionHighOnESSL1(mResources.FragmentPrecisionHigh == 1); in compileTreeImpl()
416 &parseContext) != 0) in compileTreeImpl()
421 if (parseContext.getTreeRoot() == nullptr) in compileTreeImpl()
426 setASTMetadata(parseContext); in compileTreeImpl()
428 if (!checkShaderVersion(&parseContext)) in compileTreeImpl()
433 TIntermBlock *root = parseContext.getTreeRoot(); in compileTreeImpl()
434 if (!checkAndSimplifyAST(root, parseContext, compileOptions)) in compileTreeImpl()
442 bool TCompiler::checkShaderVersion(TParseContext *parseContext) in checkShaderVersion() argument
450 ASSERT(parseContext); in checkShaderVersion()
470 if (!parseContext->checkCanUseOneOfExtensions( in checkShaderVersion()
490 if (!parseContext->checkCanUseExtension(sh::TSourceLoc(), in checkShaderVersion()
505 void TCompiler::setASTMetadata(const TParseContext &parseContext) in setASTMetadata() argument
507 mShaderVersion = parseContext.getShaderVersion(); in setASTMetadata()
509 mPragma = parseContext.pragma(); in setASTMetadata()
512 mEarlyFragmentTestsSpecified = parseContext.isEarlyFragmentTestsSpecified(); in setASTMetadata()
514 mComputeShaderLocalSizeDeclared = parseContext.isComputeShaderLocalSizeDeclared(); in setASTMetadata()
515 mComputeShaderLocalSize = parseContext.getComputeShaderLocalSize(); in setASTMetadata()
517 mNumViews = parseContext.getNumViews(); in setASTMetadata()
521 mGeometryShaderInputPrimitiveType = parseContext.getGeometryShaderInputPrimitiveType(); in setASTMetadata()
522 mGeometryShaderOutputPrimitiveType = parseContext.getGeometryShaderOutputPrimitiveType(); in setASTMetadata()
523 mGeometryShaderMaxVertices = parseContext.getGeometryShaderMaxVertices(); in setASTMetadata()
524 mGeometryShaderInvocations = parseContext.getGeometryShaderInvocations(); in setASTMetadata()
528 mTessControlShaderOutputVertices = parseContext.getTessControlShaderOutputVertices(); in setASTMetadata()
533 parseContext.getTessEvaluationShaderInputPrimitiveType(); in setASTMetadata()
535 parseContext.getTessEvaluationShaderInputVertexSpacingType(); in setASTMetadata()
537 parseContext.getTessEvaluationShaderInputOrderingType(); in setASTMetadata()
538 mTessEvaluationShaderInputPointType = parseContext.getTessEvaluationShaderInputPointType(); in setASTMetadata()
575 const TParseContext &parseContext, in checkAndSimplifyAST() argument
697 if (parseContext.isExtensionEnabled(TExtension::EXT_clip_cull_distance)) in checkAndSimplifyAST()
716 (parseContext.isExtensionEnabled(TExtension::OVR_multiview2) || in checkAndSimplifyAST()
717 parseContext.isExtensionEnabled(TExtension::OVR_multiview)) && in checkAndSimplifyAST()