zink: move last of lazy descriptor state updating back to lazy-only code

hybrid mode is controlled by the caching manager, so state tracking is irrelevant

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13350>
This commit is contained in:
Mike Blumenkrantz 2021-10-13 09:34:00 -04:00 committed by Marge Bot
parent 140d3ea8c6
commit dfd0f5dbfd

View file

@ -495,7 +495,6 @@ zink_descriptors_update_lazy_masked(struct zink_context *ctx, bool is_compute, u
pg->layout, type + 1, 1, &bdd->sets[is_compute][type + 1],
0, NULL);
}
dd_lazy(ctx)->state_changed[is_compute] = false;
}
void
@ -583,6 +582,7 @@ zink_descriptors_update_lazy(struct zink_context *ctx, bool is_compute)
bdd->pg[is_compute] = pg;
ctx->dd->pg[is_compute] = pg;
bdd->compat_id[is_compute] = pg->compat_id;
dd_lazy(ctx)->state_changed[is_compute] = false;
}
void