Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/angle2/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
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()
129 bool success = sh::Compile(mCompiler, shaderStrings, 1, SH_OBJECT_CODE); in TEST_P()
136 ::testing::AssertionFailure() << sh::GetInfoLog(mCompiler); in TEST_P()
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()
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()
/third_party/skia/third_party/externals/angle2/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
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteArrayOfArrayOfOpaqueUniforms.cpp60 : TIntermTraverser(true, false, false), mCompiler(compiler), mUniformMap(uniformMap) in RewriteExpressionTraverser()
66 RewriteArrayOfArraySubscriptExpression(mCompiler, node, mUniformMap); in visitBinary()
87 TCompiler *mCompiler; member in sh::__anonc3fe36230111::RewriteExpressionTraverser
246 : TIntermTraverser(true, false, false, symbolTable), mCompiler(compiler) in RewriteArrayOfArrayOfOpaqueUniformsTraverser()
316 RewriteArrayOfArraySubscriptExpression(mCompiler, node, mUniformMap); in visitBinary()
335 TCompiler *mCompiler; member in sh::__anonc3fe36230111::RewriteArrayOfArrayOfOpaqueUniformsTraverser
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::__anon83022e390111::ClampIndirectIndicesTraverser
DRewriteStructSamplers.cpp111 mCompiler(compiler), in RewriteExpressionTraverser()
120 mCompiler, node, mStructureMap, mStructureUniformMap, mExtractedSamplers); in visitBinary()
143 TCompiler *mCompiler; member in sh::__anon1a849c290111::RewriteExpressionTraverser
333 mCompiler(compiler), in RewriteStructSamplersTraverser()
398 mCompiler, node, mStructureMap, mStructureUniformMap, mExtractedSamplers); in visitBinary()
644 TCompiler *mCompiler; member in sh::__anon1a849c290111::RewriteStructSamplersTraverser
DMonomorphizeUnsupportedFunctions.cpp248 mCompiler(compiler), in MonomorphizeTraverser()
383 bool valid = ReplaceVariables(mCompiler, substituteBlock, argumentMap); in processFunctionCall()
389 TCompiler *mCompiler; member in sh::__anon5cd5b6840111::MonomorphizeTraverser
DConvertUnsupportedConstructorsToFunctionCalls.cpp324 return mCompiler.validateAST(&root); in rewrite()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DRewriteR32fImages.cpp47 mCompiler(compiler), in RewriteExpressionTraverser()
54 RewriteBuiltinFunctionCall(mCompiler, mSymbolTable, node, mImageMap); in visitAggregate()
67 TCompiler *mCompiler; member in sh::__anonc6b9ee300111::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::__anonc6b9ee300111::RewriteR32fImagesTraverser
DReplaceForShaderFramebufferFetch.cpp264 : mCompiler(compiler), in ReplaceSubpassInputUtils()
319 TCompiler *mCompiler; member in sh::__anon07b78dc40111::ReplaceSubpassInputUtils
527 if (!RunAtTheBeginningOfShader(mCompiler, mRoot, loadInputAttachmentBlock)) in loadInputAttachmentData()
596 if (!RunAtTheBeginningOfShader(mCompiler, mRoot, loadInputAttachmentBlock)) in loadInputAttachmentData()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DBuildSPIRV.cpp485 : mCompiler(compiler), in SPIRVBuilder()
499 if (mCompiler->getShaderType() == GL_GEOMETRY_SHADER) in SPIRVBuilder()
503 else if (mCompiler->getShaderType() == GL_TESS_CONTROL_SHADER_EXT || in SPIRVBuilder()
504 mCompiler->getShaderType() == GL_TESS_EVALUATION_SHADER_EXT) in SPIRVBuilder()
556 spirvType.typeSpec.inferDefaults(type, mCompiler); in getSpirvType()
1664 return IsInvariant(type, mCompiler); in isInvariantOutput()
2160 if (mCompiler->isEarlyFragmentTestsSpecified() || in writeExecutionModes()
2161 mCompiler->isEarlyFragmentTestsOptimized()) in writeExecutionModes()
2172 {spirv::LiteralInteger(mCompiler->getTessControlShaderOutputVertices())}); in writeExecutionModes()
2178 mCompiler->getTessEvaluationShaderInputPrimitiveType()); in writeExecutionModes()
[all …]
DBuildSPIRV.h461 ANGLE_MAYBE_UNUSED TCompiler *mCompiler; variable
DOutputSPIRV.cpp370 TCompiler *mCompiler; member in sh::__anon3988ce700111::OutputSPIRVTraverser
498 mCompiler(compiler), in OutputSPIRVTraverser()
512 *storageClass = GetStorageClass(type, mCompiler->getShaderType()); in getSymbolIdAndStorageClass()
614 if (mCompiler->getShaderType() == GL_FRAGMENT_SHADER) in getSymbolIdAndStorageClass()
3743 mCompiler->getShaderType() != GL_FRAGMENT_SHADER && lodIndex == 0 && dPdxIndex == 0 && in createImageTextureBuiltIn()
4680 new TStructure(&mCompiler->getSymbolTable(), ImmutableString("BuiltInResultType"), in makeBuiltInOutputStructType()
4787 typeSpec.inferDefaults(type, mCompiler); in visitSymbol()
5918 spv::StorageClass storageClass = GetStorageClass(type, mCompiler->getShaderType()); in visitDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp250 : mCompiler(compiler), in ReplaceClipCullDistanceAssignments()
277 TCompiler *mCompiler; member in sh::__anon80b6a7ec0111::ReplaceClipCullDistanceAssignments
346 return RunAtTheBeginningOfShader(mCompiler, mRoot, readBlock); in assignOriginalValueToANGLEVariableImpl()
397 return RunAtTheEndOfShader(mCompiler, mRoot, assignBlock, mSymbolTable); in assignANGLEValueToOriginalVariableImpl()
DIntermRebuild.cpp150 : mCompiler(compiler), in TIntermRebuild()
188 return mCompiler.validateAST(&root); in rebuildRoot()
613 return TIntermBinary::CreateComma(newLeft, newRight, mCompiler.getShaderVersion()); in traverseBinaryChildren()
DIntermRebuild.h315 TCompiler &mCompiler;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DEmitMetal.cpp183 const TCompiler &mCompiler; member in __anon7bd29ab40111::GenMetalTraverser
218 mCompiler(compiler), in GenMetalTraverser()
820 TranslatorMetalReflection *reflection = mtl::getTranslatorMetalReflection(&mCompiler); in emitPostQualifier()
1032 mtl::getTranslatorMetalReflection(&mCompiler); in emitFieldDeclaration()
1163 TranslatorMetalReflection *reflection = mtl::getTranslatorMetalReflection(&mCompiler); in emitUniformBufferDeclaration()
1189 const bool reclaimUnusedAttributeIndices = mCompiler.getShaderVersion() < 300; in emitStructDeclaration()
1194 BuildExternalAttributeIndexMap(mCompiler, mPipelineStructs.vertexIn); in emitStructDeclaration()
1796 TranslatorMetalReflection *reflection = mtl::getTranslatorMetalReflection(&mCompiler); in emitFunctionParameter()
1984 TranslatorMetalReflection *reflection = mtl::getTranslatorMetalReflection(&mCompiler); in visitAggregate()
DHoistConstants.cpp76 if (!ReplaceVariable(&mCompiler, &root, &oldVar, newVar)) in rewrite()
DRewritePipelines.cpp142 mCompiler, mSymbolEnv, mIdGen, mPipeline.externalStructModifyConfig(), pipelineStruct, in exec()
340 TCompiler &mCompiler; member in __anonea421c5d0111::PipelineFunctionEnv
359 : mCompiler(compiler), in PipelineFunctionEnv()
416 mtl::getTranslatorMetalReflection(&mCompiler); in getUpdatedFunction()
465 ((sh::TranslatorMetalDirect *)&mCompiler) in getUpdatedFunction()
DModifyStruct.cpp159 : mCompiler(compiler), in ConvertStructState()
365 TranslatorMetalReflection *reflection = mtl::getTranslatorMetalReflection(&mCompiler); in recurse()
368 if (!TryCreateModifiedStruct(mCompiler, symbolEnv, idGen, config, structure, name, in recurse()
609 TCompiler &mCompiler; member in __anon6442413f0111::ConvertStructState
DIntermRebuild.h315 TCompiler &mCompiler;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DRewriteRowMajorMatrices.cpp418 mCompiler(compiler), in RewriteRowMajorMatricesTraverser()
1087 bool valid = rhsTraverser.updateTree(mCompiler, getRootNode()); in transformExpression()
1539 TCompiler *mCompiler; member in sh::__anon146f94e70111::RewriteRowMajorMatricesTraverser

12