Home
last modified time | relevance | path

Searched refs:deFloatAbs (Results 1 – 25 of 31) sorted by relevance

12

/external/deqp/external/openglcts/modules/gles31/
Des31cShaderBitfieldOperationTests.cpp256 else if (deFloatAbs(data->outVec4[i]) < 0.5 || deFloatAbs(data->outVec4[i]) >= 1.0) in test()
262 if (deFloatAbs(result - data->inVec4[i]) > 0.0001f) in test()
331 if (deFloatAbs(expected - data->outVec4[i]) > 0.0001f) in test()
453 if (deFloatAbs(data->outVec4[0] - x) > 0.0001f) in test()
458 if (deFloatAbs(data->outVec4[1] - y) > 0.0001f) in test()
463 if (deFloatAbs(data->outVec4[2] - z) > 0.0001f) in test()
468 if (deFloatAbs(data->outVec4[3] - w) > 0.0001f) in test()
491 if (deFloatAbs(data->outVec4[0] - x) > 0.0001f) in test()
497 if (deFloatAbs(data->outVec4[1] - y) > 0.0001f) in test()
503 if (deFloatAbs(data->outVec4[2] - z) > 0.0001f) in test()
[all …]
/external/deqp/modules/egl/
DteglNativeCoordMappingTests.cpp259 …return deFloatAbs(a.x() - b.x()) < threshold && deFloatAbs(a.y() - b.y()) < threshold && deFloatA… in compareColor()
/external/deqp/framework/common/
DtcuCPUWarmup.cpp62 absoluteDeviations[i] = deFloatAbs((float)v[i] - median); in floatRelativeMedianAbsoluteDeviation()
DtcuVectorUtil.hpp41 inline float abs (float f) { return deFloatAbs(f); } in abs()
82 inline float length (float f) { return deFloatAbs(f); } in length()
83 inline float distance (float x, float y) { return deFloatAbs(x - y); } in distance()
DtcuTexLookupVerifier.cpp2208 const float mux = deFloatAbs(dudx); in computeLodBoundsFromDerivates()
2209 const float mvx = deFloatAbs(dvdx); in computeLodBoundsFromDerivates()
2210 const float mwx = deFloatAbs(dwdx); in computeLodBoundsFromDerivates()
2211 const float muy = deFloatAbs(dudy); in computeLodBoundsFromDerivates()
2212 const float mvy = deFloatAbs(dvdy); in computeLodBoundsFromDerivates()
2213 const float mwy = deFloatAbs(dwdy); in computeLodBoundsFromDerivates()
DtcuTexture.cpp1646 return (float)size * deFloatAbs(c - 2.0f * rint(0.5f * c)); in unnormalize()
2444 const float ax = deFloatAbs(x); in selectCubeFace()
2445 const float ay = deFloatAbs(y); in selectCubeFace()
2446 const float az = deFloatAbs(z); in selectCubeFace()
/external/deqp/external/openglcts/modules/gl/
Dgl4cES31CompatibilitySampleVariablesTests.cpp782 if (deFloatAbs(pixel.x() - samplePositions[sample].x()) > 0.01 || in iterate()
783 deFloatAbs(pixel.y() - samplePositions[sample].y()) > 0.01) in iterate()
825 …if (deFloatAbs(pixel.x() - 0.5f) > 0.01 || deFloatAbs(pixel.y() - 0.5f) > 0.01 || pixel.z() != 0.0… in iterate()
/external/deqp/external/openglcts/modules/common/
DglcSampleVariablesTests.cpp781 if (deFloatAbs(pixel.x() - samplePositions[sample].x()) > 0.01 || in iterate()
782 deFloatAbs(pixel.y() - samplePositions[sample].y()) > 0.01) in iterate()
824 …if (deFloatAbs(pixel.x() - 0.5f) > 0.01 || deFloatAbs(pixel.y() - 0.5f) > 0.01 || pixel.z() != 0.0… in iterate()
DglcBlendEquationAdvancedTests.cpp294 …tcu::Vec4 rgb(deFloatAbs(src[0] - dst[0]), deFloatAbs(src[1] - dst[1]), deFloatAbs(src[2] - dst[2]… in BlendDifference()
DglcPackedDepthStencilTests.cpp962 if (deFloatAbs(d - dref) > EPSILON) in verifyDepthStencilGradient()
1120 if (!((function == COLOR_CHECK_DEPTH) && (deFloatAbs(d - dref) < EPSILON))) in verifyColorGradient()
/external/deqp/framework/delibs/debase/
DdeMath.h74 DE_INLINE float deFloatAbs (float x) { return (x >= 0.0f) ? x : -x; } in deFloatAbs() function
95 DE_INLINE float deFloatTrunc (float a) { return deFloatSign(a) * deFloatFloor(deFloatAbs(a));… in deFloatTrunc()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryInstancedRenderingTests.cpp255 const Vec4 color (deFloatAbs(x), deFloatAbs(y), 0.2f + 0.8f * modifier, 1.0f); in generateReferenceImage()
/external/deqp/framework/opengl/
DgluTextureTestUtil.cpp188 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
222 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
223 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates()
262 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
263 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates()
264 float mw = de::max(deFloatAbs(dwdx), deFloatAbs(dwdy)); in computeLodFromDerivates()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessUtil.cpp84 return deFloatAbs(a - b) <= 0.001f; in areEqual()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp855 float error = deFloatAbs(depth - m_config.clearValue.depth); in verifyDepth()
869 float error = deFloatAbs(depth - expectedValue); in verifyDepth()
/external/deqp/modules/gles2/functional/
Des2fDitheringTests.cpp180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp1586 …const T minQuadSize = T::fromFloat(deFloatAbs(max.template to<float>() - min.template to<float>())… in createQuads()
1614 …if ((deFloatAbs(x2.template to<float>() + z.template to<float>()) < minDiff.template to<float>()) … in createQuads()
1615 (deFloatAbs(y2.template to<float>() + w.template to<float>()) < minDiff.template to<float>())) in createQuads()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp281 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
305 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
306 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates()
333 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
334 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates()
335 float mw = de::max(deFloatAbs(dwdx), deFloatAbs(dwdy)); in computeLodFromDerivates()
/external/deqp/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp812 …const bool xMajorAxis = deFloatAbs(vertices[vertexNdx1].x() - vertices[vertexNdx0].x()) >= deFl… in testWideLines()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleShaderBuiltInTests.cpp988 if (deFloatAbs(firstComponent - 0.5f) > 0.02f) in verifyImageData()
/external/deqp/framework/randomshaders/
DrsgBinaryOps.cpp102 dstComp.asFloat(compNdx) = deFloatAbs(srcComp.asFloat(compNdx)); in evaluate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp274 const bool result = deFloatAbs(depth - ref) <= threshold; in comparePixelToDepthClearValue()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp1107 if (deFloatAbs((f1 - f0) / f0) > 0.02) in compareFRem()
1211 if (!(tcu::Float32(f1).isNaN() && tcu::Float32(f0).isNaN()) && deFloatAbs(f1 - f0) > 0.00001f) in compareNMin()
1334 if (!tcu::Float32(f1).isNaN() && deFloatAbs(f1 - f0) > 0.00001f) in compareNMax()
1464 (deFloatAbs(e0 - res) < 0.00001f) || in compareNClamp()
1465 (deFloatAbs(e1 - res) < 0.00001f))) in compareNClamp()
3379 const float v = deFloatAbs(val); in calcOpPhiCase5()
/external/deqp/modules/gles2/performance/
Des2pShaderCompilationCases.cpp198 absoluteDeviations[i] = deFloatAbs((float)v[i] - median); in vectorFloatMedianAbsoluteDeviation()

12