Home
last modified time | relevance | path

Searched refs:deFloatFloor (Results 1 – 25 of 37) sorted by relevance

12

/external/deqp/modules/gles3/functional/
Des3fShaderStructTests.cpp1015 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()
Des3fShaderSwitchTests.cpp79 switch (int(deFloatFloor(evalCtx.coords.z()*1.5f + 2.0f))) in evalSwitchDynamic()
Des3fShaderCommonFunctionTests.cpp1122 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()
Des3fShaderConstExprTests.cpp117 …{"floor", "floor(${T} (37.3))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatFloor(37.… in init()
Des3fFragDepthTests.cpp409 int step = (int)deFloatFloor(d / depthStep); in iterate()
Des3fDepthStencilClearTests.cpp441 float step = deFloatFloor(depth * (float)DEPTH_STEPS) / (float)(DEPTH_STEPS-1); in renderReference()
/external/deqp/modules/gles2/functional/
Des2fShaderStructTests.cpp1041 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()
Des2fShaderConstExprTests.cpp108 …{"floor", "floor(${T} (37.3))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatFloor(37.… in init()
Des2fDepthRangeTests.cpp383 int step = (int)deFloatFloor(d / depthStep); in iterate()
Des2fDepthStencilClearTests.cpp438 float step = deFloatFloor(depth * (float)DEPTH_STEPS) / (float)(DEPTH_STEPS-1); in renderReference()
Des2fShaderBuiltinVarTests.cpp56 bool isOk = 0 == (int)(deFloatFloor(c.coords.x() * builtinConstScale) + 0.05f); in evalBuiltinConstant()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderStructTests.cpp1107 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()
2024 if (deFloatFloor(c.coords[1] + 1.0f) == deFloatFloor(1.1f)) in init()
2084 if (deFloatFloor(c.coords[1] + 1.0f) != deFloatFloor(1.1f)) in init()
DvktShaderRenderSwitchTests.cpp96 switch (int(deFloatFloor(evalCtx.coords.z()*1.5f + 2.0f))) in evalSwitchDynamic()
/external/deqp/framework/delibs/debase/
DdeMath.h87 DE_INLINE float deFloatFloor (float a) { return (float)floor(a); } in deFloatFloor() function
89 DE_INLINE float deFloatRound (float a) { return deFloatFloor(a + 0.5f); } in deFloatRound()
90 DE_INLINE float deFloatFrac (float a) { return a - deFloatFloor(a); } in deFloatFrac()
94 DE_INLINE float deFloatTrunc (float a) { return deFloatSign(a) * deFloatFloor(deFloatAbs(a));… in deFloatTrunc()
212 DE_INLINE deInt32 deFloorFloatToInt32 (float x) { return (deInt32)(deFloatFloor(x)); } in deFloorFloatToInt32()
/external/deqp/framework/randomshaders/
DrsgUtils.hpp69 float newMax = deFloatFloor(max*subdiv)/subdiv; in quantizeFloatRange()
DrsgProgramExecutor.cpp191 int x0 = (int)deFloatFloor((float)x / cellWidth); in computeVertexIndices()
192 int y0 = (int)deFloatFloor((float)y / cellHeight); in computeVertexIndices()
/external/deqp/framework/common/
DtcuTexLookupVerifier.cpp1339 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1340 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1358 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1404 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1405 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1423 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1705 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1706 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1730 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1760 const int minL = (int)deFloatFloor(layerCoord - err + 0.5f); // Round down in computeLayerRange()
[all …]
DtcuTexCompareVerifier.cpp837 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()
DtcuVectorUtil.hpp59 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)
DtcuTexture.cpp1587 return (float)size * (c - deFloatFloor(c)); in unnormalize()
2145 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray1DOffset()
2185 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray2DOffset()
2225 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray3DOffset()
2265 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray1DCompare()
2305 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray2DCompare()
2651 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArrayCubeSeamless()
2821 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArrayCubeSeamlessCompare()
2913 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleCubeArraySeamless()
2995 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleCubeArraySeamlessCompare()
/external/deqp/modules/glshared/
DglsRasterizationTestUtil.cpp201 …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()
801 const tcu::IVec3 colorMin ((int)deFloatFloor(colorMinF.x()), in verifyTriangleGroupInterpolationWithInterpolator()
802 (int)deFloatFloor(colorMinF.y()), in verifyTriangleGroupInterpolationWithInterpolator()
803 (int)deFloatFloor(colorMinF.z())); in verifyTriangleGroupInterpolationWithInterpolator()
1571 const tcu::IVec3 colorMin ((int)deFloatFloor(colorMinF.x()), in verifyLineGroupPixelIndependentInterpolation()
1572 (int)deFloatFloor(colorMinF.y()), in verifyLineGroupPixelIndependentInterpolation()
1573 (int)deFloatFloor(colorMinF.z())); in verifyLineGroupPixelIndependentInterpolation()
1925 const tcu::IVec3 colorMin ((int)deFloatFloor(colorMinF.x()), in verifySinglesampleWideLineGroupInterpolation()
1926 (int)deFloatFloor(colorMinF.y()), in verifySinglesampleWideLineGroupInterpolation()
[all …]
DglsCalibration.cpp109 const int lowerNdx = (int)deFloatFloor(floatNdx); in linearSample()
DglsStateQueryUtil.hpp64 return (T)(deFloatFloor(val + 0.5f)); in roundGLfloatToNearestIntegerHalfUp()
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp1205 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/
DvktShaderCommonFunctionTests.cpp1430 const float ref = deFloatFloor(in0); in compare()
1451 const int minRes = int(deFloatFloor(in0-eps)); in compare()
1452 const int maxRes = int(deFloatFloor(in0+eps)); in compare()
1682 const float ref0 = deFloatFloor(in0); in compare()
1963 if (int(deFloatFloor(in0-eps)) == int(deFloatFloor(in0+eps))) in compare()

12