Report the texture queue admission decision #4938

Closed
github-bot wants to merge 1 commit from github-bot/gh-4937 into main AGit
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 14:44 UTC · original
andrewpozdnakov7-jpg:codex2/fix/log-texture-admission → main · +39 −28 · 2 files · 1 commits · closed without merging

Refs #4931.

What it changes

The texture queue's log used the rounded display numbers for its room status. The admission path uses bytes and also checks the texture floor, the real-budget guard, and any fixed copy cap. The log now uses those inputs before converting the displayed numbers to MiB. An active VICTORY_TEXTURE_BUDGET_MB reports the texture bytes against its own cap.

How it was tested

  • A focused Windows Rust fixture ran the exact admission and reporting functions on main 5fabb46e and 4f842cbbc299448d8d9b04160c6e78b6a2d38fb3 with synthetic counters. Release e1251c31 shares the baseline room-report function.
  • Main logged a different status under the floor, the real-budget guard, and rounding near the line. Its budget line was also omitted for valid and invalid explicit cap values. The patch matched the admission result in all six cases, including both sides of an explicit cap.
  • cargo xtask policy --staged accepted both files. Main's CI check has five existing Clippy errors tracked in #4708.

Checked for overlap

  • Searched the open PRs touching resource.rs and host.rs and the issues and PRs mentioning this log line. #3634 adds the queue's budget comparison to F3. #4879 reports context at buffer allocation failures.

Please retain the Git author on cherry-pick or rebase, or add Co-authored-by: andrewpozdnakov7-jpg <[email protected]> if folding the change into another commit.

AI-assisted with OpenAI Codex.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 14:44 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4937) `andrewpozdnakov7-jpg:codex2/fix/log-texture-admission` → `main` · +39 −28 · 2 files · 1 commits · closed without merging Refs #4931. ## What it changes The texture queue's log used the rounded display numbers for its `room` status. The admission path uses bytes and also checks the texture floor, the real-budget guard, and any fixed copy cap. The log now uses those inputs before converting the displayed numbers to MiB. An active `VICTORY_TEXTURE_BUDGET_MB` reports the texture bytes against its own cap. ## How it was tested - A focused Windows Rust fixture ran the exact admission and reporting functions on main `5fabb46e` and `4f842cbbc299448d8d9b04160c6e78b6a2d38fb3` with synthetic counters. Release `e1251c31` shares the baseline room-report function. - Main logged a different status under the floor, the real-budget guard, and rounding near the line. Its budget line was also omitted for valid and invalid explicit cap values. The patch matched the admission result in all six cases, including both sides of an explicit cap. - `cargo xtask policy --staged` accepted both files. Main's [CI check](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46563306780/job/142355972539) has five existing Clippy errors tracked in #4708. ## Checked for overlap - [x] Searched the open PRs touching `resource.rs` and `host.rs` and the issues and PRs mentioning this log line. #3634 adds the queue's budget comparison to F3. #4879 reports context at buffer allocation failures. Please retain the Git author on cherry-pick or rebase, or add `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>` if folding the change into another commit. AI-assisted with OpenAI Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 14:45:01 +00:00
github-bot closed this pull request 2026-12-01 18:30:27 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:27 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:27 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4937#issuecomment-7320988415) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!4938
No description provided.