mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
swr/rast: early exit on empty triangle mask
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
e7f381e9ca
commit
4c68acba37
1 changed files with 6 additions and 0 deletions
|
|
@ -1027,6 +1027,12 @@ void SIMDCALL BinTrianglesImpl(DRAW_CONTEXT* pDC,
|
|||
endBinTriangles:
|
||||
|
||||
|
||||
if (!triMask)
|
||||
{
|
||||
RDTSC_END(FEBinTriangles, 1);
|
||||
return;
|
||||
}
|
||||
|
||||
// Send surviving triangles to the line or point binner based on fill mode
|
||||
if (rastState.fillMode == SWR_FILLMODE_WIREFRAME)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue