projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da45f49
)
llvmpipe: improve empty-bin test
author
Keith Whitwell
<keithw@vmware.com>
Wed, 13 Jan 2010 15:49:24 +0000
(15:49 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Wed, 13 Jan 2010 15:49:24 +0000
(15:49 +0000)
We emit at most two clear packets (color and z respectively).
src/gallium/drivers/llvmpipe/lp_rast.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_rast.c
b/src/gallium/drivers/llvmpipe/lp_rast.c
index 4c13d4d80b5d823cde028953a588b1f5ee6977d7..9606418a37539f07a48507b57b145c2a82efbd09 100644
(file)
--- 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++)