i965/gen6+: Add support for fast depth clears.
authorEric Anholt <eric@anholt.net>
Fri, 18 May 2012 05:03:32 +0000 (22:03 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 23 May 2012 17:40:11 +0000 (10:40 -0700)
commit68216f35814ab8d292f37b8c0fa0a5f181b7f20d
tree67687b30ca5c4566da8b81d05af8ceb6fac0d8d3
parent5b248e598293e7c21257d35904294da4c8f2da58
i965/gen6+: Add support for fast depth clears.

Improves citybench high-res performance 3.0% +- 0.4%, n=10.  Improves
Lightsmark 1024x768 performance 0.74% +/- 0.20% (n=78).  No
significant difference on openarena (n=5, didn't fast clear) or nexuiz
(n=3).

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_blorp.cpp
src/mesa/drivers/dri/i965/brw_clear.c
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/gen6_blorp.cpp
src/mesa/drivers/dri/i965/gen7_blorp.cpp
src/mesa/drivers/dri/i965/gen7_misc_state.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h