zink: remove extraneous flush in transfer_map_region_flush
this was only needed to cover up some other bugs: * missing barriers for buffer sampler/image descriptors * weirdness with first frame handling there's better ways of handling both cases, and now they're handled better Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9566>
This commit is contained in:
parent
d40e372fe9
commit
4e14c3dcb1
|
@ -744,8 +744,6 @@ zink_transfer_flush_region(struct pipe_context *pctx,
|
|||
zink_copy_buffer(ctx, NULL, res, staging_res, box->x, box->x, box->width);
|
||||
else
|
||||
zink_transfer_copy_bufimage(ctx, res, staging_res, trans);
|
||||
if (batch_uses)
|
||||
pctx->flush(pctx, NULL, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue