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

Clean up shaders. #9

Open
3 tasks
dragostis opened this issue Dec 16, 2022 · 2 comments
Open
3 tasks

Clean up shaders. #9

dragostis opened this issue Dec 16, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dragostis
Copy link
Collaborator

Currently, some shaders use templating, others don't, while also using different invocation styles.

We should:

  • organize shaders better with the use of imports
  • have more variables be configurable by templating (e.g. workgroup size)
  • use the same value for max invocations per dispatch and have one single method to deal with this limitation.
@dragostis dragostis added enhancement New feature or request good first issue Good for newcomers labels Dec 16, 2022
@ayshiff
Copy link

ayshiff commented Dec 17, 2022

I would be happy to work on that! 👍

@dragostis
Copy link
Collaborator Author

Let's start by finding the right template engine to use. Ideally, a very small one with import support would be ideal. Currently, we're using ramhorns, but maybe there's a better alternative?

Also, maybe there's an alternative that can do most of the work offline (i.e. at compile time) and leave perhaps one or tweo variables overiddable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants