gallium/radeon: add a new HUD query for the number of resident handles
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Jun 2017 09:40:59 +0000 (11:40 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 18 Jun 2017 12:08:08 +0000 (14:08 +0200)
commit8d9e76ce1f7d78a6408e08109052c426dabc5480
treeff3eb0e9859d2bdb03c968916862c4cfce61dc33
parente08171ef5311b2bdd9438db41db1227465197325
gallium/radeon: add a new HUD query for the number of resident handles

Useful for debugging performance issues when ARB_bindless_texture
is enabled. This query doesn't make a distinction between texture
and image handles.

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