2d3c50d484
When encountering pipeline barriers in secondary command buffers that do not start their renderpasses, our barrier logic would not detect the need to flush existing draws, leading to race conditions in case of subpassLoad. This change ensures we flush existing draws when required in secondary command buffers. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33182>