/external/deqp/modules/gles3/functional/ |
D | es3fShaderStructTests.cpp | 1129 if (deFloatFloor(c.coords[0]) == deFloatFloor(c.coords[0]+0.5f)) in init() 1131 if (deFloatFloor(c.coords[1]) == deFloatFloor(c.coords[1]+0.5f)) in init() 1160 if (deFloatFloor(c.coords[0]) != deFloatFloor(c.coords[0]+0.5f)) in init() 1162 if (deFloatFloor(c.coords[1]) != deFloatFloor(c.coords[1]+0.5f)) in init() 1196 if (deFloatFloor(c.coords[0]) == deFloatFloor(c.coords[0]+0.5f)) in init() 1198 if (deFloatFloor(c.coords[1]) == deFloatFloor(c.coords[1]+0.5f)) in init() 1231 if (deFloatFloor(c.coords[0]) != deFloatFloor(c.coords[0]+0.5f)) in init() 1233 if (deFloatFloor(c.coords[1]) != deFloatFloor(c.coords[1]+0.5f)) in init() 2021 if (deFloatFloor(c.coords[1]+1.0f) == deFloatFloor(1.1f)) in init() 2063 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()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStructTests.cpp | 1158 if (deFloatFloor(c.coords[0]) == deFloatFloor(c.coords[0]+0.5f)) in init() 1160 if (deFloatFloor(c.coords[1]) == deFloatFloor(c.coords[1]+0.5f)) in init() 1189 if (deFloatFloor(c.coords[0]) != deFloatFloor(c.coords[0]+0.5f)) in init() 1191 if (deFloatFloor(c.coords[1]) != deFloatFloor(c.coords[1]+0.5f)) in init() 1225 if (deFloatFloor(c.coords[0]) == deFloatFloor(c.coords[0]+0.5f)) in init() 1227 if (deFloatFloor(c.coords[1]) == deFloatFloor(c.coords[1]+0.5f)) in init() 1260 if (deFloatFloor(c.coords[0]) != deFloatFloor(c.coords[0]+0.5f)) in init() 1262 if (deFloatFloor(c.coords[1]) != deFloatFloor(c.coords[1]+0.5f)) in init() 2069 if (deFloatFloor(c.coords[1]+1.0f) == deFloatFloor(1.1f)) in init() 2111 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()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderStructTests.cpp | 1107 if (deFloatFloor(c.coords[0]) == deFloatFloor(c.coords[0] + 0.5f)) in init() 1109 if (deFloatFloor(c.coords[1]) == deFloatFloor(c.coords[1] + 0.5f)) in init() 1142 if (deFloatFloor(c.coords[0]) != deFloatFloor(c.coords[0] + 0.5f)) in init() 1144 if (deFloatFloor(c.coords[1]) != deFloatFloor(c.coords[1] + 0.5f)) in init() 1182 if (deFloatFloor(c.coords[0]) == deFloatFloor(c.coords[0] + 0.5f)) in init() 1184 if (deFloatFloor(c.coords[1]) == deFloatFloor(c.coords[1] + 0.5f)) in init() 1221 if (deFloatFloor(c.coords[0]) != deFloatFloor(c.coords[0] + 0.5f)) in init() 1223 if (deFloatFloor(c.coords[1]) != deFloatFloor(c.coords[1] + 0.5f)) in init() 2026 if (deFloatFloor(c.coords[1] + 1.0f) == deFloatFloor(1.1f)) in init() 2086 if (deFloatFloor(c.coords[1] + 1.0f) != deFloatFloor(1.1f)) in init()
|
D | vktShaderRenderSwitchTests.cpp | 96 switch (int(deFloatFloor(evalCtx.coords.z()*1.5f + 2.0f))) in evalSwitchDynamic()
|
/external/deqp/framework/delibs/debase/ |
D | deMath.h | 88 DE_INLINE float deFloatFloor (float a) { return (float)floor(a); } in deFloatFloor() function 90 DE_INLINE float deFloatRound (float a) { return deFloatFloor(a + 0.5f); } in deFloatRound() 91 DE_INLINE float deFloatFrac (float a) { return a - deFloatFloor(a); } in deFloatFrac() 95 DE_INLINE float deFloatTrunc (float a) { return deFloatSign(a) * deFloatFloor(deFloatAbs(a));… in deFloatTrunc() 213 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); } in deFloorFloatToInt32()
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 1415 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1416 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1434 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid() 1480 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1481 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1499 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid() 1791 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1792 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid() 1816 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid() 1846 const int minL = (int)deFloatFloor(layerCoord - err + 0.5f); // Round down in computeLayerRange() [all …]
|
D | tcuTexCompareVerifier.cpp | 837 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 838 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 856 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid() 1120 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1121 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1139 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid() 1194 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1195 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid() 1213 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid()
|
D | tcuVectorUtil.hpp | 59 template<> inline float mod (float x, float y) { return x - y * deFloatFloor(x / y); } in mod() 68 inline float fract (float f) { return f - deFloatFloor(f); } in fract() 451 TCU_DECLARE_VECTOR_UNARY_FUNC(floor, deFloatFloor)
|
D | tcuRasterizationVerifier.cpp | 197 …aabb.x() = (int)deFloatFloor(de::min(de::min(screenSpace[0].x(), screenSpace[1].x()), screenSpace[… in getTriangleAABB() 198 …aabb.y() = (int)deFloatFloor(de::min(de::min(screenSpace[0].y(), screenSpace[1].y()), screenSpace[… in getTriangleAABB() 796 const tcu::IVec3 colorMin ((int)deFloatFloor(colorMinF.x()), in verifyTriangleGroupInterpolationWithInterpolator() 797 (int)deFloatFloor(colorMinF.y()), in verifyTriangleGroupInterpolationWithInterpolator() 798 (int)deFloatFloor(colorMinF.z())); in verifyTriangleGroupInterpolationWithInterpolator() 1625 const tcu::IVec3 colorMin ((int)deFloatFloor(colorMinF.x()), in verifyLineGroupPixelIndependentInterpolation() 1626 (int)deFloatFloor(colorMinF.y()), in verifyLineGroupPixelIndependentInterpolation() 1627 (int)deFloatFloor(colorMinF.z())); in verifyLineGroupPixelIndependentInterpolation() 1979 const tcu::IVec3 colorMin ((int)deFloatFloor(colorMinF.x()), in verifySinglesampleWideLineGroupInterpolation() 1980 (int)deFloatFloor(colorMinF.y()), in verifySinglesampleWideLineGroupInterpolation() [all …]
|
D | tcuTexture.cpp | 1643 return (float)size * (c - deFloatFloor(c)); in unnormalize() 2201 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray1DOffset() 2241 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray2DOffset() 2281 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray3DOffset() 2321 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray1DCompare() 2361 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray2DCompare() 2707 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArrayCubeSeamless() 2877 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArrayCubeSeamlessCompare() 2969 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleCubeArraySeamless() 3051 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleCubeArraySeamlessCompare()
|
/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()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmLoopDepInfTests.cpp | 155 inputFloats[ndx] = deFloatFloor(rnd.getFloat(1.0f, 100.0f)); in getComputeShaderSpec()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderSwitchTests.cpp | 78 switch (int(deFloatFloor(evalCtx.coords.z() * 1.5f + 2.0f))) in evalSwitchDynamic()
|
D | glcShaderConstExprTests.cpp | 370 …{ "floor", "floor(${T} (37.3))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatFloor(… in init() 408 …{ "floor", "floor(${T} (3.3))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_INT, { deFloatFloor(3.3f… in init()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderCommonFunctionTests.cpp | 1205 const float ref = deFloatFloor(in0); in compare() 1226 const int minRes = int(deFloatFloor(in0-eps)); in compare() 1227 const int maxRes = int(deFloatFloor(in0+eps)); in compare() 1427 const float ref0 = deFloatFloor(in0); in compare() 1678 if (int(deFloatFloor(in0-eps)) == int(deFloatFloor(in0+eps))) in compare()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 1411 const float ref = deFloatFloor(in0); in compare() 1432 const int minRes = int(deFloatFloor(in0-eps)); in compare() 1433 const int maxRes = int(deFloatFloor(in0+eps)); in compare() 1661 const float ref0 = deFloatFloor(in0); in compare() 1940 if (int(deFloatFloor(in0-eps)) == int(deFloatFloor(in0+eps))) in compare()
|
/external/deqp/modules/glshared/ |
D | glsCalibration.cpp | 109 const int lowerNdx = (int)deFloatFloor(floatNdx); in linearSample()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cShaderBitfieldOperationTests.cpp | 428 GLuint expected = ((int(deFloatFloor(data->inVec4[0] * 127.0f + 0.5f)) & 0xFF) << 0) | in test() 429 ((int(deFloatFloor(data->inVec4[1] * 127.0f + 0.5f)) & 0xFF) << 8) | in test() 430 ((int(deFloatFloor(data->inVec4[2] * 127.0f + 0.5f)) & 0xFF) << 16) | in test() 431 ((int(deFloatFloor(data->inVec4[3] * 127.0f + 0.5f)) & 0xFF) << 24); in test()
|