mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 08:10:14 +01:00
zink: use screen indexing for bindless descriptor set in template bind
Fixes: 8636717270 ("zink: add a "compact" descriptor mode")
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
This commit is contained in:
parent
7bd5122430
commit
faaf6f95cc
1 changed files with 1 additions and 1 deletions
|
|
@ -1202,7 +1202,7 @@ zink_descriptors_update(struct zink_context *ctx, bool is_compute)
|
|||
&offset);
|
||||
} else {
|
||||
VKCTX(CmdBindDescriptorSets)(ctx->batch.state->cmdbuf, is_compute ? VK_PIPELINE_BIND_POINT_COMPUTE : VK_PIPELINE_BIND_POINT_GRAPHICS,
|
||||
pg->layout, ZINK_DESCRIPTOR_BINDLESS, 1, &ctx->dd.t.bindless_set,
|
||||
pg->layout, screen->desc_set_id[ZINK_DESCRIPTOR_BINDLESS], 1, &ctx->dd.t.bindless_set,
|
||||
0, NULL);
|
||||
}
|
||||
ctx->dd.bindless_bound = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue