bevyengine / bevyengine/bevy

GPU Shaders and Pipelines aren't cleaned up when the relevant assets are removed

Open
#1,025 6 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.