From 2f28a0dc23165123cf1e8b5942acad37878edd8a Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Mon, 7 Jul 2014 16:44:58 -0700 Subject: i965: Implement fast color clears using meta operations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Acked-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/Makefile.sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965/Makefile.sources') diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources index 3fb647b112e..00232a4f022 100644 --- a/src/mesa/drivers/dri/i965/Makefile.sources +++ b/src/mesa/drivers/dri/i965/Makefile.sources @@ -28,7 +28,6 @@ i965_FILES = \ brw_blorp.cpp \ brw_blorp_blit.cpp \ brw_blorp_blit_eu.cpp \ - brw_blorp_clear.cpp \ brw_cc.c \ brw_cfg.cpp \ brw_clear.c \ @@ -76,6 +75,7 @@ i965_FILES = \ brw_meta_updownsample.c \ brw_meta_stencil_blit.c \ brw_meta_util.c \ + brw_meta_fast_clear.c \ brw_misc_state.c \ brw_object_purgeable.c \ brw_performance_monitor.c \ -- cgit v1.2.3