vulkan-go / vulkan

Vulkan API bindings for Go programming language
MIT License
742 stars 55 forks source link

DeviceCreateInfo.PEnabledFeatures should be a pointer, not a slice. #57

Open ibd1279 opened 2 years ago

ibd1279 commented 2 years ago

The Vulkan documentation for DeviceCreateInfo states that

pEnabledFeatures is NULL or a pointer to a VkPhysicalDeviceFeatures structure containing boolean indicators of all the features to be enabled.

But the currently generated DeviceCreateInfo has a slice instead of a pointer for the PEnabledFeatures field.

Is this a matter of adding another hint into struct section of vulkan.yml