Searched refs:tfVaryingName (Results 1 – 7 of 7) sorted by relevance
626 std::string Shader::getTransformFeedbackVaryingMappedName(const std::string &tfVaryingName) in getTransformFeedbackVaryingMappedName() argument632 auto bracketPos = tfVaryingName.find("["); in getTransformFeedbackVaryingMappedName()635 auto tfVaryingBaseName = tfVaryingName.substr(0, bracketPos); in getTransformFeedbackVaryingMappedName()641 varying.mappedName + tfVaryingName.substr(bracketPos); in getTransformFeedbackVaryingMappedName()650 if (varying.name == tfVaryingName) in getTransformFeedbackVaryingMappedName()657 const auto *field = FindShaderVarField(varying, tfVaryingName, &fieldIndex); in getTransformFeedbackVaryingMappedName()
153 std::string tfVaryingName() const in tfVaryingName() function
4184 for (const std::string &tfVaryingName : mState.mTransformFeedbackVaryingNames) in linkValidateTransformFeedback() local4186 if (version < Version(3, 1) && tfVaryingName.find('[') != std::string::npos) in linkValidateTransformFeedback()4193 if (IncludeSameArrayElement(uniqueNames, tfVaryingName)) in linkValidateTransformFeedback()4196 << tfVaryingName << ")."; in linkValidateTransformFeedback()4202 if (uniqueNames.count(tfVaryingName) > 0) in linkValidateTransformFeedback()4205 << tfVaryingName << ")."; in linkValidateTransformFeedback()4209 uniqueNames.insert(tfVaryingName); in linkValidateTransformFeedback()4214 for (const std::string &tfVaryingName : mState.mTransformFeedbackVaryingNames) in linkValidateTransformFeedback() local4217 std::string baseName = ParseResourceName(tfVaryingName, &subscripts); in linkValidateTransformFeedback()4222 infoLog << "Transform feedback varying " << tfVaryingName in linkValidateTransformFeedback()[all …]
188 std::string getTransformFeedbackVaryingMappedName(const std::string &tfVaryingName);
432 const std::string &tfVaryingName = tfVarying.mappedName; in GenerateTransformFeedbackExtensionOutputs() local446 std::string xfbVaryingName = kXfbBuiltInPrefix + tfVaryingName; in GenerateTransformFeedbackExtensionOutputs()452 xfbOut += xfbVaryingName + " = " + tfVaryingName + ";\n"; in GenerateTransformFeedbackExtensionOutputs()649 const std::string &tfVaryingName = tfVarying.mappedName; in AssignTransformFeedbackExtensionQualifiers() local654 std::string xfbVaryingName = kXfbBuiltInPrefix + tfVaryingName; in AssignTransformFeedbackExtensionQualifiers()
1407 std::string tfVaryingName = es2::ParseUniformName(indexedTfVaryingName, nullptr); in linkVaryings() local1409 if(tfVaryingName == output.name) in linkVaryings()1447 std::string tfVaryingName = es2::ParseUniformName(indexedTfVaryingName, &subscript); in linkTransformFeedback() local1450 if(tfVaryingName.find('[') != std::string::npos) in linkTransformFeedback()1459 if(tfVaryingName == varying.name) in linkTransformFeedback()1495 if(tfVaryingName == "gl_PointSize") in linkTransformFeedback()1509 …foLog("Transform feedback varying %s does not exist in the vertex shader.", tfVaryingName.c_str()); in linkTransformFeedback()
3138 const auto &tfVaryingName = tfVaryingNames[outputSlot]; in gatherTransformFeedbackVaryings() local3139 if (tfVaryingName == "gl_Position") in gatherTransformFeedbackVaryings()3147 else if (tfVaryingName == "gl_FragCoord") in gatherTransformFeedbackVaryings()3155 else if (tfVaryingName == "gl_PointSize") in gatherTransformFeedbackVaryings()3175 if (registerInfo.tfVaryingName() == tfVaryingName) in gatherTransformFeedbackVaryings()