panvk: Avoid allocating sysvals UBOs when the pipeline has one
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 23 Sep 2021 07:58:41 +0000 (09:58 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Sep 2021 14:03:40 +0000 (14:03 +0000)
commit9c60de9b5739d335fe83042d5e40bcdb29389814
treec56e9c5950b779c33f53aaa6fd757139cbf97c83
parentac898731252e9c71aacb0414f94f75a802da8f3b
panvk: Avoid allocating sysvals UBOs when the pipeline has one

The static sysval UBO attached to the pipeline will be used anyway,
so let's not waste memory for sysvals if we can avoid it.

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/13077>
src/panfrost/vulkan/panvk_vX_cmd_buffer.c