/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Compiler.cpp | 356 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 …]
|
D | ValidateGlobalInitializer.cpp | 51 int mShaderVersion; member in sh::__anon94bcc4960111::ValidateGlobalInitializerTraverser 73 ((mShaderVersion < 300) && mIsWebGL)); in visitSymbol() 90 ((mShaderVersion < 300) && mIsWebGL)); in visitConstantUnion() 132 mShaderVersion(shaderVersion), in ValidateGlobalInitializerTraverser()
|
D | ParseContext.cpp | 199 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 …]
|
D | DirectiveHandler.cpp | 43 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()
|
D | QualifierTypes.cpp | 917 : 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()
|
D | Compiler.h | 111 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion() 311 int mShaderVersion; variable
|
D | DirectiveHandler.h | 51 int &mShaderVersion; variable
|
D | OutputGLSLBase.cpp | 93 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()
|
D | ParseContext.h | 52 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/ |
D | EmulateGLFragColorBroadcast.cpp | 37 mShaderVersion(shaderVersion) in GLFragColorBroadcastTraverser() 53 const int mShaderVersion; member in sh::__anon115eda790111::GLFragColorBroadcastTraverser 59 ReferenceBuiltInVariable(kGlFragDataString, *mSymbolTable, mShaderVersion); in constructGLFragDataNode()
|
D | InitializeVariables.cpp | 258 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/ |
D | RewriteAtomicFunctionExpressions.cpp | 61 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/ |
D | Diagnostics.h | 28 int shaderVersion() const { return mShaderVersion; } in shaderVersion() 51 int mShaderVersion;
|
D | Diagnostics.cpp | 22 mShaderVersion(100), in TDiagnostics() 36 mShaderVersion = version; in setShaderVersion()
|
D | DirectiveHandler.cpp | 41 mShaderVersion(shaderVersion) in TDirectiveHandler() 165 mShaderVersion = version; in handleVersion()
|
D | ParseHelper.h | 47 mShaderVersion(100), in TParseContext() 58 mDirectiveHandler(ext, mDiagnostics, mShaderVersion), in TParseContext() 75 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion() 259 int mShaderVersion; variable
|
D | ParseHelper.cpp | 857 …) || (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 …]
|
D | DirectiveHandler.h | 54 int& mShaderVersion; variable
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | DeclarePerVertexBlocks.cpp | 132 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/ |
D | Shader.cpp | 126 mShaderVersion(100), in ShaderState() 321 mState.mShaderVersion = 100; in compile() 471 mState.mShaderVersion = sh::GetShaderVersion(compilerHandle); in resolveCompile() 648 return mState.mShaderVersion; in getShaderVersion()
|
D | Shader.h | 73 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion() 121 int mShaderVersion; variable
|
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/ |
D | DirectiveParser.h | 80 int mShaderVersion; variable
|
D | DirectiveParser.cpp | 156 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/ |
D | DirectiveParser.h | 91 int mShaderVersion; variable
|
D | DirectiveParser.cpp | 220 mShaderVersion(100), in DirectiveParser() 743 if (mShaderVersion >= 300) in parseExtension() 841 mShaderVersion = version; in parseVersion()
|