Skip to content

Cache color bind group - #497

Merged
mkeeter merged 1 commit into
mainfrom
cache-color-bind-group
Sep 24, 2026
Merged

mkeeter merged 1 commit into
mainfrom
cache-color-bind-group

Conversation

@mkeeter

@mkeeter mkeeter commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Probably doesn't matter, but it's an easy-enough change...

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Caches the pixel color bind group per merge workspace and invalidates it when output buffers resize.

Changes:

  • Adds lazy bind-group caching.
  • Invalidates the cache on buffer resize.
  • Reuses the cached bind group during color evaluation.
File Description
fidget-wgpu/​src/​pixel/​effects/​mod.rs Implements color bind-group caching and resize invalidation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mkeeter
mkeeter merged commit 4f11137 into main Sep 24, 2026
14 checks passed
@mkeeter
mkeeter deleted the cache-color-bind-group branch September 24, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants