Lines Matching refs:tessLevel
562 static inline float getClampedTessLevel (SpacingMode mode, float tessLevel)
566 case SPACINGMODE_EQUAL: return de::max(1.0f, tessLevel);
567 case SPACINGMODE_FRACTIONAL_ODD: return de::max(1.0f, tessLevel);
568 case SPACINGMODE_FRACTIONAL_EVEN: return de::max(2.0f, tessLevel);
592 static int getClampedRoundedTessLevel (SpacingMode mode, float tessLevel)
594 return getRoundedTessLevel(mode, getClampedTessLevel(mode, tessLevel));
1209 * with outer levels { 1.0, tessLevel }) with a given fractional spacing
1225 static bool verifyFractionalSpacingSingle (TestLog& log, SpacingMode spacingMode, float tessLevel, const vector<float>& coords, float& additionalSegmentLengthDst, int& additionalSegmentLocationDst)
1231 const float clampedLevel = getClampedTessLevel(spacingMode, tessLevel);
1234 string failNote = "Note: tessellation level is " + de::toString(tessLevel) + "\nNote: sorted coordinates are:\n " + containerStr(sortedCoords);
1363 float tessLevel;
1366 LineData (float lev, float len, int loc) : tessLevel(lev), additionalSegmentLength(len), additionalSegmentLocation(loc) {}
1392 const vector<LineData> lineDatasSortedByLevel = sorted(lineDatas, memberPred<std::less>(&LineData::tessLevel));
1404 if (getClampedTessLevel(spacingMode, curData.tessLevel) == getClampedTessLevel(spacingMode, prevData.tessLevel) &&
1408 << TestLog::Message << "Note: tessellation levels are " << curData.tessLevel << " and " << prevData.tessLevel
1409 << " (clamped level " << getClampedTessLevel(spacingMode, curData.tessLevel) << ")"
1426 tessLevel);
1427 const float prevClampedLevel = getClampedTessLevel(spacingMode, prevData.tessLevel);
1442 << TestLog::Message << "Note: two edges have tessellation levels " << prevData.tessLevel << " and " << curData.tessLevel << " respectively"