Skip to content

zink: improve barrier generation for draw buffers

Mike Blumenkrantz requested to merge zmike/mesa:zink-barrier into main

this fixes the case where a buffer used as both an index buffer and a tbo wouldn't synchronize effectively on subsequent draws due to the draw buffer access overwriting the tbo access

future improvements to this might see something more serialized such that the barriers are generated in advance and then emitted directly at draw time. or something.

fixes the index cases in #6597 (closed)

Merge request reports