Home
last modified time | relevance | path

Searched refs:maxPixelDistanceSquared (Results 1 - 1 of 1) sorted by relevance

/third_party/vk-gl-cts/framework/common/
H A DtcuRasterizationVerifier.cpp110 const float maxPixelDistanceSquared = 2.0f; in pixelNearLineSegment() local
123 if (crossProduct * crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(line)) in pixelNearLineSegment()
2431 const double maxPixelDistanceSquared = (double)(pixelHitBoxSize * pixelHitBoxSize); // Max distance from the pixel center from within the pixel is (sqrt(2) * boxWidth/2). Use 2x value for rounding tolerance
2440 if (crossProduct < 0 && crossProduct*crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(edge))
2442 if (crossProduct < 0 || crossProduct*crossProduct < maxPixelDistanceSquared * tcu::lengthSquared(edge))

Completed in 4 milliseconds