i965: Refactor depth count write PIPE_CONTROLs into a helper function.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 7 Aug 2012 16:55:11 +0000 (09:55 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Aug 2012 16:24:21 +0000 (09:24 -0700)
commit20c09b82d0520843f1c168adaf9bd5d17a572085
treeab2cc7d1ef518fda786d9462236c3fb13e369523
parenta2cdd5ada8ae315acbc4225398b7cbf78181f610
i965: Refactor depth count write PIPE_CONTROLs into a helper function.

This consolidates the complexity in one place, which is important
because it's about to get even more complicated.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_queryobj.c