Previously, fixed sized arrays have not been parsed correctly when generating the Odin interface for Vulkan.
For example this signature:
typedef void (VKAPI_PTR *PFN_vkCmdSetBlendConstants)(VkCommandBuffer commandBuffer, const float blendConstants[4]); was transformed into ProcCmdSetBlendConstants :: #type proc "system" (commandBuffer: CommandBuffer) instead of ProcCmdSetBlendConstants :: #type proc "system" (commandBuffer: CommandBuffer, blendConstants: ^[4]f32).
This PR adjusts the python script which generates the Odin Code. 3 Vulkan functions have been affected and now have the missing argument.
Fixes #3799
Previously, fixed sized arrays have not been parsed correctly when generating the Odin interface for Vulkan. For example this signature:
typedef void (VKAPI_PTR *PFN_vkCmdSetBlendConstants)(VkCommandBuffer commandBuffer, const float blendConstants[4]);
was transformed intoProcCmdSetBlendConstants :: #type proc "system" (commandBuffer: CommandBuffer)
instead ofProcCmdSetBlendConstants :: #type proc "system" (commandBuffer: CommandBuffer, blendConstants: ^[4]f32)
.This PR adjusts the python script which generates the Odin Code. 3 Vulkan functions have been affected and now have the missing argument.