summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_depth.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-01 14:34:23 +0100
committerKeith Whitwell <keithw@vmware.com>2009-10-01 14:34:23 +0100
commit4456006ba626890172289111403e469f49106e18 (patch)
tree8eacd7d5c048547b8ad573747107ba1e79cd4038 /src/gallium/drivers/llvmpipe/lp_bld_depth.c
parentae2daacbac7242938cffe0e2409071e030e00863 (diff)
gallium: remove depth.occlusion_count flag
This was redundant as drivers can just keep track of whether they are inside a begin/end query pair. We want to add more query types later and also support nested queries, none of which map well onto a flag like this. No driver appeared to be using the flag.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_depth.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_depth.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_depth.c b/src/gallium/drivers/llvmpipe/lp_bld_depth.c
index 21c665c4d4..98ec1cb1b9 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_depth.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_depth.c
@@ -210,7 +210,4 @@ lp_build_depth_test(LLVMBuilderRef builder,
dst = lp_build_select(&bld, z_bitmask, src, dst);
LLVMBuildStore(builder, dst, dst_ptr);
}
-
- /* FIXME */
- assert(!state->occlusion_count);
}