Module: Mesa Branch: master Commit: 2f28a0dc23165123cf1e8b5942acad37878edd8a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f28a0dc23165123cf1e8b5942acad37878edd8a
Author: Kristian Høgsberg <[email protected]> Date: Mon Jul 7 16:44:58 2014 -0700 i965: Implement fast color clears using meta operations This patch uses the infrastructure put in place by previous patches to implement fast color clears and replicated color clears in terms of meta operations. This works all the way back to gen7 where fast clear was introduced and adds support for fast clear on gen8. It replaces the blorp path completely and improves on a few cases. Layered clears are now done using instanced rendering and multiple render-target clears use a MRT shader with rep16 writes. Signed-off-by: Kristian Høgsberg <[email protected]> Acked-by: Kenneth Graunke <[email protected]> --- src/mesa/drivers/dri/i965/Makefile.sources | 2 +- src/mesa/drivers/dri/i965/brw_blorp.h | 8 - src/mesa/drivers/dri/i965/brw_blorp_blit.cpp | 4 + src/mesa/drivers/dri/i965/brw_blorp_clear.cpp | 615 -------------------- src/mesa/drivers/dri/i965/brw_clear.c | 12 +- src/mesa/drivers/dri/i965/brw_context.c | 1 + src/mesa/drivers/dri/i965/brw_context.h | 15 + src/mesa/drivers/dri/i965/brw_meta_fast_clear.c | 704 +++++++++++++++++++++++ src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 +- src/mesa/drivers/dri/i965/intel_tex_copy.c | 21 +- 10 files changed, 744 insertions(+), 642 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=2f28a0dc23165123cf1e8b5942acad37878edd8a _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
