diff options
author | Brian Paul <[email protected]> | 2010-11-09 11:43:37 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-11-09 11:44:34 -0700 |
commit | 61ea76c8da5511d8d3f1fc3ea409ddbef89e7488 (patch) | |
tree | 2e743b5857d6b77a16b43752321c702d816f21b4 | |
parent | 5b6ec5a553876266bfa2ef65081aa1075419b97e (diff) |
softpipe: can't no-op depth test stage when occlusion query is enabled
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31479
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad_depth_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_depth_test.c b/src/gallium/drivers/softpipe/sp_quad_depth_test.c index c8f5f89568a..89b2a91fc1f 100644 --- 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; } |