mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Avoid redundantly initialising "descriptors" in d3d12_desc_flush_vk_heap_updates_locked().
As pointed out by Andrey Gusev.
This commit is contained in:
parent
f4778b727d
commit
133421a38c
Notes:
Alexandre Julliard
2023-05-26 22:16:53 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/214
@ -2334,8 +2334,6 @@ void d3d12_desc_flush_vk_heap_updates_locked(struct d3d12_descriptor_heap *descr
|
||||
if ((i = vkd3d_atomic_exchange(&descriptor_heap->dirty_list_head, UINT_MAX)) == UINT_MAX)
|
||||
return;
|
||||
|
||||
descriptors = (struct d3d12_desc *)descriptor_heap->descriptors;
|
||||
|
||||
writes.null_vk_cbv_info.buffer = VK_NULL_HANDLE;
|
||||
writes.null_vk_cbv_info.offset = 0;
|
||||
writes.null_vk_cbv_info.range = VK_WHOLE_SIZE;
|
||||
|
Loading…
Reference in New Issue
Block a user