diff options
author | Keith Whitwell <[email protected]> | 2009-05-16 17:25:26 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-05-16 17:26:39 +0100 |
commit | 57fd20237541c34ed06587bca9f5a58c8a63fbf4 (patch) | |
tree | 8e36e59d8c8f3cd21df42156166c8c6724936663 /src/gallium/drivers/softpipe/sp_context.h | |
parent | 3259f52a9296c1b82cd18f405735e65d2b727144 (diff) |
gallium: remove occlusion_count flag from depth-stencil state
Drivers can just keep track of whether they are within a query
by monitoring the begin/end query callbacks. The flag adds no
information beyond that.
Only softpipe was examining this flag -- it has been fixed up
and retested with demos/arbocclude.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.h')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h index 59d6df8f2dd..b89a7292e5b 100644 --- a/src/gallium/drivers/softpipe/sp_context.h +++ b/src/gallium/drivers/softpipe/sp_context.h @@ -92,6 +92,7 @@ struct softpipe_context { * queries. */ uint64_t occlusion_count; + unsigned active_query_count; /** Mapped vertex buffers */ ubyte *mapped_vbuffer[PIPE_MAX_ATTRIBS]; |