Home
last modified time | relevance | path

Searched refs:mShaderVersion (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DCompiler.cpp356 return mShaderVersion > 100 || mShaderType != GL_FRAGMENT_SHADER || in isHighPrecisionSupported()
365 return (IsWebGLBasedSpec(mShaderSpec) && mShaderVersion == 100) || in shouldRunLoopAndIndexingValidation()
486 if (GetMaxShaderVersionForSpec(mShaderSpec) < mShaderVersion) in checkShaderVersion()
496 if (mShaderVersion < 310) in checkShaderVersion()
504 if (mShaderVersion < 310) in checkShaderVersion()
510 else if (mShaderVersion == 310) in checkShaderVersion()
524 if (mShaderVersion < 310) in checkShaderVersion()
530 else if (mShaderVersion == 310) in checkShaderVersion()
549 mShaderVersion = parseContext.getShaderVersion(); in setASTMetadata()
681 if (!ValidateFragColorAndFragData(mShaderType, mShaderVersion, mSymbolTable, &mDiagnostics)) in checkAndSimplifyAST()
[all …]
DValidateGlobalInitializer.cpp51 int mShaderVersion; member in sh::__anon94bcc4960111::ValidateGlobalInitializerTraverser
73 ((mShaderVersion < 300) && mIsWebGL)); in visitSymbol()
90 ((mShaderVersion < 300) && mIsWebGL)); in visitConstantUnion()
132 mShaderVersion(shaderVersion), in ValidateGlobalInitializerTraverser()
DParseContext.cpp199 mShaderVersion(100), in TParseContext()
214 mDirectiveHandler(ext, *mDiagnostics, mShaderVersion, mShaderType), in TParseContext()
821 if (mShaderVersion < 310 && argType.isArray()) in checkConstructorArguments()
1009 if (mShaderVersion >= 310) in checkLocationIsNotSpecified()
1102 (elementQualifier.qualifier == EvqConst && mShaderVersion < 300)) in checkIsValidQualifierForArray()
1116 if (mShaderVersion < 310 && elementType.isArray()) in checkArrayElementIsNotArray()
1175 if (mShaderVersion >= 300 && elementType.getBasicType() == EbtStruct && in checkIsValidTypeAndQualifierForArray()
1204 if (mShaderVersion < 300 && type->isStructureContainingArrays()) in checkCanBeDeclaredWithoutInitializer()
1263 mShaderType == GL_FRAGMENT_SHADER && mShaderVersion >= 300)); in declareVariable()
1300 symbolTable.findBuiltIn(ImmutableString("gl_MaxDrawBuffers"), mShaderVersion)); in declareVariable()
[all …]
DDirectiveHandler.cpp43 mShaderVersion(shaderVersion), in TDirectiveHandler()
66 if (mShaderVersion == 300 && mShaderType == GL_FRAGMENT_SHADER) in handlePragma()
180 if (mShaderVersion < 300) in handleExtension()
221 mShaderVersion = version; in handleVersion()
DQualifierTypes.cpp917 : mShaderVersion(shaderVersion) in TTypeQualifierBuilder()
930 bool areQualifierChecksRelaxed = AreTypeQualifierChecksRelaxed(mShaderVersion); in checkSequenceIsValid()
939 !AreQualifiersInOrder(mQualifiers, mShaderVersion, &errorMessage)) in checkSequenceIsValid()
962 if (AreTypeQualifierChecksRelaxed(mShaderVersion)) in getParameterTypeQualifier()
986 if (AreTypeQualifierChecksRelaxed(mShaderVersion)) in getVariableTypeQualifier()
DCompiler.h111 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion()
311 int mShaderVersion; variable
DDirectiveHandler.h51 int &mShaderVersion; variable
DOutputGLSLBase.cpp93 mShaderVersion(compiler->getShaderVersion()), in TOutputGLSLBase()
101 if (!sh::RemoveInvariant(mShaderType, mShaderVersion, mOutput, mCompileOptions)) in writeInvariantQualifier()
116 if ((gl::isInf(f) || gl::isNaN(f)) && mShaderVersion >= 300) in writeFloat()
332 if (sh::IsGLSL410OrOlder(mOutput) && mShaderVersion >= 300 && in mapQualifierToString()
DParseContext.h52 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion()
71 return mFragmentPrecisionHighOnESSL1 || mShaderVersion >= 300; in getFragmentPrecisionHigh()
669 int mShaderVersion; variable
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DEmulateGLFragColorBroadcast.cpp37 mShaderVersion(shaderVersion) in GLFragColorBroadcastTraverser()
53 const int mShaderVersion; member in sh::__anon115eda790111::GLFragColorBroadcastTraverser
59 ReferenceBuiltInVariable(kGlFragDataString, *mSymbolTable, mShaderVersion); in constructGLFragDataNode()
DInitializeVariables.cpp258 mShaderVersion(shaderVersion), in InitializeLocalsTraverser()
281 mShaderVersion == 100; in visitDeclaration()
313 int mShaderVersion; member in sh::__anond81ab5920111::InitializeLocalsTraverser
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRewriteAtomicFunctionExpressions.cpp61 int mShaderVersion; member in sh::__anon3e0b8c790111::RewriteAtomicFunctionExpressionsTraverser
68 : TIntermTraverser(false, false, true, symbolTable), mShaderVersion(shaderVersion) in RewriteAtomicFunctionExpressionsTraverser()
97 rewrittenNode, new TIntermSymbol(returnVariable), mShaderVersion); in rewriteAtomicFunctionCallNode()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DDiagnostics.h28 int shaderVersion() const { return mShaderVersion; } in shaderVersion()
51 int mShaderVersion;
DDiagnostics.cpp22 mShaderVersion(100), in TDiagnostics()
36 mShaderVersion = version; in setShaderVersion()
DDirectiveHandler.cpp41 mShaderVersion(shaderVersion) in TDirectiveHandler()
165 mShaderVersion = version; in handleVersion()
DParseHelper.h47 mShaderVersion(100), in TParseContext()
58 mDirectiveHandler(ext, mDiagnostics, mShaderVersion), in TParseContext()
75 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion()
259 int mShaderVersion; variable
DParseHelper.cpp857 …) || (type.qualifier == EvqVertexIn) || (type.qualifier == EvqConstExpr && mShaderVersion < 300)) { in arrayQualifierErrorCheck()
882 if(mShaderVersion >= 300 && type.type == EbtStruct && IsVarying(type.qualifier)) in arrayTypeErrorCheck()
895 TSymbol* symbol = symbolTable.find(node->getSymbol(), mShaderVersion, &builtIn); in arraySetMaxSize()
908 TSymbol* fragData = symbolTable.find("gl_MaxDrawBuffers", mShaderVersion, &builtIn); in arraySetMaxSize()
982 if(mShaderVersion < 300 && type.isStructureContainingArrays()) in nonInitErrorCheck()
1017 static_cast<const TVariable *>(symbolTable.findBuiltIn("gl_MaxDrawBuffers", mShaderVersion)); in declareVariable()
1166 if(symbolTable.findBuiltIn(variable->getName(), mShaderVersion)) in getNamedVariable()
1213 const TSymbol* symbol = symbolTable.find(call->getName(), mShaderVersion, builtIn); in findFunction()
1215 symbol = symbolTable.find(call->getMangledName(), mShaderVersion, builtIn); in findFunction()
1334 if(mShaderVersion < 300) in addFullySpecifiedType()
[all …]
DDirectiveHandler.h54 int& mShaderVersion; variable
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DDeclarePerVertexBlocks.cpp132 mShaderVersion(compiler->getShaderVersion()), in DeclarePerVertexBlocksTraverser()
303 mSymbolTable->findBuiltIn(ImmutableString("gl_PointSize"), mShaderVersion)); in declarePerVertex()
395 int mShaderVersion; member in sh::__anonbe4fe63a0111::DeclarePerVertexBlocksTraverser
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DShader.cpp126 mShaderVersion(100), in ShaderState()
321 mState.mShaderVersion = 100; in compile()
471 mState.mShaderVersion = sh::GetShaderVersion(compilerHandle); in resolveCompile()
648 return mState.mShaderVersion; in getShaderVersion()
DShader.h73 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion()
121 int mShaderVersion; variable
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
DDirectiveParser.h80 int mShaderVersion; variable
DDirectiveParser.cpp156 mShaderVersion(100), in DirectiveParser()
672 if (mShaderVersion >= 300) in parseExtension()
810 mShaderVersion = version; in parseVersion()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DDirectiveParser.h91 int mShaderVersion; variable
DDirectiveParser.cpp220 mShaderVersion(100), in DirectiveParser()
743 if (mShaderVersion >= 300) in parseExtension()
841 mShaderVersion = version; in parseVersion()

12