Home
last modified time | relevance | path

Searched refs:deFloatAbs (Results 1 - 25 of 57) sorted by relevance

123

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMisalignedCubeTests.cpp261 if (deFloatAbs(delta.x()) > eps || deFloatAbs(delta.y()) > eps || deFloatAbs(delta.z()) > eps || deFloatAbs(delta.w()) > eps) in iterate()
274 if (deFloatAbs(delta.x()) > eps || deFloatAbs(delta.y()) > eps || deFloatAbs(delta.z()) > eps || deFloatAbs(delta.w()) > eps) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMisalignedCubeTests.cpp261 if (deFloatAbs(delta.x()) > eps || deFloatAbs(delta.y()) > eps || deFloatAbs(delta.z()) > eps || deFloatAbs(delta.w()) > eps) in iterate()
274 if (deFloatAbs(delta.x()) > eps || deFloatAbs(delta.y()) > eps || deFloatAbs(delta.z()) > eps || deFloatAbs(delta.w()) > eps) in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A 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(dat in test()
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuCPUWarmup.cpp62 absoluteDeviations[i] = deFloatAbs((float)v[i] - median);
H A 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()
H A 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/
H A 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.0f || in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A 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.0f || in iterate()
/third_party/vk-gl-cts/modules/egl/
H A DteglNativeCoordMappingTests.cpp259 return deFloatAbs(a.x() - b.x()) < threshold && deFloatAbs(a.y() - b.y()) < threshold && deFloatAbs(a.z() - b.z()) < threshold && deFloatAbs(a.w() - b.w()) < threshold; in compareColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryInstancedRenderingTests.cpp255 const Vec4 color (deFloatAbs(x), deFloatAbs(y), 0.2f + 0.8f * modifier, 1.0f); in generateReferenceImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryInstancedRenderingTests.cpp255 const Vec4 color (deFloatAbs(x), deFloatAbs(y), 0.2f + 0.8f * modifier, 1.0f); in generateReferenceImage()
/third_party/vk-gl-cts/framework/delibs/debase/
H A 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/shader_object/
H A DvktShaderObjectBindingTests.cpp579 if (deFloatAbs(color.x() - expectedColor.x()) > threshold || deFloatAbs(color.y() - expectedColor.y()) > threshold || deFloatAbs(color.z() - expectedColor.z()) > threshold || deFloatAbs(color.w() - expectedColor.w()) > threshold) in iterate()
H A DvktShaderObjectMiscTests.cpp356 if (deFloatAbs(color.x() - expectedColor.x()) > threshold || deFloatAbs(color.y() - expectedColor.y()) > threshold || deFloatAbs(color.z() - expectedColor.z()) > threshold || deFloatAbs(color.w() - expectedColor.w()) > threshold) in iterate()
1638 if (deFloatAbs(color.x() - expectedColor.x()) > threshold || deFloatAbs(color.y() - expectedColor.y()) > threshold || deFloatAbs(color.z() - expectedColor.z()) > threshold || deFloatAbs(color.w() - expectedColor.w()) > threshold)
1718 if (deFloatAbs(depth - 1.0f) > depthEpsilon)
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A 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/
H A DvktRobustnessUtil.cpp139 return deFloatAbs(a - b) <= 0.001f; in areEqual()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDitheringTests.cpp180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessUtil.cpp164 return deFloatAbs(a - b) <= 0.001f; in areEqual()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDitheringTests.cpp180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
H A DvktRayQueryBuiltinTests.cpp1678 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1701 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1743 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1775 if (deFloatAbs(retrievedValue - expectedValue) <= eps && in verify()
1822 if (deFloatAbs(retrievedValue - expectedValue) > eps || in verify()
1861 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1891 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
3039 const float z = -deFloatAbs(eps + float(startPos.x()) * float(startPos.y()) / float(width * height)); in initAccelerationStructures()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/
H A DvktRayQueryBuiltinTests.cpp1658 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1681 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1723 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1755 if (deFloatAbs(retrievedValue - expectedValue) <= eps && in verify()
1802 if (deFloatAbs(retrievedValue - expectedValue) > eps || in verify()
1841 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1871 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
3019 const float z = -deFloatAbs(eps + float(startPos.x()) * float(startPos.y()) / float(width * height)); in initAccelerationStructures()
/third_party/vk-gl-cts/framework/opengl/
H A 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(dvd in computeLodFromDerivates()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawExplicitVertexParameterTests.cpp624 if (deFloatAbs(ptr[valueNdx].x() - ptr[valueNdx].y()) > 0.0005f) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawExplicitVertexParameterTests.cpp624 if (deFloatAbs(ptr[valueNdx].x() - ptr[valueNdx].y()) > 0.0005f) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingBuiltinTests.cpp2272 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateFloatBuffer()
2296 if (deFloatAbs(retrievedValue - expectedValue) > eps) in validateFloatBuffer()
2333 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateVectorBuffer()
2359 if (deFloatAbs(retrievedValue - expectedValue) > eps) in validateVectorBuffer()
2394 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateMatrixBuffer()
2424 if (deFloatAbs(retrievedValue - expectedValue) > eps) in validateMatrixBuffer()

Completed in 63 milliseconds

123