Home
last modified time | relevance | path

Searched refs:mShaderType (Results 1 – 25 of 33) sorted by relevance

12

/external/angle/src/compiler/translator/
DCompiler.cpp297 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 …]
DCollectVariables.cpp246 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 …]
DValidateVaryingLocations.cpp288 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()
DSymbolTable.h192 uint8_t mShaderType; variable
207 mShaderType(static_cast<uint8_t>(shaderType)),
226 mShaderType(static_cast<uint8_t>(shaderType)),
364 sh::GLenum mShaderType; variable
DParseContext.cpp195 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 …]
DOutputGLSLBase.h96 sh::GLenum getShaderType() { return mShaderType; } in getShaderType()
114 sh::GLenum mShaderType; variable
DDirectiveHandler.cpp45 mShaderType(shaderType), in TDirectiveHandler()
68 if (mShaderVersion == 300 && mShaderType == GL_FRAGMENT_SHADER) in handlePragma()
DValidateLimitations.cpp99 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()
DOutputHLSL.cpp316 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 …]
DDirectiveHandler.h53 sh::GLenum mShaderType; variable
DSymbolTable.cpp107 mShaderType(GL_FRAGMENT_SHADER), in TSymbolTable()
396 mShaderType = type; in initializeBuiltIns()
518 if (!CheckShaderType(static_cast<Shader>(mShaderType), shaderType)) in matches()
DCompiler.h180 sh::GLenum getShaderType() const { return mShaderType; } in getShaderType()
280 sh::GLenum mShaderType; variable
DBuildSPIRV.h287 mShaderType(gl::FromGLenum<gl::ShaderType>(compiler->getShaderType())), in SPIRVBuilder()
446 gl::ShaderType mShaderType; variable
/external/angle/src/compiler/translator/tree_ops/vulkan/
DDeclarePerVertexBlocks.cpp59 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/
DCompiler.cpp339 : 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()
DProgramLinkedResources.cpp248 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 …]
DCompiler.h70 ShaderType mShaderType; variable
DShader.h72 ShaderType getShaderType() const { return mShaderType; } in getShaderType()
120 ShaderType mShaderType; variable
DShader.cpp125 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/
DScalarizeVecAndMatConstructorArgs.cpp48 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/
DValidateLimitations.h62 GLenum mShaderType; variable
DParseHelper.h46 mShaderType(type), in TParseContext()
76 GLenum getShaderType() const { return mShaderType; } in getShaderType()
258 GLenum mShaderType; // vertex or fragment language (future: pack or unpack) variable
DValidateLimitations.cpp113 : mShaderType(shaderType), in ValidateLimitations()
497 bool skip = (mShaderType == GL_VERTEX_SHADER) && in validateIndexing()
/external/angle/src/tests/test_utils/
Dcompiler_test.cpp113 : mShaderType(shaderType), mDefaultCompileOptions(defaultCompileOptions) in MatchOutputCodeTest()
155 return compileTestShader(mShaderType, SH_GLES3_1_SPEC, output, shaderString, &mResources, in compileWithSettings()
Dcompiler_test.h101 GLenum mShaderType; variable

12