projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c914679
)
dzn: Don't zero an output struct that can have pNext
author
Jesse Natalie
<jenatali@microsoft.com>
Fri, 5 May 2023 17:39:28 +0000
(10:39 -0700)
committer
Marge Bot
<emma+marge@anholt.net>
Mon, 15 May 2023 17:14:20 +0000
(17:14 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22879>
src/microsoft/vulkan/dzn_device.c
patch
|
blob
|
history
diff --git
a/src/microsoft/vulkan/dzn_device.c
b/src/microsoft/vulkan/dzn_device.c
index
f0f30dd
..
edf94ec
100644
(file)
--- a/
src/microsoft/vulkan/dzn_device.c
+++ b/
src/microsoft/vulkan/dzn_device.c
@@
-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;