docs: correct eleven rows of the environment variable reference #12091
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12091"
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?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-27T20:16:24Z.
What
Eleven rows of
docs/dev/ENVIRONMENT.mddid not match the code that reads the variable. One commit per fix:APS5_STORE_AT_LABEL: kindstring;StoreAtLabelRequestedaccepts only1and throws otherwise, likeAPS5_STORE_AT_FLIP.APS5_SRGB_SHADER_DECODE: kindstring; only1andcopyhave an effect.APS5_NO_PERF_FRONTEND_PAIRandAPS5_NO_PERF_LAYOUT_PAIR: they are read bycore/shader/recompiler/Recompiler.cpp, not only by the shader-memory test.APS5_SPIRV_OPT: the production reader isSpirvBackend/src/SpirvOptimizer.cpp, not the test.APS5_TRACE_SKIPS: each distinct skip is already reported once; the variable only addsagainlines for repeats.APS5_TRACE_BENCH: only the last 240 intervals are kept (TraceBench::MaximumIntervals).APS5_TIME_SCALE: kindstring; the value is parsed withstrtod, so the integer kind contradicted the fractional factors the row mentions.APS5_TRACE_TIMERS,APS5_JOB_AFFINITY,APS5_JOB_AFFINITY_MASK,APS5_NO_JOB_AFFINITYandAPS5_TRACE_QUERYare compiled under_WIN32only; the rows now say so.APS5_USB_STORAGE_PASSTHROUGH: volumes the host mounted read-only stay read-only.APS5_TRACE_EVENTS: range 1 through 4,194,304, default 262,144.APS5_SAVEDATA_TRACE: the limit of three applies to each logging site.Documentation only.
APS5_PLAYGO_UNLISTED_CHUNKShas a similar inaccuracy but is left out because #11899 edits that row.Tested
Documentation only. Each row was checked against its reader on current
main.tools/env_reference.py --check(511 names, all documented),tools/check_conventions.py --base upstream/mainandgit diff --checkpass. Windows-only and macOS code paths were read, not run.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by THEMANnt on 2026-10-28T10:56:57Z.
Review: APPROVED
Reviewed
c95f8f80e063da08188e19d3847bd3cb4f1514b0against author merge based13b3d7c55a433c7a5040076d849dbe59fad4b53— approve the documentation change.The environment rows agree with the pinned getenv/parsing sites, including presence switches, strict TRACE_BENCH=1, windowed trace-event capacity, SPIR-V optimizer strings and job-affinity precedence. These are source checks; no performance or host-affinity measurement was repeated.
Validation: checked the submitted Markdown diff, pinned implementation references and relative links;
git diff --checkpassed. This changes documentation only. Title disassembly and console observations were not independently reproduced; no runtime regression result is claimed.