[pr-docs][shaders] AGENTS.md and module docs match main: anchors, figures, the shader cache key #408
Loading…
Reference in a new issue
No description provided.
Delete branch "iboom72/agents-anchors-match-main"
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?
What it changes
f3840d73. Each item below was checked against the code.The shader cache key. AGENTS.md,
crates/darner-shader/build.rsandemit/cost.rssay switch values join the key throughtranslation_fingerprint. That function has no caller. The key isshader_cache.rsbuild():DARNER_TRANSLATOR, each name inKEYED, andhost_settings(). #10 followed these docs and left its switch out ofKEYED. The docs now nameKEYEDand the testevery_switch_of_the_translator_is_in_the_key. AGENTS.md's Important Files gets ashader_cache.rsrow.AGENTS.md anchors and figures:
run.rs:106run.rs:337host.rs:10219host.rs:20069(present_planes)logging.rs:16-28CAPatlogging.rs:31-35main.rsCommandat:198:354bitcode.rs:1248-1257written_bytes_unchanged,bitcode.rs:1677architecture.mdpolicy.rs:17-19ALLOWED_EXTENSIONSandEXCEPTIONSCargo.toml)docs/architecture.md:45)#[test]functions; "ten sibling*_tests.rs"floatandmemory, andapps/darner'scache_pathsandpicked_foldersDARNER_*names, 389 in darner-gpu, by the grep it givesshortcut:tags; 231 of 238 files open with//!rust-version = 1.88Cargo.tomlbuild.rs:24-28, so "churning it" re-keys:275-276, and only the entries of the packages darner-shader is built fromcrates/darner-simd,locales/andtools/Commandatmain.rs:354Module docs:
modules/mod.rs: the "planned areas"files,xaudio2andxstoreexist.lib.rs: it is the shader cache, not an offline converter.lower.rs:84: the link is nowRayQueries::tlas_srvs(the field moved).The darner-shader edits are comments only.
DARNER_TRANSLATORdrops comments (crates/darner-gpu/build.rscode()), and darner-shader's ownbuild.rsis outside the hashedsrc, so the shader cache key is unchanged.How it was tested
c7eaf931(onmainf3840d73)cargo xtask policy: 555 files ok.git diffovercrates/darner-shader/srchas no line that is not a//comment. The counts come fromgit grepandgit ls-filesatf3840d73; a crate's lines are all its.rsfiles.RayQueries::tlas_srvs) was checked by reading only.Checklist
main.docs/asset-policy.md.Checked for overlap
Cargo.toml, #10 editscost.rs, and 23 open PRs editlower.rs. Withgit merge-treeagainst their current heads, none gets a conflict from this branch: those that conflict withmain(#10, #33, #38-#41, #43-#49, #96) do so in the same number of places with or without it. #10 citedtranslation_fingerprintfrom these docs.Checked with AI assistance (Claude Code).
🤖 Generated with Claude Code
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.