/external/deqp/modules/gles3/functional/ |
D | es3fShaderStructTests.cpp | 1015 if (deFloatFloor(c.coords[0]) == deFloatFloor(c.coords[0]+0.5f)) in init() 1017 if (deFloatFloor(c.coords[1]) == deFloatFloor(c.coords[1]+0.5f)) in init() 1046 if (deFloatFloor(c.coords[0]) != deFloatFloor(c.coords[0]+0.5f)) in init() 1048 if (deFloatFloor(c.coords[1]) != deFloatFloor(c.coords[1]+0.5f)) in init() 1082 if (deFloatFloor(c.coords[0]) == deFloatFloor(c.coords[0]+0.5f)) in init() 1084 if (deFloatFloor(c.coords[1]) == deFloatFloor(c.coords[1]+0.5f)) in init() 1117 if (deFloatFloor(c.coords[0]) != deFloatFloor(c.coords[0]+0.5f)) in init() 1119 if (deFloatFloor(c.coords[1]) != deFloatFloor(c.coords[1]+0.5f)) in init() 1872 if (deFloatFloor(c.coords[1]+1.0f) == deFloatFloor(1.1f)) in init() 1914 if (deFloatFloor(c.coords[1]+1.0f) != deFloatFloor(1.1f)) in init()
|
D | es3fShaderSwitchTests.cpp | 79 switch (int(deFloatFloor(evalCtx.coords.z()*1.5f + 2.0f))) in evalSwitchDynamic()
|
D | es3fShaderCommonFunctionTests.cpp | 1122 const float ref = deFloatFloor(in0); in compare() 1143 const int minRes = int(deFloatFloor(in0-eps)); in compare() 1144 const int maxRes = int(deFloatFloor(in0+eps)); in compare() 1344 const float ref0 = deFloatFloor(in0); in compare() 1595 if (int(deFloatFloor(in0-eps)) == int(deFloatFloor(in0+eps))) in compare()
|
D | es3fShaderConstExprTests.cpp | 117 …{"floor", "floor(${T} (37.3))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatFloor(37.… in init()
|
D | es3fFragDepthTests.cpp | 409 int step = (int)deFloatFloor(d / depthStep); in iterate()
|
D | es3fDepthStencilClearTests.cpp | 441 float step = deFloatFloor(depth * (float)DEPTH_STEPS) / (float)(DEPTH_STEPS-1); in renderReference()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStructTests.cpp | 1041 if (deFloatFloor(c.coords[0]) == deFloatFloor(c.coords[0]+0.5f)) in init() 1043 if (deFloatFloor(c.coords[1]) == deFloatFloor(c.coords[1]+0.5f)) in init() 1072 if (deFloatFloor(c.coords[0]) != deFloatFloor(c.coords[0]+0.5f)) in init() 1074 if (deFloatFloor(c.coords[1]) != deFloatFloor(c.coords[1]+0.5f)) in init() 1108 if (deFloatFloor(c.coords[0]) == deFloatFloor(c.coords[0]+0.5f)) in init() 1110 if (deFloatFloor(c.coords[1]) == deFloatFloor(c.coords[1]+0.5f)) in init() 1143 if (deFloatFloor(c.coords[0]) != deFloatFloor(c.coords[0]+0.5f)) in init() 1145 if (deFloatFloor(c.coords[1]) != deFloatFloor(c.coords[1]+0.5f)) in init() 1898 if (deFloatFloor(c.coords[1]+1.0f) == deFloatFloor(1.1f)) in init() 1940 if (deFloatFloor(c.coords[1]+1.0f) != deFloatFloor(1.1f)) in init()
|
D | es2fShaderConstExprTests.cpp | 108 …{"floor", "floor(${T} (37.3))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatFloor(37.… in init()
|
D | es2fDepthRangeTests.cpp | 383 int step = (int)deFloatFloor(d / depthStep); in iterate()
|
D | es2fDepthStencilClearTests.cpp | 438 float step = deFloatFloor(depth * (float)DEPTH_STEPS) / (float)(DEPTH_STEPS-1); in renderReference()
|
D | es2fShaderBuiltinVarTests.cpp | 56 bool isOk = 0 == (int)(deFloatFloor(c.coords.x() * builtinConstScale) + 0.05f); in evalBuiltinConstant()
|
D | es2fVertexTextureTests.cpp | 88 …return deFloatFloor(y) + deFloatFrac(y)*(1.0f-strictness) + strictness*0.5f - 0.5f + targetFractio… in moveTowardsFraction()
|
/external/deqp/framework/delibs/debase/ |
D | deMath.h | 85 DE_INLINE float deFloatFloor (float a) { return (float)floor(a); } in deFloatFloor() function 87 DE_INLINE float deFloatRound (float a) { return deFloatFloor(a + 0.5f); } in deFloatRound() 88 DE_INLINE float deFloatFrac (float a) { return a - deFloatFloor(a); } in deFloatFrac() 92 DE_INLINE float deFloatTrunc (float a) { return deFloatSign(a) * deFloatFloor(deFloatAbs(a));… in deFloatTrunc() 194 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); } in deFloorFloatToInt32()
|
/external/deqp/framework/randomshaders/ |
D | rsgUtils.hpp | 69 float newMax = deFloatFloor(max*subdiv)/subdiv; in quantizeFloatRange()
|
D | rsgProgramExecutor.cpp | 191 int x0 = (int)deFloatFloor((float)x / cellWidth); in computeVertexIndices() 192 int y0 = (int)deFloatFloor((float)y / cellHeight); in computeVertexIndices()
|
D | rsgExpression.cpp | 536 return (int)deFloatFloor(src); in convert() 559 dstMax = (int)deFloatFloor(srcMax); in convertValueRange()
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 1285 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1286 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1304 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid() 1350 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1351 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1369 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid() 1643 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1644 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1668 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid() 1698 const int minL = (int)deFloatFloor(layerCoord - err + 0.5f); // Round down in computeLayerRange() [all …]
|
D | tcuTexCompareVerifier.cpp | 814 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 815 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 833 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid() 1097 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1098 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1116 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid() 1171 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1172 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1190 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid()
|
D | tcuTexture.cpp | 1150 return (float)size * (c - deFloatFloor(c)); in unnormalize() 1886 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray1D() 1926 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray1DOffset() 1966 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray2D() 2006 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray2DOffset() 2046 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray3D() 2086 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray3DOffset() 2126 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray1DCompare() 2166 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray2DCompare() 2503 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArrayCubeSeamless() [all …]
|
D | tcuVectorUtil.hpp | 69 inline float fract (float f) { return f - deFloatFloor(f); } in fract() 453 TCU_DECLARE_VECTOR_UNARY_FUNC(floor, deFloatFloor)
|
/external/deqp/modules/glshared/ |
D | glsStateQueryUtil.hpp | 47 return (T)(deFloatFloor(val + 0.5f)); in roundGLfloatToNearestIntegerHalfUp()
|
D | glsRasterizationTestUtil.cpp | 201 …aabb.x() = (int)deFloatFloor(de::min(de::min(screenSpace[0].x(), screenSpace[1].x()), screenSpace[… in getTriangleAABB() 202 …aabb.y() = (int)deFloatFloor(de::min(de::min(screenSpace[0].y(), screenSpace[1].y()), screenSpace[… in getTriangleAABB() 756 const tcu::IVec3 colorMin ((int)deFloatFloor(colorMinF.x()), in verifyTriangleGroupInterpolationWithInterpolator() 757 (int)deFloatFloor(colorMinF.y()), in verifyTriangleGroupInterpolationWithInterpolator() 758 (int)deFloatFloor(colorMinF.z())); in verifyTriangleGroupInterpolationWithInterpolator() 1487 const tcu::IVec3 colorMin ((int)deFloatFloor(colorMinF.x()), in verifySinglesampleLineGroupInterpolation() 1488 (int)deFloatFloor(colorMinF.y()), in verifySinglesampleLineGroupInterpolation() 1489 (int)deFloatFloor(colorMinF.z())); in verifySinglesampleLineGroupInterpolation()
|
D | glsCalibration.cpp | 109 const int lowerNdx = (int)deFloatFloor(floatNdx); in linearSample()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderMultisampleInterpolationStateQueryTests.cpp | 85 const glw::GLint refValue = (glw::GLint)deFloatFloor(minValue); in verifyGreaterOrEqual() 125 const glw::GLint64 refValue = (glw::GLint64)deFloatFloor(minValue); in verifyGreaterOrEqual()
|
D | es31fShaderCommonFunctionTests.cpp | 1158 const float ref = deFloatFloor(in0); in compare() 1179 const int minRes = int(deFloatFloor(in0-eps)); in compare() 1180 const int maxRes = int(deFloatFloor(in0+eps)); in compare() 1380 const float ref0 = deFloatFloor(in0); in compare() 1631 if (int(deFloatFloor(in0-eps)) == int(deFloatFloor(in0+eps))) in compare()
|