projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b6ec5a
)
softpipe: can't no-op depth test stage when occlusion query is enabled
author
Brian Paul
<brianp@vmware.com>
Tue, 9 Nov 2010 18:43:37 +0000
(11:43 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 9 Nov 2010 18:44:34 +0000
(11:44 -0700)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31479
src/gallium/drivers/softpipe/sp_quad_depth_test.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_quad_depth_test.c
b/src/gallium/drivers/softpipe/sp_quad_depth_test.c
index c8f5f89568a684f6212f7d53c4023d9560ab305e..89b2a91fc1fca9a056b2231bb5ed996c94a317c7 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_quad_depth_test.c
+++ b/
src/gallium/drivers/softpipe/sp_quad_depth_test.c
@@
-860,6
+860,7
@@
choose_depth_test(struct quad_stage *qs,
/* look for special cases */
if (!alpha &&
!depth &&
+ !occlusion &&
!stencil) {
qs->run = depth_noop;
}