summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-01-13 15:49:24 +0000
committerKeith Whitwell <[email protected]>2010-01-13 15:49:24 +0000
commitf4b29e6ad38939318ce233ad28c70a608e7db0bd (patch)
tree2228faedf5b35cdce5667811bf5a230788c2f1f9 /src/gallium/drivers/llvmpipe/lp_rast.c
parentda45f49cc63fff06513dc28d9616084fc81798d4 (diff)
llvmpipe: improve empty-bin test
We emit at most two clear packets (color and z respectively).
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c2
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++)