Home
last modified time | relevance | path

Searched refs:mappedName (Results 1 – 25 of 58) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShaderVariable_test.cpp30 uni.mappedName = "m_uni"; in TEST()
35 a.mappedName = "m_a"; in TEST()
40 x.mappedName = "m_x"; in TEST()
45 y.mappedName = "m_y"; in TEST()
90 vx_a.mappedName = "m_uni"; in TEST()
95 x.mappedName = "m_x"; in TEST()
100 y.mappedName = "m_y"; in TEST()
111 fx_a.mappedName = "m_uni"; in TEST()
116 y.mappedName = "m_y"; in TEST()
121 x.mappedName = "m_x"; in TEST()
[all …]
DCollectVariables_test.cpp414 EXPECT_EQ(DecorateName("b"), interfaceBlock.mappedName); in TEST_F()
426 EXPECT_EQ(DecorateName("s"), blockField.mappedName); in TEST_F()
434 EXPECT_EQ(DecorateName("f"), structField.mappedName); in TEST_F()
461 EXPECT_EQ(DecorateName("b"), interfaceBlock.mappedName); in TEST_F()
474 EXPECT_EQ(DecorateName("s"), blockField.mappedName); in TEST_F()
482 EXPECT_EQ(DecorateName("f"), structField.mappedName); in TEST_F()
509 EXPECT_EQ(DecorateName("b"), interfaceBlock.mappedName); in TEST_F()
521 EXPECT_EQ(DecorateName("s"), blockField.mappedName); in TEST_F()
529 EXPECT_EQ(DecorateName("m"), structField.mappedName); in TEST_F()
563 EXPECT_EQ(DecorateName("vary"), varying->mappedName); in TEST_F()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShaderVariable_test.cpp30 uni.mappedName = "m_uni"; in TEST()
35 a.mappedName = "m_a"; in TEST()
40 x.mappedName = "m_x"; in TEST()
45 y.mappedName = "m_y"; in TEST()
90 vx_a.mappedName = "m_uni"; in TEST()
95 x.mappedName = "m_x"; in TEST()
100 y.mappedName = "m_y"; in TEST()
111 fx_a.mappedName = "m_uni"; in TEST()
116 y.mappedName = "m_y"; in TEST()
121 x.mappedName = "m_x"; in TEST()
[all …]
DCollectVariables_test.cpp414 EXPECT_EQ(DecorateName("b"), interfaceBlock.mappedName); in TEST_F()
426 EXPECT_EQ(DecorateName("s"), blockField.mappedName); in TEST_F()
434 EXPECT_EQ(DecorateName("f"), structField.mappedName); in TEST_F()
461 EXPECT_EQ(DecorateName("b"), interfaceBlock.mappedName); in TEST_F()
474 EXPECT_EQ(DecorateName("s"), blockField.mappedName); in TEST_F()
482 EXPECT_EQ(DecorateName("f"), structField.mappedName); in TEST_F()
509 EXPECT_EQ(DecorateName("b"), interfaceBlock.mappedName); in TEST_F()
521 EXPECT_EQ(DecorateName("s"), blockField.mappedName); in TEST_F()
529 EXPECT_EQ(DecorateName("m"), structField.mappedName); in TEST_F()
563 EXPECT_EQ(DecorateName("vary"), varying->mappedName); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DShaderVars.cpp57 mappedName(other.mappedName), in ShaderVariable()
72 mappedName = other.mappedName; in operator =()
86 mappedName != other.mappedName || arraySizes != other.arraySizes || in operator ==()
167 if (mappedFullName != this->mappedName) in findInfoByMappedName()
176 if (topName != this->mappedName) in findInfoByMappedName()
230 return isBuiltIn() && name != mappedName; in isEmulatedBuiltIn()
243 ASSERT(!matchName || mappedName == other.mappedName); in isSameVariableAtLinkTime()
451 mappedName(other.mappedName), in InterfaceBlock()
466 mappedName = other.mappedName; in operator =()
486 return instanceName.empty() ? "" : mappedName; in fieldMappedPrefix()
[all …]
Dblocklayout.cpp33 const std::string &mappedName) override in encodeVariable() argument
381 mMappedNameStack.push_back(structVar.mappedName); in enterStruct()
407 mMappedNameStack.push_back(arrayVar.mappedName); in enterArray()
452 mMappedNameStack.push_back(sampler.mappedName); in visitSampler()
456 std::string mappedName = collapseMappedNameStack(); in visitSampler() local
464 visitNamedSampler(sampler, name, mappedName); in visitSampler()
472 mMappedNameStack.push_back(variable.mappedName); in visitVariable()
476 std::string mappedName = collapseMappedNameStack(); in visitVariable() local
484 visitNamedVariable(variable, isRowMajor, name, mappedName); in visitVariable()
557 const std::string &mappedName) in visitNamedVariable() argument
[all …]
Dblocklayout.h233 const std::string &mappedName) in visitNamedSampler() argument
238 const std::string &mappedName) = 0;
267 const std::string &mappedName) override;
272 const std::string &mappedName) in encodeVariable() argument
DCollectVariables.cpp272 info->mappedName = variable.name().data(); in setBuiltInInfoFromSymbol()
396 info.mappedName = kName; in visitSymbol()
405 nearInfo.mappedName = kNearName; in visitSymbol()
413 farInfo.mappedName = kFarName; in visitSymbol()
421 diffInfo.mappedName = kDiffName; in visitSymbol()
629 variableOut->mappedName = HashName(name, mHashFunction, nullptr).data(); in setFieldProperties()
642 variableOut->mappedName = getMappedName(&variable); in setCommonVariableProperties()
712 interfaceBlock->mappedName = getMappedName(blockType); in recordInterfaceBlock()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DShaderVars.cpp72 mappedName(other.mappedName), in ShaderVariable()
103 mappedName = other.mappedName; in operator =()
133 mappedName != other.mappedName || arraySizes != other.arraySizes || in operator ==()
248 if (mappedFullName != this->mappedName) in findInfoByMappedName()
257 if (topName != this->mappedName) in findInfoByMappedName()
356 return isBuiltIn() && name != mappedName; in isEmulatedBuiltIn()
369 ASSERT(!matchName || mappedName == other.mappedName); in isSameVariableAtLinkTime()
486 mappedName(other.mappedName), in InterfaceBlock()
501 mappedName = other.mappedName; in operator =()
521 return instanceName.empty() ? "" : mappedName; in fieldMappedPrefix()
[all …]
Dblocklayout.cpp33 const std::string &mappedName) override in encodeVariable() argument
433 mMappedNameStack.push_back(structVar.mappedName); in enterStruct()
459 mMappedNameStack.push_back(arrayVar.mappedName); in enterArray()
506 mMappedNameStack.push_back(variable.mappedName); in visitOpaqueObject()
510 std::string mappedName = collapseMappedNameStack(); in visitOpaqueObject() local
518 visitNamedOpaqueObject(variable, name, mappedName, mArraySizeStack); in visitOpaqueObject()
526 mMappedNameStack.push_back(variable.mappedName); in visitVariable()
530 std::string mappedName = collapseMappedNameStack(); in visitVariable() local
538 visitNamedVariable(variable, isRowMajor, name, mappedName, mArraySizeStack); in visitVariable()
611 const std::string &mappedName, in visitNamedVariable() argument
[all …]
Dblocklayout.h235 const std::string &mappedName, in visitNamedOpaqueObject() argument
241 const std::string &mappedName,
272 const std::string &mappedName,
278 const std::string &mappedName) in encodeVariable() argument
DCollectVariables.cpp333 info->mappedName = variable.name().data(); in setBuiltInInfoFromSymbol()
455 info.mappedName = kName; in visitSymbol()
464 nearInfo.mappedName = kNearName; in visitSymbol()
472 farInfo.mappedName = kFarName; in visitSymbol()
480 diffInfo.mappedName = kDiffName; in visitSymbol()
502 info.mappedName = kName; in visitSymbol()
822 variableOut->mappedName = HashName(name, mHashFunction, nullptr).data(); in setFieldProperties()
845 variableOut->mappedName = getMappedName(&variable); in setCommonVariableProperties()
982 interfaceBlock->mappedName = getMappedName(blockType); in recordInterfaceBlock()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.cpp283 attribute.mappedName.c_str()); in link()
368 outputVar.mappedName.c_str()); in link()
391 outputVar.mappedName.c_str()); in link()
901 const std::string &mappedName, in getShaderStorageBlockSize() argument
904 const GLchar *nameGLStr = mappedName.c_str(); in getShaderStorageBlockSize()
958 if (input.mappedName == inputName) in setPathFragmentInputGen()
1034 ASSERT(angle::EndsWith(uniform.mappedName, "[0]")); in postLink()
1035 fullNameStr << uniform.mappedName.substr(0, uniform.mappedName.length() - 3); in postLink()
1040 fullNameStr << uniform.mappedName; in postLink()
1072 std::string mappedName; in postLink() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.cpp251 const std::string &mappedName) override in visitNamedVariable() argument
255 if (!mGetMemberInfo(name, mappedName, &variableInfo)) in visitNamedVariable()
259 std::string mappedNameWithArrayIndex = mappedName; in visitNamedVariable()
275 newUniform.mappedName = mappedNameWithArrayIndex; in visitNamedVariable()
311 const std::string &mappedName) override in visitNamedVariable() argument
318 if (!mGetMemberInfo(name, mappedName, &variableInfo)) in visitNamedVariable()
322 std::string mappedNameWithArrayIndex = mappedName; in visitNamedVariable()
338 newBufferVariable.mappedName = mappedNameWithArrayIndex; in visitNamedVariable()
400 const std::string &mappedName) override in visitNamedSampler() argument
402 visitNamedVariable(sampler, false, name, mappedName); in visitNamedSampler()
[all …]
DUniform.cpp136 : name(nameIn), mappedName(mappedNameIn), isArray(isArrayIn), arrayElement(arrayElementIn) in InterfaceBlock()
156 fullNameStr << mappedName; in mappedNameWithArrayIndex()
DShader.cpp615 varying.mappedName + tfVaryingName.substr(bracketPos); in getTransformFeedbackVaryingMappedName()
626 return varying.mappedName; in getTransformFeedbackVaryingMappedName()
633 return varying.mappedName + "." + field->mappedName; in getTransformFeedbackVaryingMappedName()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.cpp255 const std::string &mappedName, in visitNamedVariable() argument
260 if (!mGetMemberInfo(name, mappedName, &variableInfo)) in visitNamedVariable()
264 std::string mappedNameWithArrayIndex = mappedName; in visitNamedVariable()
280 newUniform.mappedName = mappedNameWithArrayIndex; in visitNamedVariable()
316 const std::string &mappedName, in visitNamedVariable() argument
324 if (!mGetMemberInfo(name, mappedName, &variableInfo)) in visitNamedVariable()
328 std::string mappedNameWithArrayIndex = mappedName; in visitNamedVariable()
344 newBufferVariable.mappedName = mappedNameWithArrayIndex; in visitNamedVariable()
410 const std::string &mappedName, in visitNamedOpaqueObject() argument
413 visitNamedVariable(variable, false, name, mappedName, arraySizes); in visitNamedOpaqueObject()
[all …]
DShader.cpp713 varying.mappedName + tfVaryingName.substr(bracketPos); in getTransformFeedbackVaryingMappedName()
724 return varying.mappedName; in getTransformFeedbackVaryingMappedName()
736 std::string mappedName; in getTransformFeedbackVaryingMappedName() local
740 mappedName = varying.isShaderIOBlock ? varying.mappedStructOrBlockName in getTransformFeedbackVaryingMappedName()
741 : varying.mappedName; in getTransformFeedbackVaryingMappedName()
742 mappedName += '.'; in getTransformFeedbackVaryingMappedName()
744 return mappedName + field->mappedName; in getTransformFeedbackVaryingMappedName()
DUniform.cpp140 mappedName(mappedNameIn), in InterfaceBlock()
163 fullNameStr << mappedName; in mappedNameWithArrayIndex()
DProgramExecutable.h82 mappedName = parent.mappedName + "." + mappedName; in TransformFeedbackVarying()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.cpp294 attribute.mappedName.c_str()); in link()
380 outputVar.mappedName.c_str()); in link()
403 outputVar.mappedName.c_str()); in link()
909 const std::string &mappedName, in getShaderStorageBlockSize() argument
912 const GLchar *nameGLStr = mappedName.c_str(); in getShaderStorageBlockSize()
1022 ASSERT(angle::EndsWith(uniform.mappedName, "[0]")); in postLink()
1023 fullNameStr << uniform.mappedName.substr(0, uniform.mappedName.length() - 3); in postLink()
1028 fullNameStr << uniform.mappedName; in postLink()
1125 auto getUniformBlockSize = [this](const std::string &name, const std::string &mappedName, in linkResources()
1127 return this->getUniformBlockSize(name, mappedName, sizeOut); in linkResources()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DEmulateMultiDrawShaderBuiltins.cpp121 uniform.mappedName = kEmulatedGLDrawIDName.data(); in EmulateGLDrawID()
158 uniform.mappedName = kEmulatedGLBaseVertexName.data(); in EmulateGLBaseVertex()
195 uniform.mappedName = kEmulatedGLBaseInstanceName.data(); in EmulateGLBaseInstance()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DEmulateMultiDrawShaderBuiltins.cpp141 uniform.mappedName = kEmulatedGLDrawIDName.data(); in EmulateGLDrawID()
201 uniformBaseVertex.mappedName = kEmulatedGLBaseVertexName.data(); in EmulateGLBaseVertexBaseInstance()
236 uniformBaseInstance.mappedName = kEmulatedGLBaseInstanceName.data(); in EmulateGLBaseVertexBaseInstance()
/third_party/skia/third_party/externals/angle2/include/GLSLANG/
DShaderVars.h185 std::string mappedName; member
281 std::string mappedName; member
/third_party/flutter/skia/third_party/externals/angle2/include/GLSLANG/
DShaderVars.h123 std::string mappedName; member
284 std::string mappedName; member

123