mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
tests/d3d12: Avoid a warning about passing a pointer to a const uninitialized object.
I've seen this with clang version 21.1.5.
This commit is contained in:
committed by
Henri Verbeet
parent
2215117d72
commit
8a0e578f64
Notes:
Henri Verbeet
2025-11-25 20:41:24 +01:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1841
@@ -32539,6 +32539,7 @@ static void test_resource_allocation_info(void)
|
||||
return;
|
||||
}
|
||||
|
||||
memset(&desc, 0xcc, sizeof(desc));
|
||||
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. */
|
||||
|
||||
Reference in New Issue
Block a user