vuda
vuda copied to clipboard
Add Push Constant Support
Description
I recently implemented push constant support for a VUDA fork that I have. This feature allows efficient passing of small amounts of data (like configurations or flags) from the CPU to the GPU without binding a buffer, leveraging Vulkan's push constant capabilities.
I'd like to propose contributing this implementation as a pull request if the maintainers are interested.
Use Case
Push constants are particularly useful for:
- Passing small data structures or values (e.g., configuration flags, transformation matrices) to shaders without creating and binding a buffer.
- Improving performance by minimizing GPU resource binding overhead, as push constants are directly accessible in shaders.