mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
zink: use screen indexing for bindless descriptor set in db bind
Fixes: 99ba529fee ("zink: implement descriptor buffer handling of bindless texture")
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
This commit is contained in:
parent
4cf54e2ed2
commit
7bd5122430
1 changed files with 1 additions and 1 deletions
|
|
@ -1197,7 +1197,7 @@ zink_descriptors_update(struct zink_context *ctx, bool is_compute)
|
|||
VKCTX(CmdSetDescriptorBufferOffsetsEXT)(bs->cmdbuf,
|
||||
is_compute ? VK_PIPELINE_BIND_POINT_COMPUTE : VK_PIPELINE_BIND_POINT_GRAPHICS,
|
||||
pg->layout,
|
||||
ZINK_DESCRIPTOR_BINDLESS, 1,
|
||||
screen->desc_set_id[ZINK_DESCRIPTOR_BINDLESS], 1,
|
||||
&index,
|
||||
&offset);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue