Skip to content

p#388 Improve protections and loggiong around shader cache saving#5957

Merged
akleshchev merged 1 commit into
developfrom
andreyk/viewer_p388
Jun 26, 2026
Merged

p#388 Improve protections and loggiong around shader cache saving#5957
akleshchev merged 1 commit into
developfrom
andreyk/viewer_p388

Conversation

@akleshchev

Copy link
Copy Markdown
Contributor

Basic logging for diagnosis and some protections

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR strengthens shader cache metadata persistence by adding guardrails and additional logging in LLShaderMgr::persistShaderCacheMetadata() to help diagnose cache-save issues.

Changes:

  • Validate the shader cache directory before attempting to write metadata.
  • Track and log how many cache entries are persisted vs. removed due to LRU expiry.
  • Add additional handling around stale shaderbin file removal and metadata serialization.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread indra/llrender/llshadermgr.cpp Outdated
Comment thread indra/llrender/llshadermgr.cpp Outdated
Comment thread indra/llrender/llshadermgr.cpp
Comment thread indra/llrender/llshadermgr.cpp Outdated
@akleshchev akleshchev merged commit 14262bf into develop Jun 26, 2026
15 checks passed
@akleshchev akleshchev deleted the andreyk/viewer_p388 branch June 26, 2026 15:42
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants