Searched refs:higherNdx (Results 1 – 2 of 2) sorted by relevance
110 …const int higherNdx = lowerNdx + (lowerNdx == maxNdx ? 0 : 1); // Use only last element if posit… in linearSample() local114 DE_ASSERT(higherNdx >= 0 && higherNdx < (int)values.size()); in linearSample()117 return tcu::mix((float)values[lowerNdx], (float)values[higherNdx], interpolationFactor); in linearSample()
657 const int higherNdx = lowerNdx + 1; in linearSample() local661 DE_ASSERT(higherNdx >= 0 && higherNdx < (int)values.size()); in linearSample()664 return tcu::mix((float)values[lowerNdx], (float)values[higherNdx], interpolationFactor); in linearSample()