llvmpipe: improve empty-bin test

We emit at most two clear packets (color and z respectively).
This commit is contained in:
Keith Whitwell 2010-01-13 15:49:24 +00:00
parent da45f49cc6
commit f4b29e6ad3

View file

@ -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++)