radeonsi: only upload (dump to L2) those descriptors that are used by shaders
authorMarek Olšák <marek.olsak@amd.com>
Mon, 15 May 2017 21:03:01 +0000 (23:03 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 18 May 2017 20:15:02 +0000 (22:15 +0200)
commita7f098fb769bdfdac692a04eab6bdd84e061e5cd
tree1aa886b1398ed8b0180e75b370cf297f1e2c654f
parent53c2ef36da79df926d5c3eac81f60ebe6009dda8
radeonsi: only upload (dump to L2) those descriptors that are used by shaders

This decreases the size of CE RAM dumps to L2, or the size of descriptor
uploads without CE.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c