Home
last modified time | relevance | path

Searched refs:subPixB (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/Pipeline/
DConstants.cpp309 constexpr auto subPixB = vk::SUBPIXEL_PRECISION_BITS; in Constants() local
311 … { toFixedPoint(X[0][0], subPixB), toFixedPoint(X[1][0], subPixB), toFixedPoint(X[2][0], subPixB),… in Constants()
312 … { toFixedPoint(Y[0][0], subPixB), toFixedPoint(Y[1][0], subPixB), toFixedPoint(Y[2][0], subPixB),… in Constants()
DSetupRoutine.cpp165 constexpr int subPixB = vk::SUBPIXEL_PRECISION_BITS; in generate() local
171 yMin = (yMin + Constants::yMinMultiSampleOffset) >> subPixB; in generate()
172 yMax = (yMax + Constants::yMaxMultiSampleOffset) >> subPixB; in generate()
176 yMin = (yMin + subPixM) >> subPixB; in generate()
177 yMax = (yMax + subPixM) >> subPixB; in generate()
221 Short x = Short(Clamp((X[0] + subPixM) >> subPixB, xMin, xMax)); in generate()
534 constexpr int subPixB = vk::SUBPIXEL_PRECISION_BITS; in edge() local
537 Int y1 = Max((Y1 + subPixM) >> subPixB, *Pointer<Int>(data + OFFSET(DrawData, scissorY0))); in edge()
538 Int y2 = Min((Y2 + subPixM) >> subPixB, *Pointer<Int>(data + OFFSET(DrawData, scissorY1))); in edge()
553 Int FDX12 = DX12 << subPixB; in edge()
[all …]