Skip to content

anv: Fix skipping of generation of push descriptor states.

Emma Anholt requested to merge anholt/mesa:anv-push-skip into main

If the pipeline isn't using the push descriptor for that stage because they all got promoted to UBOs, then there won't be a desc->set_buffer_view.

Since I'm adding a bitmask of used push descriptors, I renamed the old one to clarify that it's about stages using a push descriptor.

Fixes NULL derefs on a bunch of ANGLE traces for zink-on-anv.

Fixes: b49b18f0 ("anv: reduce BT emissions & surface state writes with push descriptors")

Merge request reports