mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
zink: flag bindless_init before calling zink_batch_bind_db() in init
this otherwise fails to bind the bindless buffer Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21216>
This commit is contained in:
parent
1fdf6e140d
commit
f14571e393
1 changed files with 1 additions and 1 deletions
|
|
@ -1483,6 +1483,7 @@ zink_descriptors_init_bindless(struct zink_context *ctx)
|
|||
return;
|
||||
struct zink_screen *screen = zink_screen(ctx->base.screen);
|
||||
assert(screen->bindless_layout);
|
||||
ctx->dd.bindless_init = true;
|
||||
|
||||
if (zink_descriptor_mode == ZINK_DESCRIPTOR_MODE_DB) {
|
||||
unsigned bind = ZINK_BIND_RESOURCE_DESCRIPTOR | ZINK_BIND_SAMPLER_DESCRIPTOR;
|
||||
|
|
@ -1517,7 +1518,6 @@ zink_descriptors_init_bindless(struct zink_context *ctx)
|
|||
|
||||
zink_descriptor_util_alloc_sets(screen, screen->bindless_layout, ctx->dd.t.bindless_pool, &ctx->dd.t.bindless_set, 1);
|
||||
}
|
||||
ctx->dd.bindless_init = true;
|
||||
}
|
||||
|
||||
/* called on context destroy */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue