Searched refs:interpolationFactor (Results 1 – 2 of 2) sorted by relevance
111 const float interpolationFactor = floatNdx - (float)lowerNdx; in linearSample() local115 DE_ASSERT(interpolationFactor >= 0 && interpolationFactor < 1.0f); in linearSample()117 return tcu::mix((float)values[lowerNdx], (float)values[higherNdx], interpolationFactor); in linearSample()
658 const float interpolationFactor = floatNdx - (float)lowerNdx; in linearSample() local662 DE_ASSERT(interpolationFactor >= 0 && interpolationFactor < 1.0f); in linearSample()664 return tcu::mix((float)values[lowerNdx], (float)values[higherNdx], interpolationFactor); in linearSample()