shader cache: JAXE_SHADER_FRESH=<file> translates again only the shaders it lists #173

Open
mahhnameisjeff wants to merge 1 commit from upstream-pr/173 into amd
mahhnameisjeff commented 2026-12-03 14:28:56 +00:00 (Migrated from github.com)

Imported from eikkapine/jaxe. Originally posted by mahhnameisjeff on 2026-12-03T14:28:56Z.


Base: origin/amd (0902398). Independent of the other PRs from this batch.

JAXE_SHADER_FRESH=1 makes a run translate again every entry an earlier
build of the translator made. A file path instead lists the shaders (the 16
hex digits a log names a shader by, one or more a line) whose stale
entries are made again in the run that meets them; the others are served
as they are. For a translator change that alters a few programs: a run
picks up those without translating tens of thousands again. (jaxe translate --warm keys some host settings otherwise than a run does, so it
could not refresh the run's entries.) Used to roll out the 77 shaders the page-reuse change alters.

Logs one line with the file and the count when it is set.

🤖 Generated with Claude Code

<!-- greyfinch-sync:eikkapine/jaxe:issue:5628467685 --> Imported from [eikkapine/jaxe](https://github.com/eikkapine/jaxe/pull/173). Originally posted by [mahhnameisjeff](https://github.com/mahhnameisjeff) on 2026-12-03T14:28:56Z. --- Base: origin/amd (0902398). Independent of the other PRs from this batch. `JAXE_SHADER_FRESH=1` makes a run translate again every entry an earlier build of the translator made. A file path instead lists the shaders (the 16 hex digits a log names a shader by, one or more a line) whose stale entries are made again in the run that meets them; the others are served as they are. For a translator change that alters a few programs: a run picks up those without translating tens of thousands again. (`jaxe translate --warm` keys some host settings otherwise than a run does, so it could not refresh the run's entries.) Used to roll out the 77 shaders the page-reuse change alters. Logs one line with the file and the count when it is set. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/173:upstream-pr/173'
git switch 'upstream-pr/173'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'amd'
git merge --no-ff 'upstream-pr/173'
git switch 'upstream-pr/173'
git rebase 'amd'
git switch 'amd'
git merge --ff-only 'upstream-pr/173'
git switch 'upstream-pr/173'
git rebase 'amd'
git switch 'amd'
git merge --no-ff 'upstream-pr/173'
git switch 'amd'
git merge --squash 'upstream-pr/173'
git switch 'amd'
git merge --ff-only 'upstream-pr/173'
git switch 'amd'
git merge 'upstream-pr/173'
git push origin 'amd'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
eikkapine/jaxe!173
No description provided.