Skip to content

anv: re-alloc push constants after secondary command buffers

Ivan Briano requested to merge ibriano/mesa:secondary-push-constants into main

If the secondary command buffer executed used push constants on a different set of stages than the primary is using, we may end up not reallocating them for the primary, getting misrender artifacts at best, or a nice GPU hang at worst.

Fixes the tests from a CTS from the future: dEQP-VK.dynamic_rendering.random.*

Cc: mesa-stable

Merge request reports