Skip to content

turnip: Fix execution of secondary cmd bufs with nothing in primary.

Emma Anholt requested to merge anholt/mesa:tu-secondaries-fix into master

We want to finish off cmd emission in the primary CS and add its entry to the IB, but regardless of whether there had been anything in the primary CS to emit, we still need a reserved CS entry for the loop below.

Fixes crashes in dEQP-VK.binding_model.shader_access.secondary_cmd_buf.* and many more in dEQP-VK.renderpass*

Merge request reports