mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Initialise resource_desc1.Layout in test_get_copyable_footprints() (Valgrind).
This commit is contained in:
parent
d10031911d
commit
46bd3b1545
Notes:
Alexandre Julliard
2024-04-03 00:22:44 +02:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/753
@ -20302,6 +20302,7 @@ static void test_get_copyable_footprints(void)
|
||||
resource_desc1.Format = resource_desc.Format;
|
||||
resource_desc1.SampleDesc.Count = resource_desc.SampleDesc.Count;
|
||||
resource_desc1.SampleDesc.Quality = resource_desc.SampleDesc.Quality;
|
||||
resource_desc1.Layout = resource_desc.Layout;
|
||||
resource_desc1.Flags = resource_desc.Flags;
|
||||
memset(&resource_desc1.SamplerFeedbackMipRegion, 0, sizeof(resource_desc1.SamplerFeedbackMipRegion));
|
||||
memset(layouts, 0, sizeof(layouts));
|
||||
|
Loading…
Reference in New Issue
Block a user