radeonsi: update dirty_level_mask before dispatching
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 29 Aug 2017 15:37:14 +0000 (17:37 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 30 Aug 2017 07:33:55 +0000 (09:33 +0200)
commit59101e771d63d3d623828a173454fdbbcb719ec3
tree7ef5598ef998947bccbdbab8a953df07c806cf44
parenta2234614b6a7b53b4f8ba68e0bc9136e4b265d0e
radeonsi: update dirty_level_mask before dispatching

This fixes a rendering issue with Hitman when bindless textures
are enabled.

Fixes: 2263610827 ("radeonsi: flush DB caches only when transitioning from DB to texturing")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeonsi/si_compute.c