In order for this to work, the driver must reference-count pipeline layouts so we can take a reference while the command is in the queue. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15329>