mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
dzn: Don't zero an output struct that can have pNext
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22879>
This commit is contained in:
parent
c9146794d4
commit
eec07cdde4
1 changed files with 1 additions and 3 deletions
|
|
@ -901,9 +901,7 @@ dzn_physical_device_get_image_format_properties(struct dzn_physical_device *pdev
|
|||
const VkPhysicalDeviceExternalImageFormatInfo *external_info = NULL;
|
||||
VkExternalImageFormatProperties *external_props = NULL;
|
||||
|
||||
*properties = (VkImageFormatProperties2) {
|
||||
.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2,
|
||||
};
|
||||
properties->imageFormatProperties = (VkImageFormatProperties) { 0 };
|
||||
|
||||
VkImageUsageFlags usage = info->usage;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue