Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DCompiler.cpp331 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 …]
DCollectVariables.cpp246 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 …]
DValidateVaryingLocations.cpp288 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()
DSymbolTable.h199 uint8_t mShaderType; variable
214 mShaderType(static_cast<uint8_t>(shaderType)),
233 mShaderType(static_cast<uint8_t>(shaderType)),
371 sh::GLenum mShaderType; variable
DParseContext.cpp196 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 …]
DDirectiveHandler.cpp44 mShaderType(shaderType) in TDirectiveHandler()
66 if (mShaderVersion == 300 && mShaderType == GL_FRAGMENT_SHADER) in handlePragma()
DValidateLimitations.cpp99 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()
DOutputGLSLBase.h90 sh::GLenum getShaderType() const { return mShaderType; } in getShaderType()
109 sh::GLenum mShaderType; variable
DOutputHLSL.cpp316 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 …]
DSymbolTable.cpp107 mShaderType(GL_FRAGMENT_SHADER), in TSymbolTable()
399 mShaderType = type; in initializeBuiltIns()
521 if (!CheckShaderType(static_cast<Shader>(mShaderType), shaderType)) in matches()
DCompiler.h189 sh::GLenum getShaderType() const { return mShaderType; } in getShaderType()
292 sh::GLenum mShaderType; variable
DDirectiveHandler.h52 sh::GLenum mShaderType; variable
DOutputGLSLBase.cpp92 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/
DDeclarePerVertexBlocks.cpp131 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/
DCompiler.cpp344 : 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()
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::__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 …]
DShader.h72 ShaderType getShaderType() const { return mShaderType; } in getShaderType()
120 ShaderType mShaderType; variable
DCompiler.h70 ShaderType mShaderType; variable
DShader.cpp125 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/
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.h62 GLenum mShaderType; variable
DValidateLimitations.cpp113 : mShaderType(shaderType), in ValidateLimitations()
497 bool skip = (mShaderType == GL_VERTEX_SHADER) && in validateIndexing()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
Dcompiler_test.cpp114 : mShaderType(shaderType), mDefaultCompileOptions(defaultCompileOptions) in MatchOutputCodeTest()
157 return compileTestShader(mShaderType, SH_GLES3_1_SPEC, output, shaderString, &mResources, in compileWithSettings()
Dcompiler_test.h101 GLenum mShaderType; variable
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DCollectVariables_test.cpp35 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()

12