gallium: remove occlusion_count flag from depth-stencil state
authorKeith Whitwell <keith@tungstengraphics.com>
Sat, 16 May 2009 16:25:26 +0000 (17:25 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Sat, 16 May 2009 16:26:39 +0000 (17:26 +0100)
commit57fd20237541c34ed06587bca9f5a58c8a63fbf4
tree8e36e59d8c8f3cd21df42156166c8c6724936663
parent3259f52a9296c1b82cd18f405735e65d2b727144
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.
src/gallium/drivers/softpipe/sp_context.h
src/gallium/drivers/softpipe/sp_quad_pipe.c
src/gallium/drivers/softpipe/sp_query.c
src/gallium/drivers/trace/tr_dump_state.c