mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +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> (cherry picked from commit6674f04fc2)
This commit is contained in:
parent
a59bb82ce7
commit
600c9dff96
2 changed files with 3 additions and 3 deletions
|
|
@ -634,7 +634,7 @@
|
|||
"description": "dzn: Fix src/dest confusion for some non-bindless descriptor copies",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "5d2b4ee4f493bec3ddd510a742902dad87da5dde"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2251,9 +2251,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