tests: Initialise resource_desc1.Layout in test_get_copyable_footprints() (Valgrind).

This commit is contained in:
Henri Verbeet 2024-04-02 16:29:52 +02:00 committed by Alexandre Julliard
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

View File

@ -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));