[pr-docs][MULDER] docs/larp-port.md: the larp ports already in Darner (T2) #706
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!706
Loading…
Reference in a new issue
No description provided.
Delete branch "Jesper-A/Darner:up-t2-larp-port"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task: T2
Research
What larp does. larp v1.1.0 (
reference/larp/) has no on/off switch for most of the features Darner ported from it. They are simply how larp works. Examples: the heap feed (crates/larp-gpu/src/heapfeed.rs:1-25), the texture heaps (texheap.rs), the write-combined heap committed on demand (wcdemand.rs:1-18), the alias pool owned by the card (regions.rs:106-125), giving up streamed textures' pages (streamed.rs:147-154,give_up), shared command allocators (allocators.rs), a table's room kept over a reset (host.rs:3550-3563,Reuse), and pipelines made ahead being released (pipeline/make.rs:174-190). Its front end always installs the decoded-result store (apps/larp/src/run.rs:38), the stream pager (run.rs:213) and the descriptor table hooks (run.rs:220). Indirect records run as the title made them, except a list of programs (indirect.rs:461OVER,indirect.rs:563-570bounded). Where larp has a switch, it is on by default: two host queues unlessLARP_ONE_QUEUE=1(queues.rs:87-102), and 8 recording threads unlessLARP_SUBRENDER_WORKERSsays otherwise (apps/larp/src/subrender.rs:622-627). The stream budget is the one that is off unless chosen: the--stream-budgetoption or the menu (crates/larp-hle/src/settings/extra.rs:71-76).What Darner does today (Main
33ff92cc4). The ports of 2026-12-05 (commitsfaa631a0b,ea947e133,290430956,2b239cc77,f6d87e70a,247215f80,e93a8dbcc,2f22e4111,b43f04d4b,9d7347c98,3fa26046a,ace6ee425,d17debbc4) brought 15 of these in, each behind its ownDARNER_switch. 14 are off by default.DARNER_PIPELINE_RELEASEis on unless0(crates/darner-gpu/src/pipeline/make.rs:509-510). None is in play mode'sSETTINGS(apps/darner/src/play.rs:67) or in the README's switch tables. Several are partial ports: the heap feed is the transport only (crates/darner-gpu/src/host/heapfeed.rs:5-17), table fills are the transient half only (crates/darner-gpu/src/tablefill.rs:1-3), the write-combined heap is the commit on demand only (crates/darner-hle/src/wcdemand.rs:1-4), and the compute queue is a second direct queue, not a compute queue (crates/darner-gpu/src/host/compute_queue.rs:1-22). No page lists them all together.The difference. larp runs all of these together and (mostly) always. Darner has them as separate switches, off, and some cut down. The ROADMAP's Frozen section says staff's rebar branch deletes or replaces most of the files (A1, A8, A9, A10, A12, D6b, D6c).
Plan. One new file,
docs/larp-port.md: one table with each switch, what it does, its larp source, its Darner files, its default and values, known problems (only where a source is named), and what the ROADMAP says rebar does with it. Notes for the cells that are too long, and the commit of each port. Docs only: no code, no switch, no default changed.Contributor role (optional)
What it changes
Adds
docs/larp-port.md(90 lines, the only file in this pull request). It covers the 15 switches named on the T2 row. Each known problem in it comes from the code, a commit message, or an issue or pull request; none of the switches was run for this page. Where the ROADMAP says nothing about rebar for a port, the cell says "Not stated".How it was tested
af5880f26(on Main33ff92cc4).cargo xtask policy --staged, run at commit time: asset policy ok, 1 file. Nothing else was run. The file references were read from the code on Main33ff92cc4and fromreference/larp/; the game was not run and nothing was built.summary.jsonis attached.cargo xtask policy --stagedonly.cargo clippy --workspace --all-targets --locked -- -D warnings, the same with--all-features, andcargo test --workspace --lockedwere not run: the change is one markdown file.Checklist
main.docs/asset-policy.md.Checked for overlap
Spec dependence
Likely general: docs only, nothing that depends on a card, driver or PC.
This change was made with AI assistance (Claude Code).
Next task for @Jesper-A: T3 — Where Darner's RAM goes: from a 1-hour
scripts\bench.ps1run, break the commit down (title copies, upload buffers, pipelines, textures, card spill) withDARNER_MEM_OWNERS=1and the memory lines; post a table (needs: game)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.