panvk: Make panvk_cmd_alloc_tls_desc() more generic
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 7 Sep 2021 17:18:24 +0000 (19:18 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 21 Sep 2021 13:00:50 +0000 (15:00 +0200)
commit285197df2832d17e628716fb07ffd94a38dc99b9
treeab1805c5eb18fd6580074afe2bfe52ca6df28ed1
parente7af84899ee41991645c25db7d26f850aead80bb
panvk: Make panvk_cmd_alloc_tls_desc() more generic

panvk_cmd_alloc_tls_desc() will soon be called from meta helpers which
don't bind a pipeline to the cmdbuf state. Let's pass the gfx/compute
info directly.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12095>
src/panfrost/vulkan/panvk_vX_cmd_buffer.c
src/panfrost/vulkan/panvk_vX_cmd_buffer.h
src/panfrost/vulkan/panvk_vX_meta_clear.c