warm: make pipelines with the static samplers' places a run uses #170

Open
github-bot wants to merge 1 commit from github-bot/gh-170 into amd AGit
Owner

@⁠mahhnameisjeff on GitHub · 2026-12-03 14:28 UTC · original
mahhnameisjeff:amd-warm-static-sampler-places → amd · +21 −1 · 2 files · 1 commits · open

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

The driver gives each static sampler a place when a root signature is
created, in order of first sight, and the place is baked into compiled
pipelines. A run reads static-samplers.txt to keep the order;
jaxe warm did not (the list is only read when the library folder is
set), so warmed pipelines did not match what the run asks for and the
driver compiled them again during play.

sampler_order::read_list_from lets known::make read the list from the
cache folder read-only (warm never writes it). After a fresh warm with
this, runs report made=0 pipelines compiled during play in the pipeline
library line.

Related: #141 (shaders still compiled during gameplay after Warm Shaders).

🤖 Generated with Claude Code

**@⁠mahhnameisjeff** on GitHub · 2026-12-03 14:28 UTC · [original](https://github.com/eikkapine/jaxe/pull/170) `mahhnameisjeff:amd-warm-static-sampler-places` → `amd` · +21 −1 · 2 files · 1 commits · open Base: origin/amd (0902398). Independent of the other PRs from this batch. The driver gives each static sampler a place when a root signature is created, in order of first sight, and the place is baked into compiled pipelines. A run reads `static-samplers.txt` to keep the order; `jaxe warm` did not (the list is only read when the library folder is set), so warmed pipelines did not match what the run asks for and the driver compiled them again during play. `sampler_order::read_list_from` lets `known::make` read the list from the cache folder read-only (warm never writes it). After a fresh warm with this, runs report `made=0` pipelines compiled during play in the pipeline library line. Related: #141 (shaders still compiled during gameplay after Warm Shaders). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Base: origin/amd (0902398). Independent of the other PRs from this batch.

The driver gives each static sampler a place when a root signature is
created, in order of first sight, and the place is baked into compiled
pipelines. A run reads `static-samplers.txt` to keep the order;
`jaxe warm` did not (the list is only read when the library folder is
set), so warmed pipelines did not match what the run asks for and the
driver compiled them again during play.

`sampler_order::read_list_from` lets `known::make` read the list from the
cache folder read-only (warm never writes it). After a fresh warm with
this, runs report `made=0` pipelines compiled during play in the pipeline
library line.

Related: #141 (shaders still compiled during gameplay after Warm Shaders).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 14:35:11 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/170/head:github-bot/gh-170'
git switch 'github-bot/gh-170'

Merge

Merge the changes and update on Forgejo.
git switch 'amd'
git merge --no-ff 'github-bot/gh-170'
git switch 'github-bot/gh-170'
git rebase 'amd'
git switch 'amd'
git merge --ff-only 'github-bot/gh-170'
git switch 'github-bot/gh-170'
git rebase 'amd'
git switch 'amd'
git merge --no-ff 'github-bot/gh-170'
git switch 'amd'
git merge --squash 'github-bot/gh-170'
git switch 'amd'
git merge --ff-only 'github-bot/gh-170'
git switch 'amd'
git merge 'github-bot/gh-170'
git push origin 'amd'
This discussion has been locked. Commenting is limited to contributors.
No description provided.