mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
dzn: Fix src/dest confusion for some non-bindless descriptor copies
Fixes: 5d2b4ee4 ("dzn: Allocate descriptor sets in buffers for bindless mode")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23218>
This commit is contained in:
parent
5a43a50319
commit
6674f04fc2
1 changed files with 2 additions and 2 deletions
|
|
@ -2304,9 +2304,9 @@ dzn_descriptor_set_copy(struct dzn_device *device,
|
|||
}
|
||||
|
||||
if (dzn_descriptor_type_depends_on_shader_usage(src_type, device->bindless)) {
|
||||
src_heap_offset = dst_set->heap_offsets[type] +
|
||||
src_heap_offset = src_set->heap_offsets[type] +
|
||||
dzn_descriptor_set_ptr_get_heap_offset(src_set->layout, type, &src_ptr, true, device->bindless);
|
||||
dst_heap_offset = src_set->heap_offsets[type] +
|
||||
dst_heap_offset = dst_set->heap_offsets[type] +
|
||||
dzn_descriptor_set_ptr_get_heap_offset(dst_set->layout, type, &dst_ptr, true, device->bindless);
|
||||
assert(src_heap_offset != ~0);
|
||||
assert(dst_heap_offset != ~0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue