41a7b58214
This ensures shared fence is available before we submit (and fail) a batch with it, this fixes following issue on iris driver: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12650 Cc: mesa-stable Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33662>