Lines Matching refs:halfPixel

135 	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()
324 …{ tcu::Vector<deInt64,2>(-halfPixel, 0), false, DiamondCorners::CORNER_EDGE_CASE_NONE, Diam… in doesLineSegmentExitDiamond()
325 …{ tcu::Vector<deInt64,2>(0, halfPixel), false, DiamondCorners::CORNER_EDGE_CASE_HIT_FIRST_QUAR… in doesLineSegmentExitDiamond()
326 …{ tcu::Vector<deInt64,2>(halfPixel, 0), true, DiamondCorners::CORNER_EDGE_CASE_HIT, Diamon… in doesLineSegmentExitDiamond()
541 const deUint64 halfPixel = 1ll << (m_subpixelBits - 1); in rasterizeSingleSample() local
557 const deInt64 sx0 = toSubpixelCoord(x0, m_subpixelBits) + halfPixel; in rasterizeSingleSample()
558 const deInt64 sx1 = toSubpixelCoord(x0+1, m_subpixelBits) + halfPixel; in rasterizeSingleSample()
559 const deInt64 sy0 = toSubpixelCoord(y0, m_subpixelBits) + halfPixel; in rasterizeSingleSample()
560 const deInt64 sy1 = toSubpixelCoord(y0+1, m_subpixelBits) + halfPixel; in rasterizeSingleSample()
701 const deUint64 halfPixel = 1ll << (m_subpixelBits - 1); in rasterizeMultiSample() local
817 e01f[i] = float(evaluateEdge(m_edge01, sx[i] + halfPixel, sy[i] + halfPixel)); in rasterizeMultiSample()
818 e12f[i] = float(evaluateEdge(m_edge12, sx[i] + halfPixel, sy[i] + halfPixel)); in rasterizeMultiSample()
819 e20f[i] = float(evaluateEdge(m_edge20, sx[i] + halfPixel, sy[i] + halfPixel)); in rasterizeMultiSample()
936 const deInt64 halfPixel = 1ll << (m_subpixelBits - 1); in rasterize() local
953 …sterUtil::toSubpixelVector(m_curPos, m_subpixelBits) + tcu::Vector<deInt64,2>(halfPixel,halfPixel); in rasterize()
1146 const deInt64 halfPixel = 1ll << (m_subpixelBits - 1); in rasterize() local
1155 …sterUtil::toSubpixelVector(m_curPos, m_subpixelBits) + tcu::Vector<deInt64,2>(halfPixel,halfPixel); in rasterize()