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:
Mike Blumenkrantz 2023-02-07 14:48:15 -05:00 committed by Marge Bot
parent 4cf54e2ed2
commit 7bd5122430

View file

@ -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 {