From dfd0f5dbfd494cab04c9f436d3fcbfc804459c1d Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 13 Oct 2021 09:34:00 -0400 Subject: [PATCH] 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 Part-of: --- src/gallium/drivers/zink/zink_descriptors_lazy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_descriptors_lazy.c b/src/gallium/drivers/zink/zink_descriptors_lazy.c index f9bf1487ab4..480e02dd8b5 100644 --- a/src/gallium/drivers/zink/zink_descriptors_lazy.c +++ b/src/gallium/drivers/zink/zink_descriptors_lazy.c @@ -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