GPU Shaders and Pipelines aren't cleaned up when the relevant assets are removed
Open
A-Assets
A-Rendering
C-Bug
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
This means that as shaders and pipelines are loaded/unloaded, we slowly accumulate allocated gpu resources.
Now that we have live-shader reloading merged (#937), this is particularly important.
Contributor guide
Research direction
Start by tracing the shader and pipeline asset load and unload paths, then review the live-shader reloading work referenced in #937. Done means removing the relevant assets also releases their allocated GPU resources, including across repeated shader and pipeline reloads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100