i965/gen8: Change the winsys MSAA blits from blorp to meta

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 24 March 2014 13:15 UTC

This gets us equivalent code paths on BDW and pre-BDW, except for stencil (where we don't have MSAA stencil resolve code yet)

Improves MSAA-forced citybench by 7.94496% +/- 2.38429% (n=16). Reduces DRI2 MSAA glxgears performance by -12.3559% +/- 1.52845% (n=9).

v2: Move the new meta code to brw_meta_updownsample.c, name it brw_meta_updownsample(), add a comment about intel_rb_storage_first_mt_slice(), and rename that function and move the RB generation into it (review ideas by Ken).
v3: Fix 2 src vs dst pasteos in previous change.
v4: Skip this path pre-gen8 for now, until we can analyze the glxgears performance delta some more.

4545ec1 i965/gen8: Change the winsys MSAA blits from blorp to meta.
src/mesa/drivers/dri/i965/Makefile.sources | 1 +
src/mesa/drivers/dri/i965/brw_context.h | 6 +
src/mesa/drivers/dri/i965/brw_meta_updownsample.c | 132 +++++++++++++++++++++
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 21 ++--
4 files changed, 152 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share