anv: use malloc for host only descriptor sets
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 6 Feb 2023 08:40:39 +0000 (10:40 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Feb 2023 07:28:32 +0000 (07:28 +0000)
commitbee8e4704800b46b3017b06c455245a8d87a4f6f
tree2fb6e7f629eec49e196019cf4adfda58d308734a
parent3e2c768aa860f96074df73cd3171960e76f5c312
anv: use malloc for host only descriptor sets

On integrated products this makes almost no difference but on discrete
it's pretty important.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Tested-by: Chuansheng Liu <chuansheng.liu@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21131>
src/intel/vulkan/anv_descriptor_set.c
src/intel/vulkan/anv_private.h