Open robbiesri opened 4 years ago
Right now, we follow this pattern in the app code:
VkDeviceCreateInfo device_ci = { VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO, };
To be more clear (and safe), we should do one of these two patterns instead.
VkDeviceCreateInfo device_ci = { .stype = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO, }; VkDeviceCreateInfo device_ci = {}; device_ci .stype = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;
Right now, we follow this pattern in the app code:
To be more clear (and safe), we should do one of these two patterns instead.