CmdUpdateBuffer pData parameter should be const
- Dominant language
- C#
- Stars
- 5.2k
- Forks
- 477
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 2
Description
# Summary
The generated bindings for [`vkCmdUpdateBuffer`](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdUpdateBuffer.html) have the `pData` parameter marked as [`ref`](https://github.com/dotnet/Silk.NET/blob/main/src/Vulkan/Silk.NET.Vulkan/Vk.gen.cs#L1422) (or [`Span`](https://github.com/dotnet/Silk.NET/blob/main/src/Vulkan/Silk.NET.Vulkan/VkOverloads.gen.cs#L1402) for the Span overloads), rather than `in` or `ReadOnlySpan`. The official documentation for [`vkCmdUpdateBuffer`](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdUpdateBuffer.html) has the `pData` parameter marked const.
These parameters should be treated like other `const` parameters, and take an `in` or `ReadOnlySpan` argument.
# Steps to reproduce
N/A
Contributor guide
Assessment
This issue has not been assessed yet.