Home
last modified time | relevance | path

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

/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp82 static inline float moveTowardsFraction (float x, float targetFraction) in moveTowardsFraction() argument
86 DE_ASSERT(de::inBounds(targetFraction, 0.0f, 1.0f)); in moveTowardsFraction()
87 const float y = x + 0.5f - targetFraction; in moveTowardsFraction()
88 …eturn deFloatFloor(y) + deFloatFrac(y)*(1.0f-strictness) + strictness*0.5f - 0.5f + targetFraction; in moveTowardsFraction()
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp100 static inline float moveTowardsFraction (float x, float targetFraction) in moveTowardsFraction() argument
104 DE_ASSERT(de::inBounds(targetFraction, 0.0f, 1.0f)); in moveTowardsFraction()
105 const float y = x + 0.5f - targetFraction; in moveTowardsFraction()
106 …eturn deFloatFloor(y) + deFloatFrac(y)*(1.0f-strictness) + strictness*0.5f - 0.5f + targetFraction; in moveTowardsFraction()