I could replicate the issue by just running c-for-go on the current vulkan-go/vulkan code. You could presumably figure out what is causing the problem by trying out some of the incremental versions..
Some obvious changes in the generated code include the runtime.KeepAlive calls. I tried to turn it off but couldn't figure out how to turn that off -- tried adding SafeStrings: false in config.
See https://github.com/vulkan-go/vulkan/issues/43 and https://github.com/vulkan-go/vulkan/pull/62 for details.
I could replicate the issue by just running c-for-go on the current vulkan-go/vulkan code. You could presumably figure out what is causing the problem by trying out some of the incremental versions..
Some obvious changes in the generated code include the
runtime.KeepAlive
calls. I tried to turn it off but couldn't figure out how to turn that off -- tried addingSafeStrings: false
in config.