Lines Matching refs:glslCode
660 std::ostringstream glslCode; in getGlslVertexCheck() local
663 glslCode << " int okCount = 0;\n"; in getGlslVertexCheck()
669 glslCode << " for (int checkNdx = 0; checkNdx < numAttributes; checkNdx++)\n" in getGlslVertexCheck()
673 glslCode << getGlslAttributeConditions(attributeInfo, "checkNdx") in getGlslVertexCheck()
679 glslCode << in getGlslVertexCheck()
712 …glslCode << getGlslAttributeConditions(m_attributeInfos[attributeNdx], de::toString(attributeNdx)); in getGlslVertexCheck()
718 glslCode << in getGlslVertexCheck()
747 return glslCode.str(); in getGlslVertexCheck()
752 std::ostringstream glslCode; in getGlslAttributeConditions() local
775 glslCode << std::fixed; in getGlslAttributeConditions()
814 …glslCode << indentStr << "if (" << accessStr << " == clamp(-(" << totalComponentCount << " * " << … in getGlslAttributeConditions()
817 …glslCode << indentStr << "if (" << accessStr << " == -(" << totalComponentCount << " * " << indexI… in getGlslAttributeConditions()
825 …glslCode << indentStr << "if (" << accessStr << " == clamp(uint(" << totalComponentCount << " * " … in getGlslAttributeConditions()
828 …glslCode << indentStr << "if (" << accessStr << " == uint(" << totalComponentCount << " * " << ind… in getGlslAttributeConditions()
834 …glslCode << indentStr << "if (abs(" << accessStr << " + double(0.01 * (" << totalComponentCount <<… in getGlslAttributeConditions()
838 …glslCode << indentStr << "if (abs(" << accessStr << " + (0.01 * (" << totalComponentCount << ".0 *… in getGlslAttributeConditions()
848 …glslCode << indentStr << "if (abs(" << accessStr << " + clamp(" << totalComponentCount << ".0 * fl… in getGlslAttributeConditions()
851 …glslCode << indentStr << "if (abs(" << accessStr << " + (" << totalComponentCount << ".0 * float("… in getGlslAttributeConditions()
859 …glslCode << indentStr << "if (abs(" << accessStr << " - clamp(" << totalComponentCount << ".0 * fl… in getGlslAttributeConditions()
862 …glslCode << indentStr << "if (abs(" << accessStr << " - (" << totalComponentCount << ".0 * float("… in getGlslAttributeConditions()
869 …glslCode << indentStr << "if (abs(" << accessStr << " - clamp((-1.0 + " << representableDiff << " … in getGlslAttributeConditions()
871 …glslCode << indentStr << "if (abs(" << accessStr << " - (-1.0 + " << representableDiff << " * (" <… in getGlslAttributeConditions()
878 …glslCode << indentStr << "if (abs(" << accessStr << " - " << "clamp((" << representableDiff << " *… in getGlslAttributeConditions()
880 …glslCode << indentStr << "if (abs(" << accessStr << " - " << "(" << representableDiff << " * (" <<… in getGlslAttributeConditions()
887 glslCode << indentStr << "\tokCount++;\n\n"; in getGlslAttributeConditions()
892 return glslCode.str(); in getGlslAttributeConditions()