Lines Matching refs:getClampedRoundedTessLevel
592 static int getClampedRoundedTessLevel (SpacingMode mode, float tessLevel)
817 innerDst[0] = getClampedRoundedTessLevel(spacingMode, innerSrc[0]);
819 outerDst[i] = getClampedRoundedTessLevel(spacingMode, outerSrc[i]);
825 innerDst[i] = getClampedRoundedTessLevel(spacingMode, innerSrc[i]);
827 outerDst[i] = getClampedRoundedTessLevel(spacingMode, outerSrc[i]);
832 outerDst[0] = getClampedRoundedTessLevel(SPACINGMODE_EQUAL, outerSrc[0]);
833 outerDst[1] = getClampedRoundedTessLevel(spacingMode, outerSrc[1]);
1977 for (int j = 0; j < 2; j++) inner[j] = (float)getClampedRoundedTessLevel(m_spacing, inner[j]);
1978 for (int j = 0; j < 4; j++) outer[j] = (float)getClampedRoundedTessLevel(m_spacing, outer[j]);
1985 inner[0] = (float)getClampedRoundedTessLevel(m_spacing, inner[0] + 0.1f);
1992 if (inner[0] == 1.0f) inner[0] = (float)getClampedRoundedTessLevel(m_spacing, inner[0] + 0.1f);
1993 if (inner[1] == 1.0f) inner[1] = (float)getClampedRoundedTessLevel(m_spacing, inner[1] + 0.1f);
2207 const int maxNumVertices = 1 + getClampedRoundedTessLevel(m_spacing, *std::max_element(tessLevelCases.begin(), tessLevelCases.end()));
2370 innerLevels[i] = (float)getClampedRoundedTessLevel(m_spacing, tessLevelCases[tessLevelCaseNdx].inner[i]);
2373 outerLevels[i] = (float)getClampedRoundedTessLevel(m_spacing, tessLevelCases[tessLevelCaseNdx].outer[i]);
4061 const int refNumVerticesOnOuterEdge = 1 + getClampedRoundedTessLevel(m_spacing, singleOuterEdgeLevels[outerEdgeLevelCaseNdx]);