mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
dzn: Fix bindless descriptor sets with multiple dynamic buffers that need custom descriptors
Fixes: 5d2b4ee4 ("dzn: Allocate descriptor sets in buffers for bindless mode")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22225>
This commit is contained in:
parent
04fa6c715b
commit
a3e5e6ceaa
1 changed files with 1 additions and 1 deletions
|
|
@ -2143,7 +2143,7 @@ dzn_descriptor_set_write(struct dzn_device *device,
|
|||
pDescriptorWrite->descriptorType,
|
||||
dzn_buffer_from_handle(binfo->buffer),
|
||||
binfo->range, binfo->offset,
|
||||
&set->buffer_heap_slots[set->layout->bindings[ptr.binding].buffer_idx]
|
||||
&set->buffer_heap_slots[dzn_descriptor_set_ptr_get_buffer_idx(set->layout, &ptr)]
|
||||
};
|
||||
|
||||
if (desc.buffer)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue