WIP: README: DARNER_PRELOAD_EARLY_FIRST also covers F1's preload #471

Draft
Jesper-A wants to merge 1 commit from Jesper-A/Darner:up-early-first-readme into Main
Collaborator

Refs #267

What it changes

Follow-up to #267 (merged at e2774917). It answers point 1 of the review: #267 (comment). TrustNo1 asked for this row there.

  • The problem on main: the README row for DARNER_PRELOAD_EARLY_FIRST does not say what "finished" means with the switch on. F1 > PRELOAD SHADERS goes through the same window and switch, and a first-start preload that ran --used writes the finished mark, so later starts do not preload again. With the switch on, nothing builds the other pipelines up front. They are made in play. The reviewer wrote this down as intended and asked for it in the row.
  • What this does: one README row, one sentence added: F1 > PRELOAD SHADERS builds only the used set too while the switch is on, a start that finished a used-set preload does not preload again, and darner preload --all from a shell builds everything. Docs only; no code.

How it was tested

  • Tested revision: branch up-early-first-readme @ 157dc1714, based on main 47d21cd3b.
  • Based on main 47d21cd3b. main is now d91d8e4d6; git merge-tree merges the branch cleanly there. Not rebased, not re-tested on the new main (WIP).
  • Commands and results: none run (one line of README). No gate was run on this branch.
  • Changes a default: no.
  • A/B result: not applicable.
  • Gates run on that revision: none. Not run: the three gates in AGENTS.md. They cannot be affected by a README row, but I did not run them.
  • Gameplay: not applicable. The sentence is the reviewer's own reading of the code; I did not re-run the F1 menu or a first start to check it.
  • Shader wave sizes tested: not applicable.
  • Hardware dependence: none.
  • Coverage gaps: the timing run and the note on hitches in the first minutes of play with only the used set, which the review lists as what takes #267 off WIP, are still pending and are not part of this PR.

Spec dependence

  • Likely general: text only.
  • May depend on our specs: nothing.
  • Untested elsewhere: not applicable.

Checklist

  • I ran this change in the game, or say below why it can't be (docs, tests only). Docs only: nothing to run.
  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md. (One README line, no game content.)
  • I recorded this PR's dependencies below.
    • Depends on: none

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches.
  • Related PRs (open PRs only; file lists read through the API): #450, #451 and #460 also edit README.md. None of them touches the DARNER_PRELOAD_EARLY_FIRST row (their README hunks are at about lines 954, 953 and 715; ours is at 874), so a conflict is not expected. Many other open PRs also list README.md; I did not compare those.
  • Replaces or overlaps: none found (no open PR changes this row or says this sentence).

This change was made with AI assistance (Claude Code).

Refs #267 ## What it changes Follow-up to #267 (merged at `e2774917`). It answers point 1 of the review: https://git.gtahub.st/TrustNo1/Darner/pulls/267#issuecomment-873199. TrustNo1 asked for this row there. - The problem on main: the README row for `DARNER_PRELOAD_EARLY_FIRST` does not say what "finished" means with the switch on. F1 > PRELOAD SHADERS goes through the same window and switch, and a first-start preload that ran `--used` writes the finished mark, so later starts do not preload again. With the switch on, nothing builds the other pipelines up front. They are made in play. The reviewer wrote this down as intended and asked for it in the row. - What this does: one README row, one sentence added: F1 > PRELOAD SHADERS builds only the used set too while the switch is on, a start that finished a used-set preload does not preload again, and `darner preload --all` from a shell builds everything. Docs only; no code. ## How it was tested - Tested revision: branch `up-early-first-readme` @ `157dc1714`, based on main `47d21cd3b`. - Based on main `47d21cd3b`. main is now `d91d8e4d6`; `git merge-tree` merges the branch cleanly there. Not rebased, not re-tested on the new main (WIP). - Commands and results: none run (one line of README). No gate was run on this branch. - Changes a default: no. - A/B result: not applicable. - Gates run on that revision: none. Not run: the three gates in AGENTS.md. They cannot be affected by a README row, but I did not run them. - Gameplay: not applicable. The sentence is the reviewer's own reading of the code; I did not re-run the F1 menu or a first start to check it. - Shader wave sizes tested: not applicable. - Hardware dependence: none. - Coverage gaps: the timing run and the note on hitches in the first minutes of play with only the used set, which the review lists as what takes #267 off WIP, are still pending and are not part of this PR. ## Spec dependence - Likely general: text only. - May depend on our specs: nothing. - Untested elsewhere: not applicable. ## Checklist - [x] I ran this change in the game, or say below why it can't be (docs, tests only). Docs only: nothing to run. - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md`. (One README line, no game content.) - [x] I recorded this PR's dependencies below. - Depends on: none ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. - Related PRs (open PRs only; file lists read through the API): #450, #451 and #460 also edit `README.md`. None of them touches the `DARNER_PRELOAD_EARLY_FIRST` row (their README hunks are at about lines 954, 953 and 715; ours is at 874), so a conflict is not expected. Many other open PRs also list `README.md`; I did not compare those. - Replaces or overlaps: none found (no open PR changes this row or says this sentence). This change was made with AI assistance (Claude Code).
Review of #267 (TrustNo1, point 1): F1 > PRELOAD SHADERS goes through the
same window and switch, so with the switch on only the used set is built
and a finished used-set preload is not repeated; darner preload --all
from a shell builds everything.

This change was made with AI assistance (Claude Code).
Jesper-A force-pushed up-early-first-readme from 157dc1714c to e698617efc 2026-12-05 16:39:36 +00:00 Compare
Author
Collaborator

Closing this old-engine PR because post-merge has its own preload window and DARNER_PRELOAD=0|1 (preload.rs:23-29); the switches this README row describes are not there.

Written with AI assistance (Claude Code).

Closing this old-engine PR because post-merge has its own preload window and `DARNER_PRELOAD=0|1` (`preload.rs:23-29`); the switches this README row describes are not there. Written with AI assistance (Claude Code).
Jesper-A closed this pull request 2026-12-06 01:26:35 +00:00
Jesper-A reopened this pull request 2026-12-06 01:52:09 +00:00
Author
Collaborator

Reopened: Main is the default branch again, so the close note above no longer applies.

Written with AI assistance (Claude Code).

Reopened: Main is the default branch again, so the close note above no longer applies. Written with AI assistance (Claude Code).
TrustNo1 changed title from WIP: [pr-docs][startup][shaders] README: DARNER_PRELOAD_EARLY_FIRST also covers F1's preload to WIP: README: DARNER_PRELOAD_EARLY_FIRST also covers F1's preload 2026-12-06 03:28:26 +00:00
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'up-early-first-readme:Jesper-A-up-early-first-readme'
git switch 'Jesper-A-up-early-first-readme'

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 'Main'
git merge --no-ff 'Jesper-A-up-early-first-readme'
git switch 'Jesper-A-up-early-first-readme'
git rebase 'Main'
git switch 'Main'
git merge --ff-only 'Jesper-A-up-early-first-readme'
git switch 'Jesper-A-up-early-first-readme'
git rebase 'Main'
git switch 'Main'
git merge --no-ff 'Jesper-A-up-early-first-readme'
git switch 'Main'
git merge --squash 'Jesper-A-up-early-first-readme'
git switch 'Main'
git merge --ff-only 'Jesper-A-up-early-first-readme'
git switch 'Main'
git merge 'Jesper-A-up-early-first-readme'
git push origin 'Main'
Sign in to join this conversation.
No reviewers
No milestone
No project
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.

Dependencies

No dependencies set

Reference
TrustNo1/Darner!471
No description provided.