radeonsi: use compute shaders for clear_buffer & copy_buffer
authorMarek Olšák <marek.olsak@amd.com>
Fri, 24 Aug 2018 04:29:04 +0000 (00:29 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 16 Oct 2018 21:23:25 +0000 (17:23 -0400)
commit9b331e462e5021d994859756d46cd2519d9c9c6e
tree7f51689c2bafc268c9993227c43bf323c522dd16
parent5030adcbe05f2ae97826f645f43c612f774411e8
radeonsi: use compute shaders for clear_buffer & copy_buffer

Fast color clears should be much faster. Also, fast color clears on
evicted buffers should be 200x faster on GFX8 and older.
src/gallium/drivers/radeonsi/Makefile.sources
src/gallium/drivers/radeonsi/meson.build
src/gallium/drivers/radeonsi/si_clear.c
src/gallium/drivers/radeonsi/si_compute_blit.c [new file with mode: 0644]
src/gallium/drivers/radeonsi/si_cp_dma.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_test_dma.c