Skip to content

v3dv: fix index buffer binding

Iago Toral requested to merge itoral/mesa:v3dv_fix_bind_index_buffer into master

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.

Merge request reports