Skip to content
Snippets Groups Projects
Commit 2e46f389 authored by Ivan Briano's avatar Ivan Briano Committed by Marge Bot
Browse files

anv: re-alloc push constants after secondary command buffers


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

Reviewed-by: default avatarJason Ekstrand <jason.ekstrand@collabora.com>
Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <mesa/mesa!16439>
parent 2a47c30e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment