/external/angle/src/compiler/translator/ |
D | Compiler.cpp | 297 mShaderType(type), in TCompiler() 403 TParseContext parseContext(mSymbolTable, mExtensionBehavior, mShaderType, mShaderSpec, in compileTreeImpl() 451 switch (mShaderType) in checkShaderVersion() 519 if (mShaderType == GL_GEOMETRY_SHADER_EXT) in setASTMetadata() 526 if (mShaderType == GL_TESS_CONTROL_SHADER_EXT) in setASTMetadata() 530 if (mShaderType == GL_TESS_EVALUATION_SHADER_EXT) in setASTMetadata() 591 !ValidateLimitations(root, mShaderType, &mSymbolTable, &mDiagnostics)) in checkAndSimplifyAST() 601 if (!ValidateFragColorAndFragData(mShaderType, mShaderVersion, mSymbolTable, &mDiagnostics)) in checkAndSimplifyAST() 616 if (mShaderType == GL_TESS_CONTROL_SHADER && !ValidateBarrierFunctionCall(root, &mDiagnostics)) in checkAndSimplifyAST() 639 bool highPrecisionSupported = mShaderVersion > 100 || mShaderType != GL_FRAGMENT_SHADER || in checkAndSimplifyAST() [all …]
|
D | CollectVariables.cpp | 246 GLenum mShaderType; member in sh::__anon45ff8db80111::CollectVariablesTraverser 317 mShaderType(shaderType), in CollectVariablesTraverser() 654 if (mShaderType == GL_GEOMETRY_SHADER_EXT) in visitSymbol() 661 ASSERT(mShaderType == GL_FRAGMENT_SHADER || in visitSymbol() 662 mShaderType == GL_TESS_CONTROL_SHADER || in visitSymbol() 663 mShaderType == GL_TESS_EVALUATION_SHADER); in visitSymbol() 669 if (mShaderType == GL_GEOMETRY_SHADER_EXT) in visitSymbol() 673 else if (mShaderType == GL_FRAGMENT_SHADER) in visitSymbol() 679 ASSERT(mShaderType == GL_VERTEX_SHADER && in visitSymbol() 685 if (mShaderType == GL_COMPUTE_SHADER) in visitSymbol() [all …]
|
D | ValidateVaryingLocations.cpp | 288 GLenum mShaderType; member in sh::__anon0346f9cf0111::ValidateVaryingLocationsTraverser 292 : TIntermTraverser(true, false, false), mShaderType(shaderType) in ValidateVaryingLocationsTraverser() 339 ValidateShaderInterfaceAndAssignLocations(diagnostics, mInputVaryingsWithLocation, mShaderType); in validate() 341 mShaderType); in validate()
|
D | SymbolTable.h | 192 uint8_t mShaderType; variable 207 mShaderType(static_cast<uint8_t>(shaderType)), 226 mShaderType(static_cast<uint8_t>(shaderType)), 364 sh::GLenum mShaderType; variable
|
D | ParseContext.cpp | 195 mShaderType(type), in TParseContext() 216 mShaderType, in TParseContext() 626 if (mShaderType == GL_FRAGMENT_SHADER) in checkCanBeLValue() 632 if (mShaderType == GL_FRAGMENT_SHADER) in checkCanBeLValue() 647 if (mShaderType == GL_FRAGMENT_SHADER) in checkCanBeLValue() 653 if (mShaderType == GL_FRAGMENT_SHADER) in checkCanBeLValue() 1179 !IsGeometryShaderInput(mShaderType, elementType.qualifier) && in checkIsValidTypeAndQualifierForArray() 1180 !IsTessellationControlShaderInput(mShaderType, elementType.qualifier) && in checkIsValidTypeAndQualifierForArray() 1181 !IsTessellationEvaluationShaderInput(mShaderType, elementType.qualifier) && in checkIsValidTypeAndQualifierForArray() 1182 !IsTessellationControlShaderOutput(mShaderType, elementType.qualifier)) in checkIsValidTypeAndQualifierForArray() [all …]
|
D | OutputGLSLBase.h | 96 sh::GLenum getShaderType() { return mShaderType; } in getShaderType() 114 sh::GLenum mShaderType; variable
|
D | DirectiveHandler.cpp | 45 mShaderType(shaderType), in TDirectiveHandler() 68 if (mShaderVersion == 300 && mShaderType == GL_FRAGMENT_SHADER) in handlePragma()
|
D | ValidateLimitations.cpp | 99 sh::GLenum mShaderType; member in sh::__anon608cdb300111::ValidateLimitationsTraverser 108 mShaderType(shaderType), in ValidateLimitationsTraverser() 431 bool skip = (mShaderType == GL_VERTEX_SHADER) && (operand->getQualifier() == EvqUniform); in validateIndexing()
|
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() 1006 ASSERT(mShaderType == GL_COMPUTE_SHADER); in header() 2104 if (mShaderType == GL_COMPUTE_SHADER) in visitBlock() 2181 switch (mShaderType) in visitFunctionDefinition() 2238 if (needsLod0 && !mOutputLod0Function && mShaderType == GL_FRAGMENT_SHADER) in visitFunctionDefinition() 2356 if (needsLod0 && !mOutputLod0Function && mShaderType == GL_FRAGMENT_SHADER) in visitFunctionPrototype() 2377 mShaderType == GL_FRAGMENT_SHADER; in visitAggregate() 2425 arguments->size(), lod0, mShaderType); in visitAggregate() [all …]
|
D | DirectiveHandler.h | 53 sh::GLenum mShaderType; variable
|
D | SymbolTable.cpp | 107 mShaderType(GL_FRAGMENT_SHADER), in TSymbolTable() 396 mShaderType = type; in initializeBuiltIns() 518 if (!CheckShaderType(static_cast<Shader>(mShaderType), shaderType)) in matches()
|
D | Compiler.h | 180 sh::GLenum getShaderType() const { return mShaderType; } in getShaderType() 280 sh::GLenum mShaderType; variable
|
D | BuildSPIRV.h | 287 mShaderType(gl::FromGLenum<gl::ShaderType>(compiler->getShaderType())), in SPIRVBuilder() 446 gl::ShaderType mShaderType; variable
|
/external/angle/src/compiler/translator/tree_ops/vulkan/ |
D | DeclarePerVertexBlocks.cpp | 59 mShaderType(compiler->getShaderType()), in DeclarePerVertexBlocksTraverser() 75 if (mShaderType == GL_TESS_CONTROL_SHADER && type->getQualifier() == EvqPerVertexOut) in visitSymbol() 113 if ((mShaderType == GL_TESS_CONTROL_SHADER || mShaderType == GL_TESS_EVALUATION_SHADER || in visitSymbol() 114 mShaderType == GL_GEOMETRY_SHADER) && in visitSymbol() 270 if (mShaderType == GL_TESS_CONTROL_SHADER) in declareDefaultGlOut() 289 if (mShaderType == GL_GEOMETRY_SHADER) in declareDefaultGlIn() 299 GLenum mShaderType; member in sh::__anon50119cbc0111::DeclarePerVertexBlocksTraverser
|
/external/angle/src/libANGLE/ |
D | Compiler.cpp | 339 : mHandle(handle), mOutputType(outputType), mShaderType(shaderType) in ShCompilerInstance() 357 : mHandle(other.mHandle), mOutputType(other.mOutputType), mShaderType(other.mShaderType) in ShCompilerInstance() 366 mShaderType = other.mShaderType; in operator =() 378 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::__anon39b3bbcd0111::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::__anon39b3bbcd0111::ShaderStorageBlockVisitor 394 mShaderType(shaderType), in FlattenUniformVisitor() 473 existingUniform->setActive(mShaderType, true); in visitNamedVariable() [all …]
|
D | Compiler.h | 70 ShaderType mShaderType; variable
|
D | Shader.h | 72 ShaderType getShaderType() const { return mShaderType; } in getShaderType() 120 ShaderType mShaderType; variable
|
D | Shader.cpp | 125 mShaderType(shaderType), in ShaderState() 378 ShCompilerInstance compilerInstance = mBoundCompiler->getInstance(mState.mShaderType); in compile() 468 switch (mState.mShaderType) in resolveCompile()
|
/external/angle/src/compiler/translator/tree_ops/ |
D | ScalarizeVecAndMatConstructorArgs.cpp | 48 mShaderType(shaderType), in ScalarizeArgsTraverser() 73 sh::GLenum mShaderType; member in sh::__anonf78a216d0111::ScalarizeArgsTraverser 197 if (mShaderType == GL_FRAGMENT_SHADER && type->getBasicType() == EbtFloat && in createTempVariable()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | ValidateLimitations.h | 62 GLenum mShaderType; variable
|
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.cpp | 113 : mShaderType(shaderType), in ValidateLimitations() 497 bool skip = (mShaderType == GL_VERTEX_SHADER) && in validateIndexing()
|
/external/angle/src/tests/test_utils/ |
D | compiler_test.cpp | 113 : mShaderType(shaderType), mDefaultCompileOptions(defaultCompileOptions) in MatchOutputCodeTest() 155 return compileTestShader(mShaderType, SH_GLES3_1_SPEC, output, shaderString, &mResources, in compileWithSettings()
|
D | compiler_test.h | 101 GLenum mShaderType; variable
|