/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | TranslatorGLSL.cpp | 35 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 D | glslang.y | 143 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 D | TranslatorHLSL.cpp | 167 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 D | glslang_lex_autogen.cpp | 1859 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 D | TranslatorMetalDirect.cpp | 316 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 D | TranslatorVulkan.cpp | 645 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 D | TranslatorESSL.cpp | 36 int shaderVer = getShaderVersion(); in translate()
|
H A D | glslang_tab_autogen.cpp | 449 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 D | Compiler.h | 111 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion() function in sh::TCompiler
|
H A D | Compiler.cpp | 549 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 D | RewriteSampleMaskVariable.cpp | 131 ImmutableString("gl_SampleMask"), compiler->getShaderVersion())); in RewriteSampleMask() 184 symbolTable->findBuiltIn(ImmutableString("gl_SampleMaskIn"), compiler->getShaderVersion())); in RewriteSampleMaskIn()
|
H A D | ReplaceClipCullDistanceVariable.cpp | 505 symbolTable->findBuiltIn(name, compiler->getShaderVersion())); in ReplaceClipCullDistanceAssignmentsImpl()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | Compiler.h | 88 int getShaderVersion() const { return shaderVersion; } in getShaderVersion() function in TCompiler
|
H A D | glslang_lex.cpp | 2023 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 D | Compiler.cpp | 138 shaderVersion = parseContext.getShaderVersion(); in compile()
|
H A D | glslang_tab.cpp | 382 if (context->getShaderVersion() != 100) { \ 389 if (context->getShaderVersion() != 300) { \ 3476 if (context->getShaderVersion() != 300) {
|
H A D | ParseHelper.cpp | 1834 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 D | OutputASM.h | 190 int getShaderVersion() const { return shaderVersion; } in getShaderVersion() function in glsl::Shader
|
H A D | ParseHelper.h | 75 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion() function in TParseContext
|
H A D | ValidateLimitations.cpp | 432 TSymbol* symbol = symbolTable.find(node->getName(), GetGlobalParseContext()->getShaderVersion()); in validateFunctionCall()
|
H A D | glslang.y | 146 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 D | Shader.h | 73 int getShaderVersion() const { return mShaderVersion; } in getShaderVersion() function in gl::final 208 int getShaderVersion();
|
H A D | Program.cpp | 1646 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 D | DeclarePerVertexBlocks.cpp | 132 mShaderVersion(compiler->getShaderVersion()), in DeclarePerVertexBlocksTraverser()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Shader.cpp | 252 shaderVersion = compiler->getShaderVersion(); in compile()
|