mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Silence a bogus -Wmaybe-uninitialized.
This commit is contained in:
parent
3511b54040
commit
96c13aeb97
Notes:
Henri Verbeet
2024-10-28 18:14:14 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1227
@ -1355,8 +1355,8 @@ static struct resource_readback *vulkan_runner_get_resource_readback(struct shad
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
struct resource_desc resolved_desc = resource->r.desc;
|
struct resource_desc resolved_desc = resource->r.desc;
|
||||||
|
VkImage resolved_image = VK_NULL_HANDLE;
|
||||||
VkDeviceMemory resolved_memory;
|
VkDeviceMemory resolved_memory;
|
||||||
VkImage resolved_image;
|
|
||||||
|
|
||||||
aspect_mask = (resource->r.desc.type == RESOURCE_TYPE_DEPTH_STENCIL)
|
aspect_mask = (resource->r.desc.type == RESOURCE_TYPE_DEPTH_STENCIL)
|
||||||
? VK_IMAGE_ASPECT_DEPTH_BIT : VK_IMAGE_ASPECT_COLOR_BIT;
|
? VK_IMAGE_ASPECT_DEPTH_BIT : VK_IMAGE_ASPECT_COLOR_BIT;
|
||||||
|
Loading…
Reference in New Issue
Block a user