softpipe: can't no-op depth test stage when occlusion query is enabled

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31479
This commit is contained in:
Brian Paul 2010-11-09 11:43:37 -07:00
parent 5b6ec5a553
commit 61ea76c8da

View file

@ -860,6 +860,7 @@ choose_depth_test(struct quad_stage *qs,
/* look for special cases */
if (!alpha &&
!depth &&
!occlusion &&
!stencil) {
qs->run = depth_noop;
}