HomeSort by relevance Sort by last modified time
    Searched refs:lowerNdx (Results 1 - 2 of 2) sorted by null

  /external/deqp/modules/glshared/
glsCalibration.cpp 109 const int lowerNdx = (int)deFloatFloor(floatNdx);
110 const int higherNdx = lowerNdx + (lowerNdx == maxNdx ? 0 : 1); // Use only last element if position is 1.0
111 const float interpolationFactor = floatNdx - (float)lowerNdx;
113 DE_ASSERT(lowerNdx >= 0 && lowerNdx < (int)values.size());
117 return tcu::mix((float)values[lowerNdx], (float)values[higherNdx], interpolationFactor);
  /external/deqp/modules/gles3/performance/
es3pBufferDataUploadTests.cpp 675 const int lowerNdx = (int)deFloatFloor(floatNdx);
676 const int higherNdx = lowerNdx + 1;
677 const float interpolationFactor = floatNdx - (float)lowerNdx;
679 DE_ASSERT(lowerNdx >= 0 && lowerNdx < (int)values.size());
683 return tcu::mix((float)values[lowerNdx], (float)values[higherNdx], interpolationFactor);
    [all...]

Completed in 512 milliseconds