vulkan-go / vulkan

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

CreateGraphicsPipelines clobbers its pCreateInfos parameter #27

Open paul-lalonde opened 5 years ago

paul-lalonde commented 5 years ago

I go in with valid pCreateInfos, but on return it's been clobbered. This looks to happen in the unmarshalling of the parameter values back from the C call. I suspect c-for-go more than the vulkan bindings.

xlab commented 5 years ago

Hey, a small code piece would be helpful. Can you check if same thing you're trying to achieve is existing in https://github.com/vulkan-go/asche ? It's a good example for very basic stuff.