[go-nuts] Vulkan wrapper (was Re: c-for-go and slice output parameters)

2021-11-21 Thread 'Jason Watson' via golang-nuts
I got frustrated trying to figure out the c-for-go side of things, so I wrote my own lightweight wrapper over the vulkan API. Instead of trying to reverse engineer the c header files, I started with their published XML specification. https://github.com/ibd1279/vks Jmw On Saturday, November 13,

[go-nuts] c-for-go and slice output parameters.

2021-11-13 Thread 'Jason Watson' via golang-nuts
Does anyone know how to configure c-for-go to work with output function parameters - specifically slices? I was trying to play around with adding some vulkan 1.1 and vulkan 1.2 bindings to the vulkan-go bindings (github.com/vulkan-go/vulkan), but in order to regenerate the bindings, I needed to