summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
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/state_trackers
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/state_trackers')
-rw-r--r--src/gallium/state_trackers/g3dvl/vl_context.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/g3dvl/vl_context.c b/src/gallium/state_trackers/g3dvl/vl_context.c
index 5cfd233c4c..cfbf618d74 100644
--- a/src/gallium/state_trackers/g3dvl/vl_context.c
+++ b/src/gallium/state_trackers/g3dvl/vl_context.c
@@ -69,7 +69,6 @@ static int vlInitCommon(struct vlContext *context)
dsa.depth.enabled = 0;
dsa.depth.writemask = 0;
dsa.depth.func = PIPE_FUNC_ALWAYS;
- dsa.depth.occlusion_count = 0;
for (i = 0; i < 2; ++i)
{
dsa.stencil[i].enabled = 0;