Home
last modified time | relevance | path

Searched refs:targetFraction (Results 1 – 2 of 2) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp85 static inline float moveTowardsFraction (float x, float targetFraction) in moveTowardsFraction() argument
89 DE_ASSERT(de::inBounds(targetFraction, 0.0f, 1.0f)); in moveTowardsFraction()
90 const float y = x + 0.5f - targetFraction; in moveTowardsFraction()
91 …eturn deFloatFloor(y) + deFloatFrac(y)*(1.0f-strictness) + strictness*0.5f - 0.5f + targetFraction; in moveTowardsFraction()
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp102 static inline float moveTowardsFraction (float x, float targetFraction) in moveTowardsFraction() argument
106 DE_ASSERT(de::inBounds(targetFraction, 0.0f, 1.0f)); in moveTowardsFraction()
107 const float y = x + 0.5f - targetFraction; in moveTowardsFraction()
108 …eturn deFloatFloor(y) + deFloatFrac(y)*(1.0f-strictness) + strictness*0.5f - 0.5f + targetFraction; in moveTowardsFraction()