Home
last modified time | relevance | path

Searched refs:shaderVersion (Results 1 – 25 of 48) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteTexelFetchOffset.cpp28 int shaderVersion);
31 Traverser(const TSymbolTable &symbolTable, int shaderVersion);
36 const int shaderVersion; member in sh::__anonf81a677c0111::Traverser
40 Traverser::Traverser(const TSymbolTable &symbolTable, int shaderVersion) in Traverser() argument
41 : TIntermTraverser(true, false, false), symbolTable(&symbolTable), shaderVersion(shaderVersion) in Traverser()
48 int shaderVersion) in Apply() argument
50 Traverser traverser(symbolTable, shaderVersion); in Apply()
145 *symbolTable, shaderVersion); in visitAggregate()
159 int shaderVersion) in RewriteTexelFetchOffset() argument
162 if (shaderVersion < 300) in RewriteTexelFetchOffset()
[all …]
DInitializeVariables.cpp185 int shaderVersion, in InsertInitCode() argument
200 ReferenceBuiltInVariable(tempVariableName, *symbolTable, shaderVersion); in InsertInitCode()
253 InitializeLocalsTraverser(int shaderVersion, in InitializeLocalsTraverser() argument
258 mShaderVersion(shaderVersion), in InitializeLocalsTraverser()
332 int shaderVersion, in InitializeUninitializedLocals() argument
337 InitializeLocalsTraverser traverser(shaderVersion, symbolTable, canUseLoopsToInitialize, in InitializeUninitializedLocals()
347 int shaderVersion, in InitializeVariables() argument
353 InsertInitCode(compiler, body->getSequence(), vars, symbolTable, shaderVersion, in InitializeVariables()
DEmulateGLFragColorBroadcast.cpp33 GLFragColorBroadcastTraverser(int maxDrawBuffers, TSymbolTable *symbolTable, int shaderVersion) in GLFragColorBroadcastTraverser() argument
37 mShaderVersion(shaderVersion) in GLFragColorBroadcastTraverser()
110 int shaderVersion) in EmulateGLFragColorBroadcast() argument
113 GLFragColorBroadcastTraverser traverser(maxDrawBuffers, symbolTable, shaderVersion); in EmulateGLFragColorBroadcast()
DInitializeVariables.h36 int shaderVersion,
53 int shaderVersion,
DRewriteDfdy.cpp222 int shaderVersion, in RewriteDfdy() argument
227 if (shaderVersion < 300) in RewriteDfdy()
DRewriteTexelFetchOffset.h30 int shaderVersion);
DEmulateGLFragColorBroadcast.h32 int shaderVersion);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DRewriteInterpolateAtOffset.cpp39 int shaderVersion,
45 const int shaderVersion; member in sh::__anon05f66b0c0111::Traverser
53 int shaderVersion, in Traverser() argument
58 shaderVersion(shaderVersion), in Traverser()
69 int shaderVersion, in Apply() argument
74 Traverser traverser(pSymbolTable, compileOptions, shaderVersion, specConst, driverUniforms); in Apply()
134 "interpolateAtOffset", &interpolateAtOffsetArguments, *symbolTable, shaderVersion); in visitAggregate()
149 int shaderVersion, in RewriteInterpolateAtOffset() argument
154 if (shaderVersion < 300) in RewriteInterpolateAtOffset()
159 return Traverser::Apply(compiler, compileOptions, root, symbolTable, shaderVersion, specConst, in RewriteInterpolateAtOffset()
DRewriteInterpolateAtOffset.h36 int shaderVersion,
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DSymbolTable.cpp252 const TSymbol *TSymbolTable::find(const ImmutableString &name, int shaderVersion) const in find()
260 return findBuiltIn(name, shaderVersion); in find()
305 int shaderVersion) const in findBuiltInWithConversion()
309 const TSymbol *target = findBuiltIn(name, shaderVersion); in findBuiltInWithConversion()
467 int shaderVersion, in get() argument
475 if (mVersion == kESSL1Only && shaderVersion != static_cast<int>(kESSL1Only)) in get()
478 if (mVersion > shaderVersion) in get()
491 int shaderVersion, in FindMangledBuiltIn() argument
502 rules[ruleIndex].get(shaderSpec, shaderVersion, shaderType, resources, symbolTable); in FindMangledBuiltIn()
514 int shaderVersion, in matches() argument
[all …]
DValidateGlobalInitializer.cpp22 ValidateGlobalInitializerTraverser(int shaderVersion,
128 int shaderVersion, in ValidateGlobalInitializerTraverser() argument
132 mShaderVersion(shaderVersion), in ValidateGlobalInitializerTraverser()
144 int shaderVersion, in ValidateGlobalInitializer() argument
149 ValidateGlobalInitializerTraverser validate(shaderVersion, isWebGL, in ValidateGlobalInitializer()
DSymbolTable.h95 int shaderVersion,
170 int shaderVersion,
191 int shaderVersion,
287 const TSymbol *find(const ImmutableString &name, int shaderVersion) const;
296 const TSymbol *findBuiltIn(const ImmutableString &name, int shaderVersion) const;
298 int shaderVersion) const;
320 int shaderVersion,
DQualifierTypes.cpp54 bool AreTypeQualifierChecksRelaxed(int shaderVersion) in AreTypeQualifierChecksRelaxed() argument
56 return shaderVersion >= 310; in AreTypeQualifierChecksRelaxed()
253 int shaderVersion, in AreQualifiersInOrder() argument
256 if (shaderVersion >= 310) in AreQualifiersInOrder()
916 int shaderVersion) in TTypeQualifierBuilder() argument
917 : mShaderVersion(shaderVersion) in TTypeQualifierBuilder()
DDirectiveHandler.cpp39 int &shaderVersion, in TDirectiveHandler() argument
43 mShaderVersion(shaderVersion), in TDirectiveHandler()
DValidateGlobalInitializer.h17 int shaderVersion,
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRewriteAtomicFunctionExpressions.cpp47 RewriteAtomicFunctionExpressionsTraverser(TSymbolTable *symbolTable, int shaderVersion);
67 int shaderVersion) in RewriteAtomicFunctionExpressionsTraverser() argument
68 : TIntermTraverser(false, false, true, symbolTable), mShaderVersion(shaderVersion) in RewriteAtomicFunctionExpressionsTraverser()
177 int shaderVersion) in RewriteAtomicFunctionExpressions() argument
179 RewriteAtomicFunctionExpressionsTraverser traverser(symbolTable, shaderVersion); in RewriteAtomicFunctionExpressions()
DRewriteAtomicFunctionExpressions.h39 int shaderVersion);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DSymbolTable.cpp230 TSymbol *TSymbolTable::find(const TString &name, int shaderVersion, bool *builtIn, bool *sameScope)… in find() argument
237 while((level == ESSL3_BUILTINS && shaderVersion != 300) || in find()
238 (level == ESSL1_BUILTINS && shaderVersion != 100)) // Skip version specific levels in find()
260 TSymbol *TSymbolTable::findBuiltIn(const TString &name, int shaderVersion) const in findBuiltIn()
264 while((level == ESSL3_BUILTINS && shaderVersion != 300) || in findBuiltIn()
265 (level == ESSL1_BUILTINS && shaderVersion != 100)) // Skip version specific levels in findBuiltIn()
DCompiler.h88 int getShaderVersion() const { return shaderVersion; } in getShaderVersion()
119 int shaderVersion; variable
DDirectiveHandler.cpp38 int& shaderVersion) in TDirectiveHandler() argument
41 mShaderVersion(shaderVersion) in TDirectiveHandler()
DCompiler.cpp90 shaderVersion = 100; in Init()
138 shaderVersion = parseContext.getShaderVersion(); in compile()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNode_util.cpp23 int shaderVersion) in LookUpBuiltInFunction() argument
26 const TSymbol *symbol = symbolTable.findBuiltIn(mangledName, shaderVersion); in LookUpBuiltInFunction()
333 int shaderVersion) in ReferenceBuiltInVariable() argument
336 static_cast<const TVariable *>(symbolTable.findBuiltIn(name, shaderVersion)); in ReferenceBuiltInVariable()
344 int shaderVersion) in CreateBuiltInFunctionCallNode() argument
346 const TFunction *fn = LookUpBuiltInFunction(name, arguments, symbolTable, shaderVersion); in CreateBuiltInFunctionCallNode()
359 int shaderVersion) in CreateBuiltInUnaryFunctionCallNode() argument
362 return CreateBuiltInFunctionCallNode(name, &seq, symbolTable, shaderVersion); in CreateBuiltInUnaryFunctionCallNode()
DIntermNode_util.h80 int shaderVersion);
85 int shaderVersion);
89 int shaderVersion);
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcParallelShaderCompileTests.cpp258 const char* shaderVersion = isContextES ? shaderVersionES : shaderVersionGL; in iterate() local
266 const char* vSources[] = { shaderVersion, vShader }; in iterate()
267 const int vLengths[] = { int(strlen(shaderVersion)), int(strlen(vShader)) }; in iterate()
273 const char* fSources[] = { shaderVersion, fShader }; in iterate()
274 const int fLengths[] = { int(strlen(shaderVersion)), int(strlen(fShader)) }; in iterate()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeComputeTests.cpp123 const char* const shaderVersion = isES32 in generateComputeShader() local
129 compShaderSource << shaderVersion << "\n" in generateComputeShader()
652 const char* const shaderVersion = isES32 in invalid_maximum_work_group_sizes() local
673 compShaderSource << shaderVersion << "\n" in invalid_maximum_work_group_sizes()
710 const char* const shaderVersion = isES32 in invalid_layout_qualifiers() local
716 compShaderSource << shaderVersion << "\n" in invalid_layout_qualifiers()
731 compShaderSource << shaderVersion << "\n" in invalid_layout_qualifiers()
748 compShaderSource << shaderVersion << "\n" in invalid_layout_qualifiers()
767 compShaderSource << shaderVersion << "\n" in invalid_layout_qualifiers()

12