Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMisalignedCubeTests.cpp260 …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/
Des31cShaderBitfieldOperationTests.cpp257 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/
DteglNativeCoordMappingTests.cpp259 …return deFloatAbs(a.x() - b.x()) < threshold && deFloatAbs(a.y() - b.y()) < threshold && deFloatA… in compareColor()
/third_party/vk-gl-cts/framework/common/
DtcuCPUWarmup.cpp62 absoluteDeviations[i] = deFloatAbs((float)v[i] - median); in floatRelativeMedianAbsoluteDeviation()
DtcuVectorUtil.hpp42 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()
DtcuTexLookupVerifier.cpp2213 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/
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.cpp963 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/
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()
/third_party/vk-gl-cts/framework/delibs/debase/
DdeMath.h151 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/
DvktGeometryInstancedRenderingTests.cpp255 const Vec4 color (deFloatAbs(x), deFloatAbs(y), 0.2f + 0.8f * modifier, 1.0f); in generateReferenceImage()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBuiltinTests.cpp2257 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/
DvktRobustnessUtil.cpp117 return deFloatAbs(a - b) <= 0.001f; in areEqual()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDitheringTests.cpp180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDitheringTests.cpp180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawExplicitVertexParameterTests.cpp617 if (deFloatAbs(ptr[valueNdx].x() - ptr[valueNdx].y()) > 0.0005f) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp1687 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()
DvktRayQueryWatertightnessTests.cpp1610 …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/
DvktRenderPassDepthStencilResolveTests.cpp1091 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/
DglsVertexArrayTests.cpp1511 …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/
DvktPipelineBlendOperationAdvancedTests.cpp590 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/
DvktShaderRenderTextureFunctionTests.cpp282 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/
DvktClippingTests.cpp974 …const bool xMajorAxis = deFloatAbs(vertices[vertexNdx1].x() - vertices[vertexNdx0].x()) >= deFl… in testWideLines()

12