| /device/generic/vulkan-cereal/third-party/angle/src/ |
| D | compiler.gni | 8 "src/compiler/translator/blocklayout.h", 9 "src/compiler/translator/blocklayoutHLSL.h", 25 "src/compiler/translator/BaseTypes.h", 26 "src/compiler/translator/BuiltInFunctionEmulator.cpp", 27 "src/compiler/translator/BuiltInFunctionEmulator.h", 28 "src/compiler/translator/CallDAG.cpp", 29 "src/compiler/translator/CallDAG.h", 30 "src/compiler/translator/CodeGen.cpp", 31 "src/compiler/translator/CollectVariables.cpp", 32 "src/compiler/translator/CollectVariables.h", [all …]
|
| /device/generic/vulkan-cereal/third-party/angle/ |
| D | CMakeLists.txt | 92 src/compiler/translator/blocklayout.h 105 src/compiler/translator/BaseTypes.h 106 src/compiler/translator/BuiltInFunctionEmulator.cpp 107 src/compiler/translator/BuiltInFunctionEmulator.h 108 src/compiler/translator/CallDAG.cpp 109 src/compiler/translator/CallDAG.h 110 src/compiler/translator/CodeGen.cpp 111 src/compiler/translator/CollectVariables.cpp 112 src/compiler/translator/CollectVariables.h 113 src/compiler/translator/Common.h [all …]
|
| D | Android.bp | 90 "src/compiler/translator/BuiltInFunctionEmulator.cpp", 91 "src/compiler/translator/CallDAG.cpp", 92 "src/compiler/translator/CodeGen.cpp", 93 "src/compiler/translator/CollectVariables.cpp", 94 "src/compiler/translator/Compiler.cpp", 95 "src/compiler/translator/ConstantUnion.cpp", 96 "src/compiler/translator/Declarator.cpp", 97 "src/compiler/translator/Diagnostics.cpp", 98 "src/compiler/translator/DirectiveHandler.cpp", 99 "src/compiler/translator/ExtensionBehavior.cpp", [all …]
|
| /device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/ |
| D | ShaderLang.cpp | 37 const std::vector<VarT> *GetVariableList(const TCompiler *compiler); 40 const std::vector<InterfaceBlock> *GetVariableList(const TCompiler *compiler) in GetVariableList() argument 42 return &compiler->getInterfaceBlocks(); in GetVariableList() 59 TCompiler *compiler = GetCompilerFromHandle(handle); in GetShaderVariables() local 60 if (!compiler) in GetShaderVariables() 65 return GetVariableList<VarT>(compiler); in GetShaderVariables() 283 TCompiler *compiler = base->getAsCompiler(); in ConstructCompiler() local 284 if (compiler == nullptr) in ConstructCompiler() 290 if (!compiler->Init(*resources)) in ConstructCompiler() 312 TCompiler *compiler = GetCompilerFromHandle(handle); in GetBuiltInResourcesString() local [all …]
|
| D | TranslatorVulkan.cpp | 226 ANGLE_NO_DISCARD bool RotateAndFlipBuiltinVariable(TCompiler *compiler, in RotateAndFlipBuiltinVariable() argument 252 if (!ReplaceVariable(compiler, root, builtin, replacementVar)) in RotateAndFlipBuiltinVariable() 281 return compiler->validateAST(root); in RotateAndFlipBuiltinVariable() 291 ANGLE_NO_DISCARD bool ReplaceGLDepthRangeWithDriverUniform(TCompiler *compiler, in ReplaceGLDepthRangeWithDriverUniform() argument 304 return ReplaceVariableWithTyped(compiler, root, depthRangeVar, angleEmulatedDepthRangeRef); in ReplaceGLDepthRangeWithDriverUniform() 316 ANGLE_NO_DISCARD bool AppendVertexShaderDepthCorrectionToMain(TCompiler *compiler, in AppendVertexShaderDepthCorrectionToMain() argument 344 return RunAtTheEndOfShader(compiler, root, assignment, symbolTable); in AppendVertexShaderDepthCorrectionToMain() 354 ANGLE_NO_DISCARD bool AppendPreRotation(TCompiler *compiler, in AppendPreRotation() argument 373 return RunAtTheEndOfShader(compiler, root, assignment, symbolTable); in AppendPreRotation() 376 ANGLE_NO_DISCARD bool AppendVertexShaderTransformFeedbackOutputToMain(TCompiler *compiler, in AppendVertexShaderTransformFeedbackOutputToMain() argument [all …]
|
| /device/generic/vulkan-cereal/third-party/angle/src/tests/compiler_tests/ |
| D | ShaderVariable_test.cpp | 220 ShHandle compiler = sh::ConstructCompiler(GL_VERTEX_SHADER, SH_GLES2_SPEC, in TEST() local 222 EXPECT_NE(static_cast<ShHandle>(0), compiler); in TEST() 233 EXPECT_TRUE(sh::Compile(compiler, program, 1, SH_OBJECT_CODE)); in TEST() 234 EXPECT_TRUE(sh::Compile(compiler, program, 1, SH_OBJECT_CODE)); in TEST() 235 sh::Destruct(compiler); in TEST() 243 ShHandle compiler = sh::ConstructCompiler(GL_VERTEX_SHADER, SH_GLES2_SPEC, in TEST() local 245 EXPECT_NE(static_cast<ShHandle>(0), compiler); in TEST() 268 EXPECT_TRUE(sh::Compile(compiler, program1, 1, SH_VARIABLES)); in TEST() 269 EXPECT_FALSE(sh::Compile(compiler, program2, 1, SH_VARIABLES)); in TEST() 270 sh::Destruct(compiler); in TEST() [all …]
|
| D | ExpressionLimit_test.cpp | 223 bool CheckShaderCompilation(ShHandle compiler, in CheckShaderCompilation() argument 228 bool success = sh::Compile(compiler, &source, 1, compileOptions) != 0; in CheckShaderCompilation() 235 std::string log = sh::GetInfoLog(compiler); in CheckShaderCompilation() 555 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, spec, output, &resources); in TEST_F() local 560 compiler, GenerateShaderWithFunctionParameters(kMaxFunctionParameters).c_str(), in TEST_F() 564 compiler, GenerateShaderWithFunctionParameters(kMaxFunctionParameters + 1).c_str(), in TEST_F() 568 compiler, GenerateShaderWithFunctionParameters(kMaxFunctionParameters + 1).c_str(), in TEST_F() 570 sh::Destruct(compiler); in TEST_F() 577 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, spec, output, &resources); in TEST_F() local 582 compiler, GenerateShaderWithNestingInsideSwitch(kMaxExpressionComplexity + 1).c_str(), in TEST_F() [all …]
|
| D | ConstructCompiler_test.cpp | 19 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, SH_WEBGL_SPEC, in TEST() local 21 ASSERT_NE(nullptr, compiler); in TEST() 30 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, SH_WEBGL_SPEC, in TEST() local 32 ASSERT_EQ(nullptr, compiler); in TEST() 42 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, SH_WEBGL_SPEC, in TEST() local 44 ASSERT_EQ(nullptr, compiler); in TEST()
|
| /device/generic/vulkan-cereal/third-party/angle/samples/shader_translator/ |
| D | shader_translator.cpp | 31 static bool CompileFile(char *fileName, ShHandle compiler, ShCompileOptions compileOptions); 34 static void PrintActiveVariables(ShHandle compiler); 272 ShHandle compiler = 0; in main() local 281 compiler = vertexCompiler; in main() 289 compiler = fragmentCompiler; in main() 297 compiler = computeCompiler; in main() 305 compiler = geometryCompiler; in main() 310 if (compiler) in main() 323 bool compiled = CompileFile(argv[0], compiler, compileOptions); in main() 326 std::string log = sh::GetInfoLog(compiler); in main() [all …]
|
| /device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/tree_ops/ |
| D | EmulateGLFragColorBroadcast.cpp | 40 ANGLE_NO_DISCARD bool broadcastGLFragColor(TCompiler *compiler, TIntermBlock *root); 83 bool GLFragColorBroadcastTraverser::broadcastGLFragColor(TCompiler *compiler, TIntermBlock *root) in broadcastGLFragColor() argument 100 return RunAtTheEndOfShader(compiler, root, broadcastBlock, mSymbolTable); in broadcastGLFragColor() 105 bool EmulateGLFragColorBroadcast(TCompiler *compiler, in EmulateGLFragColorBroadcast() argument 117 if (!traverser.updateTree(compiler, root)) in EmulateGLFragColorBroadcast() 121 if (!traverser.broadcastGLFragColor(compiler, root)) in EmulateGLFragColorBroadcast()
|
| D | SeparateDeclarations.cpp | 29 ANGLE_NO_DISCARD static bool apply(TCompiler *compiler, TIntermNode *root); 36 bool SeparateDeclarationsTraverser::apply(TCompiler *compiler, TIntermNode *root) in apply() argument 40 return separateDecl.updateTree(compiler, root); in apply() 73 bool SeparateDeclarations(TCompiler *compiler, TIntermNode *root) in SeparateDeclarations() argument 75 return SeparateDeclarationsTraverser::apply(compiler, root); in SeparateDeclarations()
|
| D | RewriteUnaryMinusOperatorFloat.cpp | 21 ANGLE_NO_DISCARD static bool Apply(TCompiler *compiler, TIntermNode *root); 32 bool Traverser::Apply(TCompiler *compiler, TIntermNode *root) in Apply() argument 41 if (!traverser.updateTree(compiler, root)) in Apply() 92 bool RewriteUnaryMinusOperatorFloat(TCompiler *compiler, TIntermNode *root) in RewriteUnaryMinusOperatorFloat() argument 94 return Traverser::Apply(compiler, root); in RewriteUnaryMinusOperatorFloat()
|
| D | RewriteRepeatedAssignToSwizzled.cpp | 30 ANGLE_NO_DISCARD static bool rewrite(TCompiler *compiler, TIntermBlock *root); 45 bool RewriteAssignToSwizzledTraverser::rewrite(TCompiler *compiler, TIntermBlock *root) in rewrite() argument 52 if (!rewrite.updateTree(compiler, root)) in rewrite() 92 bool RewriteRepeatedAssignToSwizzled(TCompiler *compiler, TIntermBlock *root) in RewriteRepeatedAssignToSwizzled() argument 94 return RewriteAssignToSwizzledTraverser::rewrite(compiler, root); in RewriteRepeatedAssignToSwizzled()
|
| D | SeparateArrayInitialization.cpp | 33 ANGLE_NO_DISCARD static bool apply(TCompiler *compiler, TIntermNode *root); 40 bool SeparateArrayInitTraverser::apply(TCompiler *compiler, TIntermNode *root) in apply() argument 44 return separateInit.updateTree(compiler, root); in apply() 85 bool SeparateArrayInitialization(TCompiler *compiler, TIntermNode *root) in SeparateArrayInitialization() argument 87 return SeparateArrayInitTraverser::apply(compiler, root); in SeparateArrayInitialization()
|
| D | RewriteUnaryMinusOperatorInt.cpp | 22 ANGLE_NO_DISCARD static bool Apply(TCompiler *compiler, TIntermNode *root); 33 bool Traverser::Apply(TCompiler *compiler, TIntermNode *root) in Apply() argument 42 if (!traverser.updateTree(compiler, root)) in Apply() 110 bool RewriteUnaryMinusOperatorInt(TCompiler *compiler, TIntermNode *root) in RewriteUnaryMinusOperatorInt() argument 112 return Traverser::Apply(compiler, root); in RewriteUnaryMinusOperatorInt()
|
| D | PruneEmptyCases.cpp | 55 ANGLE_NO_DISCARD static bool apply(TCompiler *compiler, TIntermBlock *root); 62 bool PruneEmptyCasesTraverser::apply(TCompiler *compiler, TIntermBlock *root) in apply() argument 66 return prune.updateTree(compiler, root); in apply() 122 bool PruneEmptyCases(TCompiler *compiler, TIntermBlock *root) in PruneEmptyCases() argument 124 return PruneEmptyCasesTraverser::apply(compiler, root); in PruneEmptyCases()
|
| D | ExpandIntegerPowExpressions.cpp | 26 ANGLE_NO_DISCARD static bool Apply(TCompiler *compiler, 39 bool Traverser::Apply(TCompiler *compiler, TIntermNode *root, TSymbolTable *symbolTable) in Apply() argument 48 if (!traverser.updateTree(compiler, root)) in Apply() 147 bool ExpandIntegerPowExpressions(TCompiler *compiler, TIntermNode *root, TSymbolTable *symbolTable) in ExpandIntegerPowExpressions() argument 149 return Traverser::Apply(compiler, root, symbolTable); in ExpandIntegerPowExpressions()
|
| D | PruneNoOps.cpp | 43 ANGLE_NO_DISCARD static bool apply(TCompiler *compiler, 54 bool PruneNoOpsTraverser::apply(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable) in apply() argument 58 return prune.updateTree(compiler, root); in apply() 163 bool PruneNoOps(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable) in PruneNoOps() argument 165 return PruneNoOpsTraverser::apply(compiler, root, symbolTable); in PruneNoOps()
|
| D | RewriteTexelFetchOffset.cpp | 25 ANGLE_NO_DISCARD static bool Apply(TCompiler *compiler, 45 bool Traverser::Apply(TCompiler *compiler, in Apply() argument 57 if (!traverser.updateTree(compiler, root)) in Apply() 156 bool RewriteTexelFetchOffset(TCompiler *compiler, in RewriteTexelFetchOffset() argument 165 return Traverser::Apply(compiler, root, symbolTable, shaderVersion); in RewriteTexelFetchOffset()
|
| D | RewriteDfdy.cpp | 26 ANGLE_NO_DISCARD static bool Apply(TCompiler *compiler, 47 bool Traverser::Apply(TCompiler *compiler, in Apply() argument 56 return traverser.updateTree(compiler, root); in Apply() 145 bool RewriteDfdy(TCompiler *compiler, in RewriteDfdy() argument 156 return Traverser::Apply(compiler, root, symbolTable, flipXY, fragRotation); in RewriteDfdy()
|
| D | EmulateMultiDrawShaderBuiltins.cpp | 120 bool EmulateGLDrawID(TCompiler *compiler, in EmulateGLDrawID() argument 155 if (!ReplaceVariableWithTyped(compiler, root, builtInVariable, drawIDSymbol)) in EmulateGLDrawID() 164 bool EmulateGLBaseVertexBaseInstance(TCompiler *compiler, in EmulateGLBaseVertexBaseInstance() argument 180 if (!traverserVertexID.updateTree(compiler, root)) in EmulateGLBaseVertexBaseInstance() 216 if (!ReplaceVariableWithTyped(compiler, root, builtInVariableBaseVertex, baseVertexSymbol)) in EmulateGLBaseVertexBaseInstance() 253 if (!ReplaceVariableWithTyped(compiler, root, builtInVariableBaseInstance, in EmulateGLBaseVertexBaseInstance()
|
| D | InitializeVariables.cpp | 163 void InsertInitCode(TCompiler *compiler, in InsertInitCode() argument 288 bool InitializeUninitializedLocals(TCompiler *compiler, in InitializeUninitializedLocals() argument 298 return traverser.updateTree(compiler, root); in InitializeUninitializedLocals() 301 bool InitializeVariables(TCompiler *compiler, in InitializeVariables() argument 311 InsertInitCode(compiler, body->getSequence(), vars, symbolTable, shaderVersion, in InitializeVariables() 314 return compiler->validateAST(root); in InitializeVariables()
|
| /device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/tree_util/ |
| D | ReplaceShadowingVariables.cpp | 106 ANGLE_NO_DISCARD bool executeReplacements(TCompiler *compiler) in executeReplacements() argument 110 if (!ReplaceVariable(compiler, replace.functionBody, replace.originalVariable, in executeReplacements() 129 ANGLE_NO_DISCARD bool ReplaceShadowingVariables(TCompiler *compiler, in ReplaceShadowingVariables() argument 135 if (!traverser.executeReplacements(compiler)) in ReplaceShadowingVariables() 139 return traverser.updateTree(compiler, root); in ReplaceShadowingVariables()
|
| D | ReplaceVariable.cpp | 46 ANGLE_NO_DISCARD bool ReplaceVariable(TCompiler *compiler, in ReplaceVariable() argument 53 return traverser.updateTree(compiler, root); in ReplaceVariable() 57 ANGLE_NO_DISCARD bool ReplaceVariableWithTyped(TCompiler *compiler, in ReplaceVariableWithTyped() argument 64 return traverser.updateTree(compiler, root); in ReplaceVariableWithTyped()
|
| /device/generic/vulkan-cereal/stream-servers/tests/ |
| D | GLSnapshotShaders_unittest.cpp | 117 GLboolean compiler; in loadSource() local 118 gl->glGetBooleanv(GL_SHADER_COMPILER, &compiler); in loadSource() 120 if (compiler == GL_FALSE) { in loadSource() 141 GLboolean compiler; in compile() local 142 gl->glGetBooleanv(GL_SHADER_COMPILER, &compiler); in compile() 143 if (compiler == GL_FALSE) { in compile()
|