radeonsi: try to re-use previously deleted bindless descriptor slots
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 4 Jul 2017 10:37:32 +0000 (12:37 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 22 Aug 2017 09:34:37 +0000 (11:34 +0200)
commit39a35eb0c1ae0fc572e2c4a89b5e79197aa63bf5
tree4f846334a9b5300dca237865833a9b9f6aa6314c
parentc2dfa9b1114db660547eca8bcdf32374313b6a04
radeonsi: try to re-use previously deleted bindless descriptor slots

Currently, when the array is full it is resized but it can grow
over and over because we don't try to re-use descriptor slots.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_pipe.h