i965: Re-combine the Gen4-5 and Gen6+ write_depth_count functions.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 12 Dec 2013 08:44:11 +0000 (00:44 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 20 Jan 2014 23:38:23 +0000 (15:38 -0800)
commitf7e76e00b6d476ad045a70db34908cce31e767fa
tree1e091c90089815d07c25ef5f846b2e261e8e1a02
parentf5dd608db2d6a67cfe27efed948408414a057fe3
i965: Re-combine the Gen4-5 and Gen6+ write_depth_count functions.

Now that we have a helper function that handles the PIPE_CONTROL
variations between the various platforms, these are basically the same.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_queryobj.c
src/mesa/drivers/dri/i965/gen6_queryobj.c