/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Compiler.cpp | 331 mShaderType(type), in TCompiler() 356 return mShaderVersion > 100 || mShaderType != GL_FRAGMENT_SHADER || in isHighPrecisionSupported() 445 TParseContext parseContext(mSymbolTable, mExtensionBehavior, mShaderType, mShaderSpec, in compileTreeImpl() 493 switch (mShaderType) in checkShaderVersion() 563 if (mShaderType == GL_GEOMETRY_SHADER_EXT) in setASTMetadata() 570 if (mShaderType == GL_TESS_CONTROL_SHADER_EXT) in setASTMetadata() 574 if (mShaderType == GL_TESS_EVALUATION_SHADER_EXT) in setASTMetadata() 671 !ValidateLimitations(root, mShaderType, &mSymbolTable, &mDiagnostics)) in checkAndSimplifyAST() 681 if (!ValidateFragColorAndFragData(mShaderType, mShaderVersion, mSymbolTable, &mDiagnostics)) in checkAndSimplifyAST() 696 if (mShaderType == GL_TESS_CONTROL_SHADER && !ValidateBarrierFunctionCall(root, &mDiagnostics)) in checkAndSimplifyAST() [all …]
|
D | CollectVariables.cpp | 246 GLenum mShaderType; member in sh::__anond021d4b60111::CollectVariablesTraverser 317 mShaderType(shaderType), in CollectVariablesTraverser() 618 if (mShaderType == GL_GEOMETRY_SHADER_EXT) in visitSymbol() 625 ASSERT(mShaderType == GL_FRAGMENT_SHADER || in visitSymbol() 626 mShaderType == GL_TESS_CONTROL_SHADER || in visitSymbol() 627 mShaderType == GL_TESS_EVALUATION_SHADER); in visitSymbol() 633 if (mShaderType == GL_GEOMETRY_SHADER_EXT) in visitSymbol() 637 else if (mShaderType == GL_FRAGMENT_SHADER) in visitSymbol() 643 ASSERT(mShaderType == GL_VERTEX_SHADER && in visitSymbol() 649 if (mShaderType == GL_COMPUTE_SHADER) in visitSymbol() [all …]
|
D | ValidateVaryingLocations.cpp | 288 GLenum mShaderType; member in sh::__anon29c75ecd0111::ValidateVaryingLocationsTraverser 292 : TIntermTraverser(true, false, false), mShaderType(shaderType) in ValidateVaryingLocationsTraverser() 339 ValidateShaderInterfaceAndAssignLocations(diagnostics, mInputVaryingsWithLocation, mShaderType); in validate() 341 mShaderType); in validate()
|
D | SymbolTable.h | 199 uint8_t mShaderType; variable 214 mShaderType(static_cast<uint8_t>(shaderType)), 233 mShaderType(static_cast<uint8_t>(shaderType)), 371 sh::GLenum mShaderType; variable
|
D | ParseContext.cpp | 196 mShaderType(type), in TParseContext() 214 mDirectiveHandler(ext, *mDiagnostics, mShaderVersion, mShaderType), in TParseContext() 624 if (mShaderType == GL_FRAGMENT_SHADER) in checkCanBeLValue() 630 if (mShaderType == GL_FRAGMENT_SHADER) in checkCanBeLValue() 645 if (mShaderType == GL_FRAGMENT_SHADER) in checkCanBeLValue() 651 if (mShaderType == GL_FRAGMENT_SHADER) in checkCanBeLValue() 1177 !IsGeometryShaderInput(mShaderType, elementType.qualifier) && in checkIsValidTypeAndQualifierForArray() 1178 !IsTessellationControlShaderInput(mShaderType, elementType.qualifier) && in checkIsValidTypeAndQualifierForArray() 1179 !IsTessellationEvaluationShaderInput(mShaderType, elementType.qualifier) && in checkIsValidTypeAndQualifierForArray() 1180 !IsTessellationControlShaderOutput(mShaderType, elementType.qualifier)) in checkIsValidTypeAndQualifierForArray() [all …]
|
D | DirectiveHandler.cpp | 44 mShaderType(shaderType) in TDirectiveHandler() 66 if (mShaderVersion == 300 && mShaderType == GL_FRAGMENT_SHADER) in handlePragma()
|
D | ValidateLimitations.cpp | 99 sh::GLenum mShaderType; member in sh::__anon765ca96e0111::ValidateLimitationsTraverser 108 mShaderType(shaderType), in ValidateLimitationsTraverser() 431 bool skip = (mShaderType == GL_VERTEX_SHADER) && (operand->getQualifier() == EvqUniform); in validateIndexing()
|
D | OutputGLSLBase.h | 90 sh::GLenum getShaderType() const { return mShaderType; } in getShaderType() 109 sh::GLenum mShaderType; variable
|
D | OutputHLSL.cpp | 316 mShaderType(shaderType), in OutputHLSL() 723 if (mShaderType == GL_FRAGMENT_SHADER) in header() 909 else if (mShaderType == GL_VERTEX_SHADER) in header() 1013 ASSERT(mShaderType == GL_COMPUTE_SHADER); in header() 2111 if (mShaderType == GL_COMPUTE_SHADER) in visitBlock() 2188 switch (mShaderType) in visitFunctionDefinition() 2245 if (needsLod0 && !mOutputLod0Function && mShaderType == GL_FRAGMENT_SHADER) in visitFunctionDefinition() 2363 if (needsLod0 && !mOutputLod0Function && mShaderType == GL_FRAGMENT_SHADER) in visitFunctionPrototype() 2384 mShaderType == GL_FRAGMENT_SHADER; in visitAggregate() 2430 arguments->size(), lod0, mShaderType); in visitAggregate() [all …]
|
D | SymbolTable.cpp | 107 mShaderType(GL_FRAGMENT_SHADER), in TSymbolTable() 399 mShaderType = type; in initializeBuiltIns() 521 if (!CheckShaderType(static_cast<Shader>(mShaderType), shaderType)) in matches()
|
D | Compiler.h | 189 sh::GLenum getShaderType() const { return mShaderType; } in getShaderType() 292 sh::GLenum mShaderType; variable
|
D | DirectiveHandler.h | 52 sh::GLenum mShaderType; variable
|
D | OutputGLSLBase.cpp | 92 mShaderType(compiler->getShaderType()), in TOutputGLSLBase() 101 if (!sh::RemoveInvariant(mShaderType, mShaderVersion, mOutput, mCompileOptions)) in writeInvariantQualifier() 369 return mShaderType == GL_FRAGMENT_SHADER ? "in" : "out"; in mapQualifierToString()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | DeclarePerVertexBlocks.cpp | 131 mShaderType(compiler->getShaderType()), in DeclarePerVertexBlocksTraverser() 150 if (mShaderType == GL_TESS_CONTROL_SHADER && type->getQualifier() == EvqPerVertexOut) in visitSymbol() 190 if ((mShaderType == GL_TESS_CONTROL_SHADER || mShaderType == GL_TESS_EVALUATION_SHADER || in visitSymbol() 191 mShaderType == GL_GEOMETRY_SHADER) && in visitSymbol() 299 if (mShaderType == GL_VERTEX_SHADER) in declarePerVertex() 365 if (mShaderType == GL_TESS_CONTROL_SHADER) in declareDefaultGlOut() 384 if (mShaderType == GL_GEOMETRY_SHADER) in declareDefaultGlIn() 394 GLenum mShaderType; member in sh::__anonbe4fe63a0111::DeclarePerVertexBlocksTraverser
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Compiler.cpp | 344 : mHandle(handle), mOutputType(outputType), mShaderType(shaderType) in ShCompilerInstance() 362 : mHandle(other.mHandle), mOutputType(other.mOutputType), mShaderType(other.mShaderType) in ShCompilerInstance() 371 mShaderType = other.mShaderType; in operator =() 383 return mShaderType; in getShaderType()
|
D | ProgramLinkedResources.cpp | 248 mShaderType(shaderType), in UniformBlockEncodingVisitor() 274 SetActive(mUniformsOut, nameWithArrayIndex, mShaderType, variable.active); in visitNamedVariable() 281 newUniform.setActive(mShaderType, variable.active); in visitNamedVariable() 291 const ShaderType mShaderType; member in gl::__anon2bf02c0b0111::UniformBlockEncodingVisitor 309 mShaderType(shaderType), in ShaderStorageBlockVisitor() 338 SetActive(mBufferVariablesOut, nameWithArrayIndex, mShaderType, variable.active); in visitNamedVariable() 345 newBufferVariable.setActive(mShaderType, variable.active); in visitNamedVariable() 355 const ShaderType mShaderType; member in gl::__anon2bf02c0b0111::ShaderStorageBlockVisitor 394 mShaderType(shaderType), in FlattenUniformVisitor() 473 existingUniform->setActive(mShaderType, true); in visitNamedVariable() [all …]
|
D | Shader.h | 72 ShaderType getShaderType() const { return mShaderType; } in getShaderType() 120 ShaderType mShaderType; variable
|
D | Compiler.h | 70 ShaderType mShaderType; variable
|
D | Shader.cpp | 125 mShaderType(shaderType), in ShaderState() 389 ShCompilerInstance compilerInstance = mBoundCompiler->getInstance(mState.mShaderType); in compile() 479 switch (mState.mShaderType) in resolveCompile()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | ParseHelper.h | 46 mShaderType(type), in TParseContext() 76 GLenum getShaderType() const { return mShaderType; } in getShaderType() 258 GLenum mShaderType; // vertex or fragment language (future: pack or unpack) variable
|
D | ValidateLimitations.h | 62 GLenum mShaderType; variable
|
D | ValidateLimitations.cpp | 113 : mShaderType(shaderType), in ValidateLimitations() 497 bool skip = (mShaderType == GL_VERTEX_SHADER) && in validateIndexing()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | compiler_test.cpp | 114 : mShaderType(shaderType), mDefaultCompileOptions(defaultCompileOptions) in MatchOutputCodeTest() 157 return compileTestShader(mShaderType, SH_GLES3_1_SPEC, output, shaderString, &mResources, in compileWithSettings()
|
D | compiler_test.h | 101 GLenum mShaderType; variable
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | CollectVariables_test.cpp | 35 CollectVariablesTest(::GLenum shaderType) : mShaderType(shaderType) {} in CollectVariablesTest() 52 new TranslatorGLSL(mShaderType, SH_GLES3_SPEC, SH_GLSL_COMPATIBILITY_OUTPUT)); in initTranslator() 142 ::GLenum mShaderType; 167 new TranslatorGLSL(mShaderType, SH_GLES3_1_SPEC, SH_GLSL_COMPATIBILITY_OUTPUT)); in initTranslator() 223 new TranslatorGLSL(mShaderType, SH_GLES3_1_SPEC, SH_GLSL_COMPATIBILITY_OUTPUT)); in initTranslator()
|