Home
last modified time | relevance | path

Searched refs:halfPixel (Results 1 – 4 of 4) sorted by relevance

/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp135 const deUint64 halfPixel = 1ll << (bits - 1); in isTheCenterOfTheFragment() local
136 return ((a.x() & (pixelSize-1)) == halfPixel && in isTheCenterOfTheFragment()
137 (a.y() & (pixelSize-1)) == halfPixel); in isTheCenterOfTheFragment()
240 const deInt64 halfPixel = 1ll << (bits - 1); in doesLineSegmentExitDiamond() local
259 const deInt64 broadRejectDistance = 2 * halfPixel; in doesLineSegmentExitDiamond()
286 …diamondCenter + tcu::Vector<deInt64,2>(0, -halfPixel), diamondCenter + tcu::Vector<deInt64,2>(- in doesLineSegmentExitDiamond()
287 … diamondCenter + tcu::Vector<deInt64,2>(-halfPixel, 0), diamondCenter + tcu::Vector<deInt64,2>(… in doesLineSegmentExitDiamond()
288 … diamondCenter + tcu::Vector<deInt64,2>(0, halfPixel), diamondCenter + tcu::Vector<deInt64,2>( in doesLineSegmentExitDiamond()
289 … diamondCenter + tcu::Vector<deInt64,2>(halfPixel, 0), diamondCenter + tcu::Vector<deInt64,2>(… in doesLineSegmentExitDiamond()
323 …{ tcu::Vector<deInt64,2>(0, -halfPixel), false, DiamondCorners::CORNER_EDGE_CASE_HIT_SECOND_QUA… in doesLineSegmentExitDiamond()
[all …]
/external/angle/src/tests/gl_tests/
DProvokingVertexTest.cpp184 GLfloat halfPixel = 1.0f / static_cast<GLfloat>(getWindowWidth()); in TEST_P() local
187 GLfloat positionData[] = {-1.0f + halfPixel, -1.0f, -1.0f + halfPixel, 1.0f}; in TEST_P()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp2516 const float halfPixel = 1.0f / float(m_renderSize); in generateNormalTriangles() local
2518 …const float overestimate = 2.0f * halfPixel * (m_conservativeRasterizationProperties.primitive… in generateNormalTriangles()
2532 const float edge = 2 * halfPixel + margin; in generateNormalTriangles()
2552 const float eps = halfPixel / 32.0f; in generateNormalTriangles()
2553 const float edge = 4.0f * halfPixel + margin - eps; in generateNormalTriangles()
2573 const float edge = 6.0f * halfPixel + margin; in generateNormalTriangles()
3296 const float halfPixel = 1.0f / float(m_renderSize); in generateNormalLines() local
3298 …const float overestimate = 2.0f * halfPixel * (m_conservativeRasterizationProperties.primitiveO… in generateNormalLines()
3303 const float edge = 4 * halfPixel + margin; in generateNormalLines()
3321 outData.push_back(tcu::Vec4( left, up + halfPixel, 0.0f, 1.0f)); in generateNormalLines()
[all …]
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp810 const float halfPixel = 0.5f; in getViewportPatternArea() local
821 pixelBox.x() = (int)deFloatCeil(vertexBox.x()+halfPixel); in getViewportPatternArea()
822 pixelBox.y() = (int)deFloatCeil(vertexBox.y()+halfPixel); in getViewportPatternArea()
823 pixelBox.z() = (int)deFloatFloor(vertexBox.z()-halfPixel); in getViewportPatternArea()
824 pixelBox.w() = (int)deFloatFloor(vertexBox.w()-halfPixel); in getViewportPatternArea()
828 pixelBox.x() = (int)deFloatFloor(vertexBox.x()-halfPixel); in getViewportPatternArea()
829 pixelBox.y() = (int)deFloatFloor(vertexBox.y()-halfPixel); in getViewportPatternArea()
830 pixelBox.z() = (int)deFloatCeil(vertexBox.z()+halfPixel); in getViewportPatternArea()
831 pixelBox.w() = (int)deFloatCeil(vertexBox.w()+halfPixel); in getViewportPatternArea()