Home
last modified time | relevance | path

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

12

/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/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()
DResourcesHLSL.cpp225 if (uniform->name == "angle_DrawID" && uniform->mappedName == "angle_DrawID") in assignUniformRegister()
234 if (uniform->name == "angle_BaseVertex" && uniform->mappedName == "angle_BaseVertex") in assignUniformRegister()
243 if (uniform->name == "angle_BaseInstance" && uniform->mappedName == "angle_BaseInstance") in assignUniformRegister()
DCompiler.cpp1171 uniform.mappedName == "angle_DrawID") in compile()
1176 uniform.mappedName == "angle_BaseVertex") in compile()
1182 uniform.mappedName == "angle_BaseInstance") in compile()
DOutputHLSL.cpp580 TString mappedName("map"); in generateStructMapping() local
592 mappedName += instanceString; in generateStructMapping()
594 mappedName += "_"; in generateStructMapping()
599 mappedName += fieldName; in generateStructMapping()
603 "static " + Decorate(structType->getStruct()->name()) + " " + mappedName; in generateStructMapping()
/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()
DVaryingPacking.cpp580 frontVarying.parentStructMappedName = input->mappedName; in collectUserVaryingField()
594 backVarying.parentStructMappedName = output->mappedName; in collectUserVaryingField()
652 frontVarying.parentStructMappedName = input->mappedName; in collectUserVaryingFieldTF()
896 mInactiveVaryingMappedNames[ref.backShaderStage].push_back(output->mappedName); in collectAndPackUserVaryings()
915 mInactiveVaryingMappedNames[ref.frontShaderStage].push_back(input->mappedName); in collectAndPackUserVaryings()
925 mInactiveVaryingMappedNames[ref.backShaderStage].push_back(output->mappedName); in collectAndPackUserVaryings()
DUniform.h129 std::string mappedName; member
DVaryingPacking_unittest.cpp81 varying.mappedName = strstr.str(); in MakeVaryings()
DProgramLinkedResources.h98 bool(const std::string &name, const std::string &mappedName, sh::BlockMemberInfo *infoOut)>;
/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/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()
DEmulateGLFragColorBroadcast.cpp132 var.mappedName = "gl_FragData"; in EmulateGLFragColorBroadcast()
/third_party/skia/third_party/externals/angle2/include/GLSLANG/
DShaderVars.h185 std::string mappedName; member
281 std::string mappedName; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_glslang_mtl_utils.mm134 const std::string mappedName =
136 auto original = originalBindings.find(mappedName);
140 originalBindings.at(mappedName);
395 : MSLGetMappedSamplerName(samplerUniform.mappedName);
Dmtl_glslang_utils.mm450 if (!uboOriginalBindings.count(block.mappedName))
452 uboOriginalBindings[block.mappedName] = bufferIdx;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp544 const std::string blockName = block.mappedName; in addInterfaceBlockDescriptorSetDesc()
656 std::string baseMappedName = baseInputAttachment.mappedName; in addInputAttachmentDescriptorSetDesc()
1158 mergedVarying.frontShaderStage, mergedVarying.frontShader->mappedName); in resolvePrecisionMismatch()
1167 mergedVarying.backShaderStage, mergedVarying.backShader->mappedName); in resolvePrecisionMismatch()
1274 mVariableInfoMap.get(shaderType, block.mappedName); in updateBuffersDescriptorSet()
1614 std::string baseMappedName = baseInputAttachment.mappedName; in updateInputAttachmentDescriptorSet()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dglslang_wrapper_utils.cpp156 const std::string &name = isStructField ? ref.parentStructMappedName : ref.varying->mappedName; in AddVaryingLocationInfo()
288 AddLocationInfo(variableInfoMapOut, shaderType, attribute.mappedName, attribute.location, in AssignAttributeLocations()
314 AddLocationInfo(variableInfoMapOut, gl::ShaderType::Fragment, outputVar.mappedName, in AssignSecondaryOutputLocations()
382 AddLocationInfo(variableInfoMapOut, shaderType, outputVar.mappedName, location, in AssignOutputLocations()
647 const std::string &mappedName = in AssignTransformFeedbackQualifiers() local
650 : originalVarying->frontVarying.varying->mappedName; in AssignTransformFeedbackQualifiers()
659 SetXfbInfo(variableInfoMapOut, shaderType, mappedName, fieldIndex, bufferIndex, in AssignTransformFeedbackQualifiers()
753 mappedInputAttachmentName = inputAttachmentUniform.mappedName; in AssignInputAttachmentBindings()
792 AddAndUpdateResourceMaps(shaderType, block.mappedName, in AssignInterfaceBlockBindings()
837 std::string name = imageUniform.mappedName; in AssignImageBindings()
[all …]

12