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 support for push constants #106

Closed
alexander-g opened this issue Jan 2, 2021 · 2 comments
Closed

Add support for push constants #106

alexander-g opened this issue Jan 2, 2021 · 2 comments

Comments

@alexander-g
Copy link
Contributor

Currently only tensors are implemented which are based on buffers. They can be used for large amounts of data but are inefficient for small frequently changing values, e.g. when chaining the same shader. This is what push constants are for.
I could try to contribute, might need some input how the API should look like.

@axsaucedo
Copy link
Member

I completely agree @alexander-g, this is already covered in #54 and is scheduled for 0.7.0 and more specifically #12 which is scheduled for 0.5.2. Currerntly it's not clear what is the best way to expose these, as currently there is no standard way to "modify" data through the Sequence / Manager interface. I would be open to suggestions on what the API for this coudl look like, as it's currently not set in stone.

@axsaucedo
Copy link
Member

Duplicate of #54

@axsaucedo axsaucedo marked this as a duplicate of #54 Feb 21, 2021
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

2 participants