/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageMisalignedCubeTests.cpp | 260 …if (deFloatAbs(delta.x()) > eps || deFloatAbs(delta.y()) > eps || deFloatAbs(delta.z()) > eps || d… in iterate() 273 …if (deFloatAbs(delta.x()) > eps || deFloatAbs(delta.y()) > eps || deFloatAbs(delta.z()) > eps || d… in iterate()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cShaderBitfieldOperationTests.cpp | 257 else if (deFloatAbs(data->outVec4[i]) < 0.5 || deFloatAbs(data->outVec4[i]) >= 1.0) in test() 263 if (deFloatAbs(result - data->inVec4[i]) > 0.0001f) in test() 332 if (deFloatAbs(expected - data->outVec4[i]) > 0.0001f) in test() 465 if (deFloatAbs(data->outVec4[0] - x) > 0.0001f) in test() 470 if (deFloatAbs(data->outVec4[1] - y) > 0.0001f) in test() 475 if (deFloatAbs(data->outVec4[2] - z) > 0.0001f) in test() 480 if (deFloatAbs(data->outVec4[3] - w) > 0.0001f) in test() 503 if (deFloatAbs(data->outVec4[0] - x) > 0.0001f) in test() 509 if (deFloatAbs(data->outVec4[1] - y) > 0.0001f) in test() 515 if (deFloatAbs(data->outVec4[2] - z) > 0.0001f) in test() [all …]
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglNativeCoordMappingTests.cpp | 259 …return deFloatAbs(a.x() - b.x()) < threshold && deFloatAbs(a.y() - b.y()) < threshold && deFloatA… in compareColor()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuCPUWarmup.cpp | 62 absoluteDeviations[i] = deFloatAbs((float)v[i] - median); in floatRelativeMedianAbsoluteDeviation()
|
D | tcuVectorUtil.hpp | 42 inline float abs (float f) { return deFloatAbs(f); } in abs() 83 inline float length (float f) { return deFloatAbs(f); } in length() 84 inline float distance (float x, float y) { return deFloatAbs(x - y); } in distance()
|
D | tcuTexLookupVerifier.cpp | 2213 const float mux = deFloatAbs(dudx); in computeLodBoundsFromDerivates() 2214 const float mvx = deFloatAbs(dvdx); in computeLodBoundsFromDerivates() 2215 const float mwx = deFloatAbs(dwdx); in computeLodBoundsFromDerivates() 2216 const float muy = deFloatAbs(dudy); in computeLodBoundsFromDerivates() 2217 const float mvy = deFloatAbs(dvdy); in computeLodBoundsFromDerivates() 2218 const float mwy = deFloatAbs(dwdy); in computeLodBoundsFromDerivates()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcSampleVariablesTests.cpp | 781 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()
|
D | glcBlendEquationAdvancedTests.cpp | 294 …tcu::Vec4 rgb(deFloatAbs(src[0] - dst[0]), deFloatAbs(src[1] - dst[1]), deFloatAbs(src[2] - dst[2]… in BlendDifference()
|
D | glcPackedDepthStencilTests.cpp | 963 if (deFloatAbs(d - dref) > EPSILON) in verifyDepthStencilGradient() 1127 if (!((function == COLOR_CHECK_DEPTH) && (deFloatAbs(d - dref) < EPSILON))) in verifyColorGradient()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cES31CompatibilitySampleVariablesTests.cpp | 782 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()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deMath.h | 151 DE_INLINE float deFloatAbs (float x) { return (x >= 0.0f) ? x : -x; } in deFloatAbs() function 172 DE_INLINE float deFloatTrunc (float a) { return deFloatSign(a) * deFloatFloor(deFloatAbs(a));… in deFloatTrunc()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryInstancedRenderingTests.cpp | 255 const Vec4 color (deFloatAbs(x), deFloatAbs(y), 0.2f + 0.8f * modifier, 1.0f); in generateReferenceImage()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 188 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingBuiltinTests.cpp | 2257 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateFloatBuffer() 2281 if (deFloatAbs(retrievedValue - expectedValue) > eps) in validateFloatBuffer() 2318 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateVectorBuffer() 2344 if (deFloatAbs(retrievedValue - expectedValue) > eps) in validateVectorBuffer() 2379 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateMatrixBuffer() 2409 if (deFloatAbs(retrievedValue - expectedValue) > eps) in validateMatrixBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessUtil.cpp | 117 return deFloatAbs(a - b) <= 0.001f; in areEqual()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fDitheringTests.cpp | 180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDitheringTests.cpp | 180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawExplicitVertexParameterTests.cpp | 617 if (deFloatAbs(ptr[valueNdx].x() - ptr[valueNdx].y()) > 0.0005f) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryBuiltinTests.cpp | 1687 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify() 1710 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify() 1752 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify() 1784 if (deFloatAbs(retrievedValue - expectedValue) <= eps && in verify() 1831 if (deFloatAbs(retrievedValue - expectedValue) > eps || in verify() 1870 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify() 1900 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify() 3048 …const float z = -deFloatAbs(eps + float(startPos.x()) * float(startPos.y()) / float(width * heigh… in initAccelerationStructures()
|
D | vktRayQueryWatertightnessTests.cpp | 1610 …if (deFloatAbs(a.x() - b.x()) < MIN_AABB_SIDE_LENGTH || deFloatAbs(a.y() - b.y()) < MIN_AABB_SIDE_… in chooseAABB()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassDepthStencilResolveTests.cpp | 1091 float error = deFloatAbs(depth - m_config.clearValue.depth); in verifyDepth() 1105 float error = deFloatAbs(depth - expectedValue); in verifyDepth()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsVertexArrayTests.cpp | 1511 …const T minQuadSize = T::fromFloat(deFloatAbs(max.template to<float>() - min.template to<float>())… in createQuads() 1537 …DE_ASSERT((deFloatAbs(x2.template to<float>() - x1.template to<float>()) >= minDiff.template to<fl… in createQuads() 1538 …(deFloatAbs(y2.template to<float>() - y1.template to<float>()) >= minDiff.template to<float>() * 0… in createQuads()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineBlendOperationAdvancedTests.cpp | 590 f.x() = deFloatAbs(dst.x() - src.x()); in calculateFFunction() 591 f.y() = deFloatAbs(dst.y() - src.y()); in calculateFFunction() 592 f.z() = deFloatAbs(dst.z() - src.z()); in calculateFFunction()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 282 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates() 306 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates() 307 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 334 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates() 335 float mv = de::max(deFloatAbs(dvdx), deFloatAbs(dvdy)); in computeLodFromDerivates() 336 float mw = de::max(deFloatAbs(dwdx), deFloatAbs(dwdy)); in computeLodFromDerivates()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/ |
D | vktClippingTests.cpp | 974 …const bool xMajorAxis = deFloatAbs(vertices[vertexNdx1].x() - vertices[vertexNdx0].x()) >= deFl… in testWideLines()
|