Searched refs:numPrims (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | frontend.cpp | 216 uint32_t GetNumPrims(PRIMITIVE_TOPOLOGY mode, uint32_t numPrims) in GetNumPrims() argument 221 return numPrims; in GetNumPrims() 223 return numPrims / 3; in GetNumPrims() 225 return numPrims < 3 ? 0 : numPrims - 2; in GetNumPrims() 227 return numPrims < 3 ? 0 : numPrims - 2; in GetNumPrims() 229 return numPrims < 2 ? 0 : numPrims - 1; in GetNumPrims() 231 return numPrims / 4; in GetNumPrims() 233 return numPrims < 4 ? 0 : (numPrims - 2) / 2; in GetNumPrims() 235 return numPrims < 2 ? 0 : numPrims - 1; in GetNumPrims() 237 return numPrims / 2; in GetNumPrims() [all …]
|
D | pa.h | 137 uint32_t numPrims{0}; // Total number of primitives for draw. 186 uint32_t numPrims, 194 bool HasWork() { return (this->numPrimsComplete < this->numPrims) ? true : false; } in HasWork() 310 return (this->numPrimsComplete + this->nextNumPrimsIncrement > this->numPrims) in NumPrims() 312 (this->numPrimsComplete + this->nextNumPrimsIncrement - this->numPrims)) in NumPrims() 1338 static SIMDSCALARI GenPrimMask(uint32_t numPrims) in GenPrimMask() 1340 SWR_ASSERT(numPrims <= SIMD_WIDTH); in GenPrimMask() 1346 return _simd16_loadu_si((const SIMDSCALARI*)&maskGen[SIMD_WIDTH - numPrims]); in GenPrimMask() 1351 return _simd_loadu_si((const SIMDSCALARI*)&maskGen[SIMD_WIDTH - numPrims]); in GenPrimMask() 1538 uint32_t numPrims = PA_TESS::NumPrims(); in NextPrim() local [all …]
|
D | pa_avx.cpp | 1817 if (pa.numPrimsComplete + KNOB_SIMD_WIDTH > pa.numPrims - 1) in PaLineLoop1() 1820 const int lane = pa.numPrims - pa.numPrimsComplete - 1; in PaLineLoop1() 1869 if (pa.numPrimsComplete + KNOB_SIMD16_WIDTH > pa.numPrims - 1) in PaLineLoop1_simd16() 1872 const int lane = pa.numPrims - pa.numPrimsComplete - 1; in PaLineLoop1_simd16() 1894 if (pa.numPrimsComplete + primIndex == pa.numPrims - 1) in PaLineLoopSingle0() 2764 numPrims(in_numPrims), numPrimsComplete(0), numSimdPrims(0), cur(0), prev(0), first(0), in PA_STATE_OPT() 2800 this->numPrims = in_numPrims * 2; // Convert quad primitives into triangles in PA_STATE_OPT() 2808 this->numPrims = in_numPrims * 2; // Convert quad primitives into triangles in PA_STATE_OPT() 2815 this->numPrims = in_numPrims; in PA_STATE_OPT() 2822 this->numPrims = in_numPrims; in PA_STATE_OPT() [all …]
|
D | api.h | 194 typedef void(SWR_API* PFN_UPDATE_STREAMOUT)(HANDLE hPrivateContext, uint64_t numPrims);
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_context.cpp | 478 swr_UpdateStreamOut(HANDLE hPrivateContext, uint64_t numPrims) in swr_UpdateStreamOut() argument 486 *pDC->soPrims += numPrims; in swr_UpdateStreamOut()
|