zink: remove sync TODO
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 25 Aug 2023 14:16:55 +0000 (10:16 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 29 Aug 2023 04:30:46 +0000 (04:30 +0000)
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>

src/gallium/drivers/zink/zink_synchronization.cpp

index b90d41e..ce06e5d 100644 (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)) {