software-mansion / software-mansion/TypeGPU

docs: A blog post detailing how compute shaders get dispatched

Open
#1,849 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

📝 blog post
Dominant language
TypeScript
Stars
3.2k
Forks
122
Avg merge
3d 5h
Merged PRs (30d)
34

Description

A guide to compute shaders in WebGPU (TypeGPU)

  • What's a workgroup?
  • If I write a compute shader, how does it run in parallel?
  • What's the concurrency model in compute shaders?
  • Utilizing all 3 dimensions, and how to model problems around n-dimensional grids

It would be awesome to create interactive components in React that readers can interact with and see the result of specific computations, and how WebGPU/TypeGPU code maps to concepts that we describe.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository's existing documentation structure and TypeGPU examples before scoping the guide. Cover workgroups, parallel execution, the compute-shader concurrency model, and three-dimensional grids; define the interactive React components and examples needed to show how the concepts map to WebGPU/TypeGPU code.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
computer-graphics, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.