• Home
  • History
  • Annotate
  • Raw
  • Download

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()
712glslCode << 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()
814glslCode << indentStr << "if (" << accessStr << " == clamp(-(" << totalComponentCount << " * " << … in getGlslAttributeConditions()
817glslCode << indentStr << "if (" << accessStr << " == -(" << totalComponentCount << " * " << indexI… in getGlslAttributeConditions()
825glslCode << indentStr << "if (" << accessStr << " == clamp(uint(" << totalComponentCount << " * " … in getGlslAttributeConditions()
828glslCode << indentStr << "if (" << accessStr << " == uint(" << totalComponentCount << " * " << ind… in getGlslAttributeConditions()
834glslCode << indentStr << "if (abs(" << accessStr << " + double(0.01 * (" << totalComponentCount <<… in getGlslAttributeConditions()
838glslCode << indentStr << "if (abs(" << accessStr << " + (0.01 * (" << totalComponentCount << ".0 *… in getGlslAttributeConditions()
848glslCode << indentStr << "if (abs(" << accessStr << " + clamp(" << totalComponentCount << ".0 * fl… in getGlslAttributeConditions()
851glslCode << indentStr << "if (abs(" << accessStr << " + (" << totalComponentCount << ".0 * float("… in getGlslAttributeConditions()
859glslCode << indentStr << "if (abs(" << accessStr << " - clamp(" << totalComponentCount << ".0 * fl… in getGlslAttributeConditions()
862glslCode << indentStr << "if (abs(" << accessStr << " - (" << totalComponentCount << ".0 * float("… in getGlslAttributeConditions()
869glslCode << indentStr << "if (abs(" << accessStr << " - clamp((-1.0 + " << representableDiff << " … in getGlslAttributeConditions()
871glslCode << indentStr << "if (abs(" << accessStr << " - (-1.0 + " << representableDiff << " * (" <… in getGlslAttributeConditions()
878glslCode << indentStr << "if (abs(" << accessStr << " - " << "clamp((" << representableDiff << " *… in getGlslAttributeConditions()
880glslCode << indentStr << "if (abs(" << accessStr << " - " << "(" << representableDiff << " * (" <<… in getGlslAttributeConditions()
887 glslCode << indentStr << "\tokCount++;\n\n"; in getGlslAttributeConditions()
892 return glslCode.str(); in getGlslAttributeConditions()