We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CmdSetBlendConstants
vendor:vulkan
Odin Version and OS:
Odin: dev-2024-06:f1779c85d OS: Manjaro Linux, Linux 6.1.80-1-MANJARO CPU: 12th Gen Intel(R) Core(TM) i7-1260P RAM: 31806 MiB Backend: LLVM 14.0.6
vulkan_core.h specifies:
typedef void (VKAPI_PTR *PFN_vkCmdSetBlendConstants)(VkCommandBuffer commandBuffer, const float blendConstants[4]);
but in vendor/vulkan/procedures.odin the function signature is:
ProcCmdSetBlendConstants :: #type proc "system" (commandBuffer: CommandBuffer)
This is wrong and currently makes it not possible to dynamically set blend constants in a vulkan application. I think the signature in odin should be
ProcCmdSetBlendConstants :: #type proc "system" (commandBuffer: CommandBuffer, blendConstants: [4]f32)
The text was updated successfully, but these errors were encountered:
Created a PR to fix it, not sure if other Vulkan functions also have similar problems.
Sorry, something went wrong.
vender:vulkan
Successfully merging a pull request may close this issue.
Context
Odin Version and OS:
Current & Expected Behavior
vulkan_core.h specifies:
but in vendor/vulkan/procedures.odin the function signature is:
This is wrong and currently makes it not possible to dynamically set blend constants in a vulkan application. I think the signature in odin should be
The text was updated successfully, but these errors were encountered: