-
Rob Clark authored
In multi-context scenarios, one context writing to a resource can race with a pctx->flush_resource() on another context/thread. Which means that by the end of flush_resource() we can have a new write_batch. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!11200>
38dd2e6e