mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
tests/d3d12: Add a test for zero description count in test_resource_allocation_info().
This commit is contained in:
parent
4668271872
commit
99947deeb7
Notes:
Alexandre Julliard
2024-02-15 23:58:28 +01: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/627
@ -32214,6 +32214,10 @@ static void test_resource_allocation_info(void)
|
||||
return;
|
||||
}
|
||||
|
||||
info = ID3D12Device_GetResourceAllocationInfo(device, 0, 0, &desc);
|
||||
ok(info.SizeInBytes == 0, "Got unexpected size %"PRIu64".\n", info.SizeInBytes);
|
||||
/* Alignment on AMD Windows is 1, but this doesn't seem important to check. */
|
||||
|
||||
desc.Dimension = D3D12_RESOURCE_DIMENSION_BUFFER;
|
||||
desc.Alignment = 0;
|
||||
desc.Width = 32;
|
||||
|
Loading…
Reference in New Issue
Block a user