README: explain how to disable full-size frame dumps #2973

Open
luckyteagirl wants to merge 1 commit from upstream-pr/2973 into main
luckyteagirl commented 2026-11-27 05:51:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-27T05:51:03Z.


Explain how to return frame dumps to reduced sampling. XCL checks whether XCL_FRAME_DUMP_FULL exists, so setting it to 0 still enables full-size dumps.

What is in it

  • README.md says that any set value enables full sampling and that unsetting the variable restores reduced sampling.

Tested

  • Windows 11 build 26200.9711, AMD Ryzen 9 5980HX, Rust 1.99.0 x64 MSVC, debug.
  • Compiled the exact sample-step expression from present.rs in a temporary CPU-only Rust fixture. All three cases matched: unset sampled with step 4, and 0 and 1 used step 1.
  • git diff --check passed.

Not tested

  • The GPU readback path, a retail title, and the Cargo workspace suite were not run for this documentation change.

AI use

  • OpenAI Codex (GPT-6, exact serving variant unavailable) checked the code, verified the three cases, edited the README, and wrote this description.
<!-- greyfinch-sync:ivall/xcl:issue:5521918077 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2973). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-27T05:51:03Z. --- Explain how to return frame dumps to reduced sampling. XCL checks whether `XCL_FRAME_DUMP_FULL` exists, so setting it to `0` still enables full-size dumps. **What is in it** - `README.md` says that any set value enables full sampling and that unsetting the variable restores reduced sampling. **Tested** - Windows 11 build 26200.9711, AMD Ryzen 9 5980HX, Rust 1.99.0 x64 MSVC, debug. - Compiled the exact sample-step expression from `present.rs` in a temporary CPU-only Rust fixture. All three cases matched: unset sampled with step 4, and `0` and `1` used step 1. - `git diff --check` passed. **Not tested** - The GPU readback path, a retail title, and the Cargo workspace suite were not run for this documentation change. **AI use** - OpenAI Codex (GPT-6, exact serving variant unavailable) checked the code, verified the three cases, edited the README, and wrote this description.
Foniass commented 2026-12-01 09:15:05 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:15:05Z.


Triage (#1607) – head 36045a5

No open or merged PR makes the same change. The text is correct: present.rs uses std::env::var_os("XCL_FRAME_DUMP_FULL").is_some(), so any value, 0 included, samples every texel. No problems found in the diff. The PR currently conflicts with main's README.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7306429742 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2973#issuecomment-7306429742). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T09:15:05Z. --- **Triage (#1607)** – head 36045a5 No open or merged PR makes the same change. The text is correct: `present.rs` uses `std::env::var_os("XCL_FRAME_DUMP_FULL").is_some()`, so any value, `0` included, samples every texel. No problems found in the diff. The PR currently conflicts with main's README. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2973:upstream-pr/2973'
git switch 'upstream-pr/2973'

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 'upstream-pr/2973'
git switch 'upstream-pr/2973'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2973'
git switch 'upstream-pr/2973'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2973'
git switch 'main'
git merge --squash 'upstream-pr/2973'
git switch 'main'
git merge --ff-only 'upstream-pr/2973'
git switch 'main'
git merge 'upstream-pr/2973'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
xcl-dev/xcl!2973
No description provided.