diff options
author | Keith Whitwell <[email protected]> | 2010-01-13 15:49:24 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-01-13 15:49:24 +0000 |
commit | f4b29e6ad38939318ce233ad28c70a608e7db0bd (patch) | |
tree | 2228faedf5b35cdce5667811bf5a230788c2f1f9 /src | |
parent | da45f49cc63fff06513dc28d9616084fc81798d4 (diff) |
llvmpipe: improve empty-bin test
We emit at most two clear packets (color and z respectively).
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index 4c13d4d80b5..9606418a375 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++) |