mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d: Support multiple descriptions in GetResourceAllocationInfo().
This commit is contained in:
committed by
Alexandre Julliard
parent
8d0331df6c
commit
7e84421b9c
Notes:
Alexandre Julliard
2024-02-01 23:07:43 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/617
@@ -32284,11 +32284,9 @@ static void test_resource_allocation_info(void)
|
||||
: D3D12_DEFAULT_RESOURCE_PLACEMENT_ALIGNMENT;
|
||||
}
|
||||
info = ID3D12Device_GetResourceAllocationInfo(device, 0, ARRAY_SIZE(desc_array), desc_array);
|
||||
todo
|
||||
ok(info.Alignment >= D3D12_DEFAULT_RESOURCE_PLACEMENT_ALIGNMENT,
|
||||
"Got unexpected alignment %"PRIu64".\n", info.Alignment);
|
||||
check_alignment(info.SizeInBytes, info.Alignment);
|
||||
todo
|
||||
ok(info.SizeInBytes >= total, "Got unexpected size %"PRIu64".\n", info.SizeInBytes);
|
||||
|
||||
refcount = ID3D12Device_Release(device);
|
||||
|
Reference in New Issue
Block a user