Skip to content
Snippets Groups Projects
Commit dfd0f5db authored by Mike Blumenkrantz's avatar Mike Blumenkrantz :lifter: Committed by Marge Bot
Browse files

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: default avatarDave Airlie <airlied@redhat.com>
Part-of: <mesa/mesa!13350>
parent 140d3ea8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment