i965: Refactor timestamp write PIPE_CONTROLs into a helper function.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 7 Aug 2012 16:09:46 +0000 (09:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Aug 2012 16:24:14 +0000 (09:24 -0700)
commit03f14664b6b12bc7853866fe613d8af350e51e08
tree7b2cbfb1f01375765be24816818ca2eebe95e05c
parent61d0b9f52c6be4a4a64c30ea3a2a93ef8260c67b
i965: Refactor timestamp 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>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_queryobj.c