radeonsi: rework clear_buffer flags
authorMarek Olšák <marek.olsak@amd.com>
Fri, 22 Apr 2016 08:26:28 +0000 (10:26 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 28 Apr 2016 18:16:56 +0000 (20:16 +0200)
commitf564b61d33fd8fd23211e1762e2b04c25495b8fd
treeae0b805f23bb84a1be1187b6ccd3c875974e38fb
parentd273ce5259ff924b9c5ec1371872f4fdbac73fd5
radeonsi: rework clear_buffer flags

Changes:
- don't flush DB for fast color clears
- don't flush any caches for initial clears
- remove the flag from si_copy_buffer, always assume shader coherency

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_texture.c
src/gallium/drivers/radeon/radeon_video.c
src/gallium/drivers/radeonsi/si_blit.c
src/gallium/drivers/radeonsi/si_cp_dma.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h