docs: fix the dangling HDR TODO reference #2844

Open
kyle7908 wants to merge 1 commit from upstream-pr/2846 into main
kyle7908 commented 2026-11-25 22:09:28 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kyle7908 on 2026-11-25T22:09:28Z.


Refs #760

Update the // shortcut: comment in try_enable_hdr to point to README.md, where the status table lists HDR as missing. The diff changes one comment line and preserves the runtime behavior.

Thanks to Conrage for reporting the dangling reference, Ingenioeren for tracing the HDR behavior, and studiostephe for documenting the presentation status in the issue discussion.

Validation

  • Checked the one-line diff against upstream 63bcca43 and had it independently reviewed.
  • Passed the Windows SDR/display-deferral test, strict victory-hle Clippy with default and all features, rustfmt for display.rs, git diff --check, and the full and staged asset-policy checks.

Codex assisted with drafting, validation, and review.

<!-- greyfinch-sync:Marvisak/VIctory:issue:5500026532 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2846). Originally posted by [kyle7908](https://github.com/kyle7908) on 2026-11-25T22:09:28Z. --- Refs #760 Update the `// shortcut:` comment in `try_enable_hdr` to point to `README.md`, where the status table lists HDR as missing. The diff changes one comment line and preserves the runtime behavior. Thanks to Conrage for reporting the dangling reference, Ingenioeren for tracing the HDR behavior, and studiostephe for documenting the presentation status in the issue discussion. ## Validation - Checked the one-line diff against upstream `63bcca43` and had it independently reviewed. - Passed the Windows SDR/display-deferral test, strict `victory-hle` Clippy with default and all features, `rustfmt` for `display.rs`, `git diff --check`, and the full and staged asset-policy checks. Codex assisted with drafting, validation, and review.
kotekompotek commented 2026-11-25 22:52:00 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T22:52:00Z.

Review: COMMENTED


Honest documentation — the relative source links resolve, and noting decisions 0003/0005/0007 aren't in the repo avoids implying coverage that isn't there. LGTM.

<!-- greyfinch-sync:Marvisak/VIctory:review:6066078216 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2846#pullrequestreview-6066078216). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-25T22:52:00Z. **Review:** COMMENTED --- Honest documentation — the relative source links resolve, and noting decisions 0003/0005/0007 aren't in the repo avoids implying coverage that isn't there. LGTM.
fuzeofficlal commented 2026-11-26 00:30:41 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T00:30:41Z.

Review: COMMENTED


Verified head 55099d15 cleanly merged onto origin/main (63bcca43) on Windows 11 x64.

  • Checked all 9 new relative source links in docs/architecture.md and the docs/architecture.md#presentation anchor referenced from crates/victory-hle/src/modules/display.rs: all targets exist and match.
  • cargo test --locked -p victory-hle --lib -- display (1/1), cargo clippy --locked -p victory-hle --all-targets -- -D warnings (default and --all-features), git diff --check, and cargo xtask policy (191 files ok): clean.

Looks good.

<!-- greyfinch-sync:Marvisak/VIctory:review:6066926253 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2846#pullrequestreview-6066926253). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-26T00:30:41Z. **Review:** COMMENTED --- Verified head `55099d15` cleanly merged onto `origin/main` (`63bcca43`) on Windows 11 x64. ### Link & Build Verification - Checked all 9 new relative source links in `docs/architecture.md` and the `docs/architecture.md#presentation` anchor referenced from `crates/victory-hle/src/modules/display.rs`: all targets exist and match. - `cargo test --locked -p victory-hle --lib -- display` (**1/1**), `cargo clippy --locked -p victory-hle --all-targets -- -D warnings` (default and `--all-features`), `git diff --check`, and `cargo xtask policy` (`191 files ok`): clean. Looks good.
Marvisak commented 2026-11-26 04:06:16 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-26T03:22:36Z.


Automated triage for the maintainers.

Merge candidate. Thanks for cutting this down; the earlier close proposal no longer applies. The PR is now the one-line change asked for: in try_enable_hdr (victory-hle/src/modules/display.rs) the comment points to README.md, whose GPU "world" row lists HDR as missing, instead of the absent TODO.md, keeping the // shortcut: marker. The docs/architecture.md additions are gone.

CI: passing.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7181663830 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2846#issuecomment-7181663830). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-26T03:22:36Z. --- <!-- victory-triage v1 head=3c185641d2fcb60b6682ebef0482eaa90e2545e0 verdict=merge-candidate at=2026-11-26T04:24:18Z --> Automated triage for the maintainers. **Merge candidate.** Thanks for cutting this down; the earlier close proposal no longer applies. The PR is now the one-line change asked for: in `try_enable_hdr` (`victory-hle/src/modules/display.rs`) the comment points to `README.md`, whose GPU "world" row lists HDR as missing, instead of the absent `TODO.md`, keeping the `// shortcut:` marker. The `docs/architecture.md` additions are gone. CI: passing. --- _Generated by [Claude Code](https://claude.ai/code)_
upstream-sync changed title from [PR #2846] docs: link architecture notes to public source to [PR #2846] docs: fix the dangling HDR TODO reference 2026-11-26 05:03:07 +00:00
kyle7908 commented 2026-11-26 05:04:04 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kyle7908 on 2026-11-26T04:12:33Z.


Thanks for the guidance. I’ve removed the architecture additions. The diff now changes one line in try_enable_hdr to point to the README’s HDR status and keeps the // shortcut: marker.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7182391344 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2846#issuecomment-7182391344). Originally posted by [kyle7908](https://github.com/kyle7908) on 2026-11-26T04:12:33Z. --- Thanks for the guidance. I’ve removed the architecture additions. The diff now changes one line in `try_enable_hdr` to point to the README’s HDR status and keeps the `// shortcut:` marker.
futurepro62 commented 2026-11-26 15:02:29 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by futurepro62 on 2026-11-26T14:21:40Z.


Full-suite run on NVIDIA, since this PR has no test report yet. Tested exact head 3c18564 (on its base 63bcca4).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.98.1 MSVC (pinned), dxil.dll from Windows SDK 10.0.26100 (the loader's default), debug.
  • cargo build --workspace --locked, then cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index --skip descriptor::host::tests::dynamic_slots_are_held_until_released --skip memory::tests::lists_share_a_table_and_copies_keep_their_views --skip emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride --skip emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros --skip emit::synthetic_tests::gathers_at_a_level_match_the_hardware: 866 passed, 0 failed, 10 ignored.
  • No new #[test] functions in the diff.
  • --skip leaves out tests that fail on main 63bcca4 on this card too, not because of this PR: heap_direct_texture_reads_mark_their_heap_index ends the victory-shader test process with 0xc0000005 (#2571), so without the skip the rest of that crate never reports; dynamic_slots_are_held_until_released, lists_share_a_table_and_copies_keep_their_views and the two stride_tests hit the 1,000,000-view heap cap of NVIDIA drivers (#1835, #2317); gathers_at_a_level_match_the_hardware fails on lane 0 (#1744).

Not tested

  • AMD (the tests take the default adapter), a release build, the title (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:Marvisak/VIctory:comment:7194700842 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2846#issuecomment-7194700842). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-26T14:21:40Z. --- Full-suite run on NVIDIA, since this PR has no test report yet. Tested exact head `3c18564` (on its base `63bcca4`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.98.1 MSVC (pinned), `dxil.dll` from Windows SDK 10.0.26100 (the loader's default), debug. - `cargo build --workspace --locked`, then `cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index --skip descriptor::host::tests::dynamic_slots_are_held_until_released --skip memory::tests::lists_share_a_table_and_copies_keep_their_views --skip emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride --skip emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros --skip emit::synthetic_tests::gathers_at_a_level_match_the_hardware`: **866 passed, 0 failed, 10 ignored**. - No new `#[test]` functions in the diff. - `--skip` leaves out tests that fail on main `63bcca4` on this card too, not because of this PR: `heap_direct_texture_reads_mark_their_heap_index` ends the `victory-shader` test process with `0xc0000005` (#2571), so without the skip the rest of that crate never reports; `dynamic_slots_are_held_until_released`, `lists_share_a_table_and_copies_keep_their_views` and the two `stride_tests` hit the 1,000,000-view heap cap of NVIDIA drivers (#1835, #2317); `gathers_at_a_level_match_the_hardware` fails on lane 0 (#1744). **Not tested** - AMD (the tests take the default adapter), a release build, the title (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Dukestar69 commented 2026-11-27 02:10:06 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Dukestar69 on 2026-11-27T02:10:06Z.

Review: APPROVED


LGTM — verified on Windows:

  • Clean comment fix (TODO.md -> README.md)
  • cargo clippy -p victory-hle --all-targets -- -D warnings passed with 0 warnings
  • cargo xtask policy passed (191 files ok)

Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).

<!-- greyfinch-sync:Marvisak/VIctory:review:6082585174 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2846#pullrequestreview-6082585174). Originally posted by [Dukestar69](https://github.com/Dukestar69) on 2026-11-27T02:10:06Z. **Review:** APPROVED --- LGTM — verified on Windows: - Clean comment fix (`TODO.md` -> `README.md`) - `cargo clippy -p victory-hle --all-targets -- -D warnings` passed with 0 warnings - `cargo xtask policy` passed (`191 files ok`) Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
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/2846:upstream-pr/2846'
git switch 'upstream-pr/2846'

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/2846'
git switch 'upstream-pr/2846'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2846'
git switch 'upstream-pr/2846'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2846'
git switch 'main'
git merge --squash 'upstream-pr/2846'
git switch 'main'
git merge --ff-only 'upstream-pr/2846'
git switch 'main'
git merge 'upstream-pr/2846'
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
Marvisak/VIctory!2844
No description provided.