software-mansion / software-mansion/TypeGPU
feat: Swizzle assignment
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.2k
- Forks
- 122
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 34
Description
WGSL doesn't yet support swizzle assignment, but we can get ahead of the curve and add support for it.
We can either emit not-yet-valid WGSL, or add an option to down-level swizzle assignments into valid WGSL code.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. First locate the TypeScript handling for shader swizzles and determine whether the intended result is not-yet-valid WGSL or an option that lowers assignments to valid WGSL; the work is done when swizzle assignment support follows one of those defined strategies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100