radeonsi: only add descriptors in presence of resident handles
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 18 May 2017 20:37:25 +0000 (22:37 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Jun 2017 08:04:36 +0000 (10:04 +0200)
commita45e198e2dd4b64bddddcf2dfa3ce09a964ce897
tree7c385f220985ee97bc6b26e2d35a86bb2687212a
parent333c8f65cfd6f1153a614cef482b529778d3a6a6
radeonsi: only add descriptors in presence of resident handles

This won't help much except for applications that use a ton
of resident handles. Though, this will reduce the winsys
overhead a little bit.

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