From f4b29e6ad38939318ce233ad28c70a608e7db0bd Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 13 Jan 2010 15:49:24 +0000 Subject: llvmpipe: improve empty-bin test We emit at most two clear packets (color and z respectively). --- src/gallium/drivers/llvmpipe/lp_rast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/llvmpipe/lp_rast.c') diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index 4c13d4d80b..9606418a37 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.c +++ b/src/gallium/drivers/llvmpipe/lp_rast.c @@ -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++) -- cgit v1.2.3