zink: remove sync TODO

after investigating, this is pointless and won't ever generate any value

fixes #9016

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24886>
This commit is contained in:
Mike Blumenkrantz
2023-08-25 10:16:55 -04:00
committed by Marge Bot
parent 361f7796b4
commit f7f6a015d0

View File

@@ -344,7 +344,6 @@ zink_resource_image_barrier(struct zink_context *ctx, struct zink_resource *res,
}
/* if current batch usage exists with ordered non-transfer access, never promote
* this avoids layout dsync
* TODO: figure out how to link up unordered layout -> ordered layout and delete
*/
if (zink_resource_usage_matches(res, ctx->batch.state) && !ctx->unordered_blitting &&
(!res->obj->unordered_read || !res->obj->unordered_write)) {