mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
llvmpipe: improve empty-bin test
We emit at most two clear packets (color and z respectively).
This commit is contained in:
parent
da45f49cc6
commit
f4b29e6ad3
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ is_empty_bin( struct lp_rasterizer *rast,
|
|||
int i;
|
||||
|
||||
if (head->next != NULL ||
|
||||
head->count > PIPE_MAX_COLOR_BUFS + 1)
|
||||
head->count > 2)
|
||||
return FALSE;
|
||||
|
||||
for (i = 0; i < head->count; i++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue