Skip to content
New issue

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

Add Push Constant Support #28

Open
yshekel opened this issue Dec 31, 2024 · 0 comments
Open

Add Push Constant Support #28

yshekel opened this issue Dec 31, 2024 · 0 comments

Comments

@yshekel
Copy link

yshekel commented Dec 31, 2024

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant