Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbinner.cpp38 …T *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[3], simdscalar vRecipW[2], uint32_t prim…
1460 simdscalar vRecipW[2] = { _simd_set1_ps(1.0f), _simd_set1_ps(1.0f) }; in BinLines() local
1465 vRecipW[0] = _simd_div_ps(_simd_set1_ps(1.0f), prim[0].w); in BinLines()
1466 vRecipW[1] = _simd_div_ps(_simd_set1_ps(1.0f), prim[1].w); in BinLines()
1468 prim[0].v[0] = _simd_mul_ps(prim[0].v[0], vRecipW[0]); in BinLines()
1469 prim[1].v[0] = _simd_mul_ps(prim[1].v[0], vRecipW[1]); in BinLines()
1471 prim[0].v[1] = _simd_mul_ps(prim[0].v[1], vRecipW[0]); in BinLines()
1472 prim[1].v[1] = _simd_mul_ps(prim[1].v[1], vRecipW[1]); in BinLines()
1474 prim[0].v[2] = _simd_mul_ps(prim[0].v[2], vRecipW[0]); in BinLines()
1475 prim[1].v[2] = _simd_mul_ps(prim[1].v[2], vRecipW[1]); in BinLines()
[all …]
Drasterizer.cpp858 __m128 vX, vY, vZ, vRecipW; in RasterizeTriangle() local
865 vRecipW = _mm_load_ps(workDesc.pTriBuffer + 12); in RasterizeTriangle()
934 _mm_store_ps(oneOverW, vRecipW); in RasterizeTriangle()
1606 __m128 vX, vY, vZ, vRecipW; in RasterizeLine() local
1611 vRecipW = _mm_load_ps(workDesc.pTriBuffer + 12); in RasterizeLine()
1618 __m128 vRecipWa = _mm_shuffle_ps(vRecipW, vRecipW, _MM_SHUFFLE(1, 1, 0, 0)); in RasterizeLine()
1704 vRecipWa = _mm_shuffle_ps(vRecipW, vRecipW, _MM_SHUFFLE(1, 0, 1, 1)); in RasterizeLine()