a45ab46563
This can be called outside a render pass so we should not expect to have a job available. Also, we should not be emitting state here, instead we should do in the pre-draw handler with all the other draw call state. Fixes cases of crashes in RenderDoc when selecting elements in the Event Browser. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10130>