Home
last modified time | relevance | path

Searched refs:mCompiler (Results 1 – 25 of 29) sorted by relevance

12

/external/angle/src/tests/compiler_tests/
DShCompile_test.cpp26 mCompiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, SH_WEBGL_SPEC, in SetUp()
28 ASSERT_TRUE(mCompiler != nullptr) << "Compiler could not be constructed."; in SetUp()
33 if (mCompiler) in TearDown()
35 sh::Destruct(mCompiler); in TearDown()
36 mCompiler = nullptr; in TearDown()
43 bool success = sh::Compile(mCompiler, shaderStrings, stringCount, options); in testCompile()
44 const std::string &compileLog = sh::GetInfoLog(mCompiler); in testCompile()
61 ShHandle mCompiler; member in ShCompileTest
83 mCompiler = sh::ConstructCompiler(GL_COMPUTE_SHADER, SH_WEBGL3_SPEC, in SetUp()
85 ASSERT_TRUE(mCompiler != nullptr) << "Compiler could not be constructed."; in SetUp()
[all …]
DFragDepth_test.cpp27 mCompiler = nullptr; in SetUp()
34 if (mCompiler) in DestroyCompiler()
36 sh::Destruct(mCompiler); in DestroyCompiler()
37 mCompiler = nullptr; in DestroyCompiler()
44 mCompiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, SH_GLES3_SPEC, in InitializeCompiler()
46 ASSERT_TRUE(mCompiler != nullptr) << "Compiler could not be constructed."; in InitializeCompiler()
54 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
59 return ::testing::AssertionFailure() << sh::GetInfoLog(mCompiler); in TestShaderCompile()
64 ShHandle mCompiler; member in FragDepthTest
DOES_sample_variables_test.cpp70 mCompiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, testing::get<0>(GetParam()), in InitializeCompiler()
72 ASSERT_TRUE(mCompiler != nullptr) << "Compiler could not be constructed."; in InitializeCompiler()
79 bool success = sh::Compile(mCompiler, shaderStrings, 3, SH_VARIABLES | SH_OBJECT_CODE); in TestShaderCompile()
84 return ::testing::AssertionFailure() << sh::GetInfoLog(mCompiler); in TestShaderCompile()
DAPPLE_clip_distance_test.cpp53 mCompiler = sh::ConstructCompiler(GL_VERTEX_SHADER, testing::get<0>(GetParam()), in InitializeCompiler()
55 ASSERT_TRUE(mCompiler != nullptr) << "Compiler could not be constructed."; in InitializeCompiler()
62 bool success = sh::Compile(mCompiler, shaderStrings, 3, SH_VARIABLES | SH_OBJECT_CODE); in TestShaderCompile()
67 return ::testing::AssertionFailure() << sh::GetInfoLog(mCompiler); in TestShaderCompile()
DEXT_clip_cull_distance_test.cpp251 mCompiler = sh::ConstructCompiler(shaderType, testing::get<0>(GetParam()), shaderOutputType, in InitializeCompiler()
253 ASSERT_TRUE(mCompiler != nullptr) << "Compiler could not be constructed."; in InitializeCompiler()
260 bool success = sh::Compile(mCompiler, shaderStrings, 3, SH_VARIABLES | SH_OBJECT_CODE); in TestShaderCompile()
265 return ::testing::AssertionFailure() << sh::GetInfoLog(mCompiler); in TestShaderCompile()
/external/angle/src/tests/test_utils/
DShaderExtensionTest.h33 mCompiler = nullptr; in SetUp()
39 if (mCompiler) in DestroyCompiler()
41 sh::Destruct(mCompiler); in DestroyCompiler()
42 mCompiler = nullptr; in DestroyCompiler()
49 mCompiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, testing::get<0>(GetParam()), in InitializeCompiler()
51 ASSERT_TRUE(mCompiler != nullptr) << "Compiler could not be constructed."; in InitializeCompiler()
67 bool success = sh::Compile(mCompiler, shaderStrings, 3, 0); in TestShaderCompile()
72 return ::testing::AssertionFailure() << sh::GetInfoLog(mCompiler); in TestShaderCompile()
77 ShHandle mCompiler; variable
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteArrayOfArrayOfOpaqueUniforms.cpp61 : TIntermTraverser(true, false, false), mCompiler(compiler), mUniformMap(uniformMap) in RewriteExpressionTraverser()
67 RewriteArrayOfArraySubscriptExpression(mCompiler, node, mUniformMap); in visitBinary()
88 TCompiler *mCompiler; member in sh::__anon546213b10111::RewriteExpressionTraverser
247 : TIntermTraverser(true, false, false, symbolTable), mCompiler(compiler) in RewriteArrayOfArrayOfOpaqueUniformsTraverser()
317 RewriteArrayOfArraySubscriptExpression(mCompiler, node, mUniformMap); in visitBinary()
336 TCompiler *mCompiler; member in sh::__anon546213b10111::RewriteArrayOfArrayOfOpaqueUniformsTraverser
DRewriteR32fImages.cpp47 mCompiler(compiler), in RewriteExpressionTraverser()
54 RewriteBuiltinFunctionCall(mCompiler, mSymbolTable, node, mImageMap); in visitAggregate()
67 TCompiler *mCompiler; member in sh::__anona14c76fe0111::RewriteExpressionTraverser
259 : TIntermTraverser(true, false, false, symbolTable), mCompiler(compiler) in RewriteR32fImagesTraverser()
346 RewriteBuiltinFunctionCall(mCompiler, mSymbolTable, node, mImageMap); in visitAggregate()
365 TCompiler *mCompiler; member in sh::__anona14c76fe0111::RewriteR32fImagesTraverser
DMonomorphizeUnsupportedFunctionsInVulkanGLSL.cpp249 mCompiler(compiler), in MonomorphizeTraverser()
384 bool valid = ReplaceVariables(mCompiler, substituteBlock, argumentMap); in processFunctionCall()
390 TCompiler *mCompiler; member in sh::__anonc689cbac0111::MonomorphizeTraverser
DReplaceForShaderFramebufferFetch.cpp384 : mCompiler(compiler), in ReplaceSubpassInputUtils()
440 TCompiler *mCompiler; member in sh::__anon4aed90d20111::ReplaceSubpassInputUtils
643 if (!RunAtTheBeginningOfShader(mCompiler, mRoot, loadInputAttachmentBlock)) in loadInputAttachmentData()
712 if (!RunAtTheBeginningOfShader(mCompiler, mRoot, loadInputAttachmentBlock)) in loadInputAttachmentData()
/external/angle/src/compiler/translator/tree_ops/
DClampIndirectIndices.cpp27 : TIntermTraverser(true, false, false, symbolTable), mCompiler(compiler) in ClampIndirectIndicesTraverser()
41 bool valid = ClampIndirectIndices(mCompiler, node->getLeft(), mSymbolTable); in visitBinary()
43 valid = ClampIndirectIndices(mCompiler, node->getRight(), mSymbolTable); in visitBinary()
130 TCompiler *mCompiler; member in sh::__anonc44480070111::ClampIndirectIndicesTraverser
DRewriteStructSamplers.cpp111 mCompiler(compiler), in RewriteExpressionTraverser()
120 mCompiler, node, mStructureMap, mStructureUniformMap, mExtractedSamplers); in visitBinary()
143 TCompiler *mCompiler; member in sh::__anon841127b70111::RewriteExpressionTraverser
333 mCompiler(compiler), in RewriteStructSamplersTraverser()
398 mCompiler, node, mStructureMap, mStructureUniformMap, mExtractedSamplers); in visitBinary()
644 TCompiler *mCompiler; member in sh::__anon841127b70111::RewriteStructSamplersTraverser
DRewriteRowMajorMatrices.cpp418 mCompiler(compiler), in RewriteRowMajorMatricesTraverser()
1087 bool valid = rhsTraverser.updateTree(mCompiler, getRootNode()); in transformExpression()
1539 TCompiler *mCompiler; member in sh::__anon073414940111::RewriteRowMajorMatricesTraverser
/external/angle/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp248 : mCompiler(compiler), in ReplaceClipCullDistanceAssignments()
276 TCompiler *mCompiler; member in sh::__anona5741eba0111::ReplaceClipCullDistanceAssignments
342 return RunAtTheBeginningOfShader(mCompiler, mRoot, readBlock); in assignOriginalValueToANGLEVariableImpl()
393 return RunAtTheEndOfShader(mCompiler, mRoot, assignBlock, mSymbolTable); in assignANGLEValueToOriginalVariableImpl()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DHoistConstants.cpp76 if (!ReplaceVariable(&mCompiler, &root, &oldVar, newVar)) in rewrite()
DRewritePipelines.cpp128 mCompiler, mSymbolEnv, mIdGen, mPipeline.externalStructModifyConfig(), pipelineStruct, in exec()
328 TCompiler &mCompiler; member in __anon4e3055eb0111::PipelineFunctionEnv
347 : mCompiler(compiler), in PipelineFunctionEnv()
404 ((sh::TranslatorMetalDirect *)&mCompiler)->getTranslatorMetalReflection(); in getUpdatedFunction()
453 ((sh::TranslatorMetalDirect *)&mCompiler) in getUpdatedFunction()
DEmitMetal.cpp183 const TCompiler &mCompiler; member in __anon16f098020111::GenMetalTraverser
221 mCompiler(compiler), in GenMetalTraverser()
1032 ((sh::TranslatorMetalDirect *)&mCompiler)->getTranslatorMetalReflection(); in emitFieldDeclaration()
1162 ((sh::TranslatorMetalDirect *)&mCompiler)->getTranslatorMetalReflection(); in emitUniformBufferDeclaration()
1188 const bool reclaimUnusedAttributeIndices = mCompiler.getShaderVersion() < 300; in emitStructDeclaration()
1193 BuildExternalAttributeIndexMap(mCompiler, mPipelineStructs.vertexIn); in emitStructDeclaration()
1780 ((sh::TranslatorMetalDirect *)&mCompiler)->getTranslatorMetalReflection(); in emitFunctionParameter()
DModifyStruct.cpp159 : mCompiler(compiler), in ConvertStructState()
366 ((sh::TranslatorMetalDirect *)&mCompiler)->getTranslatorMetalReflection(); in recurse()
369 if (!TryCreateModifiedStruct(mCompiler, symbolEnv, idGen, config, structure, name, in recurse()
605 TCompiler &mCompiler; member in __anon9125e3cd0111::ConvertStructState
DIntermRebuild.cpp150 : mCompiler(compiler), in TIntermRebuild()
188 return mCompiler.validateAST(&root); in rebuildRoot()
600 return TIntermBinary::CreateComma(newLeft, newRight, mCompiler.getShaderVersion()); in traverseBinaryChildren()
DIntermRebuild.h315 TCompiler &mCompiler;
/external/angle/src/compiler/translator/
DBuildSPIRV.h285 : mCompiler(compiler), in SPIRVBuilder()
444 ANGLE_MAYBE_UNUSED TCompiler *mCompiler; variable
DBuildSPIRV.cpp426 spirvType.typeSpec.inferDefaults(type, mCompiler); in getSpirvType()
1482 return IsInvariant(type, mCompiler); in isInvariantOutput()
1959 if (mCompiler->isEarlyFragmentTestsSpecified() || in generateExecutionModes()
1960 mCompiler->isEarlyFragmentTestsOptimized()) in generateExecutionModes()
1970 const sh::WorkGroupSize &localSize = mCompiler->getComputeShaderLocalSize(); in generateExecutionModes()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.h495 HLSLCompiler mCompiler; variable
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.h563 HLSLCompiler mCompiler; variable
/external/angle/src/libANGLE/
DContext.h709 mutable BindingPointer<Compiler> mCompiler; variable

12