Home
last modified time | relevance | path

Searched refs:numPrims (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dfrontend.cpp243 uint32_t numPrims) in GetNumPrims() argument
247 case TOP_POINT_LIST: return numPrims; in GetNumPrims()
248 case TOP_TRIANGLE_LIST: return numPrims / 3; in GetNumPrims()
249 case TOP_TRIANGLE_STRIP: return numPrims < 3 ? 0 : numPrims - 2; in GetNumPrims()
250 case TOP_TRIANGLE_FAN: return numPrims < 3 ? 0 : numPrims - 2; in GetNumPrims()
251 case TOP_TRIANGLE_DISC: return numPrims < 2 ? 0 : numPrims - 1; in GetNumPrims()
252 case TOP_QUAD_LIST: return numPrims / 4; in GetNumPrims()
253 case TOP_QUAD_STRIP: return numPrims < 4 ? 0 : (numPrims - 2) / 2; in GetNumPrims()
254 case TOP_LINE_STRIP: return numPrims < 2 ? 0 : numPrims - 1; in GetNumPrims()
255 case TOP_LINE_LIST: return numPrims / 2; in GetNumPrims()
[all …]
Dpa.h127 uint32_t numPrims{ 0 }; // Total number of primitives for draw.
171 PA_STATE_OPT(DRAW_CONTEXT* pDC, uint32_t numPrims, uint8_t* pStream, uint32_t streamSizeInVerts,
176 return (this->numPrimsComplete < this->numPrims) ? true : false; in HasWork()
295 return (this->numPrimsComplete + this->nextNumPrimsIncrement > this->numPrims) ? in NumPrims()
296 …(SIMD_WIDTH - (this->numPrimsComplete + this->nextNumPrimsIncrement - this->numPrims)) : SIMD_WIDT… in NumPrims()
1209 static SIMDSCALARI GenPrimMask(uint32_t numPrims) in GenPrimMask()
1211 SWR_ASSERT(numPrims <= SIMD_WIDTH); in GenPrimMask()
1219 return _simd16_loadu_si((const SIMDSCALARI*)&maskGen[SIMD_WIDTH - numPrims]); in GenPrimMask()
1227 return _simd_loadu_si((const SIMDSCALARI*)&maskGen[SIMD_WIDTH - numPrims]); in GenPrimMask()
1354 uint32_t numPrims = PA_TESS::NumPrims(); in NextPrim() local
[all …]
Dpa_avx.cpp1672 if (pa.numPrimsComplete + KNOB_SIMD_WIDTH > pa.numPrims - 1) in PaLineLoop1()
1675 const int lane = pa.numPrims - pa.numPrimsComplete - 1; in PaLineLoop1()
1724 if (pa.numPrimsComplete + KNOB_SIMD16_WIDTH > pa.numPrims - 1) in PaLineLoop1_simd16()
1727 const int lane = pa.numPrims - pa.numPrimsComplete - 1; in PaLineLoop1_simd16()
1748 if (pa.numPrimsComplete + primIndex == pa.numPrims - 1) in PaLineLoopSingle0()
2592 …PA_STATE(in_pDC, pStream, in_streamSizeInVerts, in_vertexStride, numVertsPerPrim), numPrims(in_num… in PA_STATE_OPT()
2628 this->numPrims = in_numPrims * 2; // Convert quad primitives into triangles in PA_STATE_OPT()
2636 this->numPrims = in_numPrims * 2; // Convert quad primitives into triangles in PA_STATE_OPT()
2643 this->numPrims = in_numPrims; in PA_STATE_OPT()
2650 this->numPrims = in_numPrims; in PA_STATE_OPT()
[all …]