From 2a8a569276ded3528917ddf9f006eb7b1d1d66ad Mon Sep 17 00:00:00 2001 From: Constantine Kharlamov Date: Thu, 13 Apr 2017 23:56:28 +0300 Subject: r600g: update dirty_level_mask after the 1-st draw after FB change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ported from radeonsi. Testing with Kane&Lynch2 shows ≈1k skipped updates per frame on average. No piglit changes with tests/gpu.py, gbm mode. Signed-off-by: Constantine Kharlamov Tested-by: Dieter Nützel Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/r600/r600_pipe.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r600/r600_pipe.h') diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 7f1ecc278b6..e1715e8628e 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -189,6 +189,7 @@ struct r600_framebuffer { bool cb0_is_integer; bool is_msaa_resolve; bool dual_src_blend; + bool do_update_surf_dirtiness; }; struct r600_sample_mask { -- cgit v1.2.3