Home
last modified time | relevance | path

Searched refs:getShaderVersion (Results 1 - 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DTranslatorGLSL.cpp35 InitBuiltInIsnanFunctionEmulatorForGLSLWorkarounds(emu, getShaderVersion()); in initBuiltInFunctionEmulator()
69 !sh::RemoveInvariant(getShaderType(), getShaderVersion(), getOutputType(), compileOptions)) in translate()
98 if (!sh::RewriteTexelFetchOffset(this, root, getSymbolTable(), getShaderVersion())) in translate()
112 if ((compileOptions & SH_REWRITE_ROW_MAJOR_MATRICES) != 0 && getShaderVersion() >= 300) in translate()
135 getShaderVersion() == 100; in translate()
297 if (getShaderVersion() >= 300 && iter.first == TExtension::ANGLE_texture_multisample && in writeExtensionBehavior()
320 if (getShaderVersion() >= 300 && getOutputType() < SH_GLSL_330_CORE_OUTPUT && in writeExtensionBehavior()
328 getShaderVersion() == 100) in writeExtensionBehavior()
345 else if (getOutputType() == SH_ESSL_OUTPUT && getShaderVersion() < 320) in writeExtensionBehavior()
359 else if (getOutputType() == SH_ESSL_OUTPUT && getShaderVersion() < 32 in writeExtensionBehavior()
[all...]
H A Dglslang.y143 if (context->getShaderVersion() != 100) { \
149 if (context->getShaderVersion() < 300) { \
155 if (context->getShaderVersion() < 310) { \
882 if (context->getShaderVersion() < 320 &&
1135 if (context->getShaderVersion() < 320
1143 if (context->getShaderVersion() < 320
1153 if (context->getShaderVersion() < 320
1179 if (context->getShaderVersion() < 320
1187 if (context->getShaderVersion() < 320
1197 if (context->getShaderVersion() < 32
[all...]
H A DTranslatorHLSL.cpp167 if (!sh::RewriteTexelFetchOffset(this, root, getSymbolTable(), getShaderVersion())) in translate()
182 if (getShaderVersion() >= 310) in translate()
191 getShaderVersion())) in translate()
202 if (getShaderVersion() == 300 && in translate()
212 sh::OutputHLSL outputHLSL(getShaderType(), getShaderSpec(), getShaderVersion(), in translate()
H A Dglslang_lex_autogen.cpp1859 if (context->getShaderVersion() < 300)
1871 if (context->getShaderVersion() >= 300)
3329 yyextra->symbolTable.find(ImmutableString(yytext, yyleng), yyextra->getShaderVersion()); in check_type()
3351 int version = context->getShaderVersion(); in is_extension_enabled_or_is_core()
3364 if (context->getShaderVersion() < 300) in ES2_reserved_ES3_keyword()
3376 if (context->getShaderVersion() >= 300) in ES2_keyword_ES3_reserved()
3389 if (context->getShaderVersion() < 300) in ES3_reserved_ES3_1_keyword()
3394 else if (context->getShaderVersion() == 300) in ES3_reserved_ES3_1_keyword()
3408 if (context->getShaderVersion() < 300) in ES3_keyword()
3421 if (context->getShaderVersion() < 31 in ES2_reserved_ES3_1_keyword()
[all...]
H A DTranslatorMetalDirect.cpp316 symbolTable->findBuiltIn(ImmutableString("gl_FragCoord"), compiler->getShaderVersion())); in InsertFragCoordCorrection()
770 else if (getShaderVersion() >= 310) in translateImpl()
935 getSymbolTable().findBuiltIn(ImmutableString("gl_FragCoord"), getShaderVersion())); in translateImpl()
939 if (!RewriteDfdy(this, compileOptions, root, getSymbolTable(), getShaderVersion(), in translateImpl()
959 getSymbolTable().findBuiltIn(ImmutableString("gl_PointSize"), getShaderVersion())); in translateImpl()
1077 if ((compileOptions & SH_REWRITE_ROW_MAJOR_MATRICES) != 0 && getShaderVersion() >= 300) in translateImpl()
H A DTranslatorVulkan.cpp645 symbolTable->findBuiltIn(ImmutableString("gl_FragCoord"), compiler->getShaderVersion())); in InsertFragCoordCorrection()
720 symbolTable->findBuiltIn(ImmutableString("gl_FragCoord"), compiler->getShaderVersion())); in AddBresenhamEmulationFS()
955 else if (getShaderVersion() >= 310) in translateImpl()
1173 if (!RewriteDfdy(this, compileOptions, root, getSymbolTable(), getShaderVersion(), in translateImpl()
1180 getShaderVersion(), specConst, driverUniforms)) in translateImpl()
1202 ImmutableString("gl_NumSamples"), getShaderVersion())); in translateImpl()
H A DTranslatorESSL.cpp36 int shaderVer = getShaderVersion(); in translate()
H A Dglslang_tab_autogen.cpp449 if (context->getShaderVersion() != 100) \
458 if (context->getShaderVersion() < 300) \
467 if (context->getShaderVersion() < 310) \
3686 if (context->getShaderVersion() < 320 &&
4232 if (context->getShaderVersion() < 320 &&
4245 if (context->getShaderVersion() < 320 &&
4260 if (context->getShaderVersion() < 320 &&
4321 if (context->getShaderVersion() < 320 &&
4334 if (context->getShaderVersion() < 320 &&
4349 if (context->getShaderVersion() < 32
[all...]
H A DCompiler.h111 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion() function in sh::TCompiler
H A DCompiler.cpp549 mShaderVersion = parseContext.getShaderVersion(); in setASTMetadata()
1064 if (!InitializeUninitializedLocals(this, root, getShaderVersion(), canUseLoopsToInitialize, in checkAndSimplifyAST()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
H A DRewriteSampleMaskVariable.cpp131 ImmutableString("gl_SampleMask"), compiler->getShaderVersion())); in RewriteSampleMask()
184 symbolTable->findBuiltIn(ImmutableString("gl_SampleMaskIn"), compiler->getShaderVersion())); in RewriteSampleMaskIn()
H A DReplaceClipCullDistanceVariable.cpp505 symbolTable->findBuiltIn(name, compiler->getShaderVersion())); in ReplaceClipCullDistanceAssignmentsImpl()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DCompiler.h88 int getShaderVersion() const { return shaderVersion; } in getShaderVersion() function in TCompiler
H A Dglslang_lex.cpp2023 if (context->getShaderVersion() < 300) {
2034 if (context->getShaderVersion() >= 300)
3657 TSymbol* symbol = yyextra->symbolTable.find(yytext, yyextra->getShaderVersion()); in check_type()
3681 if (context->getShaderVersion() < 300) in ES2_reserved_ES3_keyword()
3693 if (context->getShaderVersion() >= 300) in ES2_keyword_ES3_reserved()
3707 if (context->getShaderVersion() < 300) in ES2_identifier_ES3_keyword()
3720 if (context->getShaderVersion() < 300) in uint_constant()
3737 if (context->getShaderVersion() < 300) in floatsuffix_check()
H A DCompiler.cpp138 shaderVersion = parseContext.getShaderVersion(); in compile()
H A Dglslang_tab.cpp382 if (context->getShaderVersion() != 100) { \
389 if (context->getShaderVersion() != 300) { \
3476 if (context->getShaderVersion() != 300) {
H A DParseHelper.cpp1834 static_cast<TFunction *>(symbolTable.find(function.getMangledName(), getShaderVersion())); in addFunctionPrototypeDeclaration()
1909 const TSymbol *builtIn = symbolTable.findBuiltIn(function->getMangledName(), getShaderVersion()); in parseFunctionPrototype()
1917 TFunction *prevDec = static_cast<TFunction *>(symbolTable.find(function->getMangledName(), getShaderVersion())); in parseFunctionPrototype()
2014 TFunction *prevDec = static_cast<TFunction *>(symbolTable.find(function->getMangledName(), getShaderVersion())); in parseFunctionDeclarator()
2015 if(getShaderVersion() >= 300 && symbolTable.hasUnmangledBuiltIn(function->getName().c_str())) in parseFunctionDeclarator()
2043 TSymbol *prevSym = symbolTable.find(function->getName(), getShaderVersion()); in parseFunctionDeclarator()
H A DOutputASM.h190 int getShaderVersion() const { return shaderVersion; } in getShaderVersion() function in glsl::Shader
H A DParseHelper.h75 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion() function in TParseContext
H A DValidateLimitations.cpp432 TSymbol* symbol = symbolTable.find(node->getName(), GetGlobalParseContext()->getShaderVersion()); in validateFunctionCall()
H A Dglslang.y146 if (context->getShaderVersion() != 100) { \
153 if (context->getShaderVersion() != 300) { \
869 if (context->getShaderVersion() != 300) {
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DShader.h73 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion() function in gl::final
208 int getShaderVersion();
H A DProgram.cpp1646 fragmentShader->getActiveOutputVariables(), fragmentShader->getShaderVersion(), in linkImpl()
3285 version = shader->getShaderVersion(); in linkValidateShaders()
3287 else if (version != shader->getShaderVersion()) in linkValidateShaders()
3522 currentShader->getType(), previousShader->getShaderVersion(), in linkVaryings()
3523 currentShader->getShaderVersion(), isSeparable(), infoLog)) in linkVaryings()
3540 fragmentShader->getType(), vertexShader->getShaderVersion(), in linkVaryings()
3541 fragmentShader->getShaderVersion(), infoLog)) in linkVaryings()
3744 shaderVersion = vertexShader->getShaderVersion(); in linkAttributes()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
H A DDeclarePerVertexBlocks.cpp132 mShaderVersion(compiler->getShaderVersion()), in DeclarePerVertexBlocksTraverser()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DShader.cpp252 shaderVersion = compiler->getShaderVersion(); in compile()

Completed in 49 milliseconds

12