Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

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
Contributor

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
Contributor 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants