anv: VK_INTEL_performance_query interaction with VK_EXT_private_data
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 10 Aug 2020 07:27:57 +0000 (10:27 +0300)
committerMarge Bot <eric+marge@anholt.net>
Mon, 31 Aug 2020 15:59:36 +0000 (15:59 +0000)
commitb6a013ccab0f5545bdc2e63dae1c93e688a93eaa
tree96ffe8673fa42ef973501845bbe28732f0bcfc30
parent5d52c26e78b50fe2c1a4893bd4214f95136e6e32
anv: VK_INTEL_performance_query interaction with VK_EXT_private_data

All objects are expected to have the base internal object for private
data storage.

This also fixes a memory leak of a gen_perf_registers structure.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 51c6bc13ce3a70 ("anv,vulkan: Implement VK_EXT_private_data")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6255>
src/intel/vulkan/anv_perf.c
src/intel/vulkan/anv_private.h