vkd3d: Store a D3D12_RESOURCE_DESC structure in struct vkd3d_image_resource_create_info.

Like we did before commit 6d4782ed7f. That
commit somehow managed to change the "desc" field from
D3D12_RESOURCE_DESC to D3D12_RESOURCE_DESC1, but that breaks the ABI.
This commit is contained in:
Henri Verbeet
2024-02-26 18:19:36 +01:00
committed by Alexandre Julliard
parent 7e27ae73af
commit 0914561f85
Notes: Alexandre Julliard 2024-02-26 23:11:00 +01:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/678
4 changed files with 11 additions and 11 deletions

View File

@@ -182,7 +182,7 @@ struct vkd3d_image_resource_create_info
const void *next;
VkImage vk_image;
D3D12_RESOURCE_DESC1 desc;
D3D12_RESOURCE_DESC desc;
unsigned int flags;
D3D12_RESOURCE_STATES present_state;
};