GPU: fix texture footprint span and committed-range overflow with unit tests #1191

Closed
github-bot wants to merge 1 commit from gh-pr/1191/head into gh-pr/1191/base
Owner

@⁠geiyiliyabumo on GitHub · 2026-11-24 16:23 UTC · original
geiyiliyabumo:test/gpu-texture-audit → main · +353 −41 · 1 files · 1 commits · closed without merging

Summary

Closes #935

Full verification details and change notes are documented in #935 (commit 1456fe7, based on main ffe310e).

 crates/victory-gpu/src/texture.rs | 394 ++++++++++++++++++++++++++++++++++----
 1 file changed, 353 insertions(+), 41 deletions(-)

Verification (Windows 11 x64 MSVC)

  • rustfmt --edition 2024 --check on edited files: PASS
  • cargo xtask policy: PASS (zero game files/data)
  • cargo clippy --all-targets --locked -- -D warnings (default + --features diagnostics where applicable): PASS
  • Targeted & crate unit/GPU tests: PASS

AI-assisted; synthetic tests only, no game files.

**@⁠geiyiliyabumo** on GitHub · 2026-11-24 16:23 UTC · [original](https://github.com/Marvisak/VIctory/pull/1191) `geiyiliyabumo:test/gpu-texture-audit` → `main` · +353 −41 · 1 files · 1 commits · closed without merging ### Summary Closes #935 Full verification details and change notes are documented in #935 (commit `1456fe7`, based on `main` `ffe310e`). ```text crates/victory-gpu/src/texture.rs | 394 ++++++++++++++++++++++++++++++++++---- 1 file changed, 353 insertions(+), 41 deletions(-) ``` ### Verification (Windows 11 x64 MSVC) - `rustfmt --edition 2024 --check` on edited files: **PASS** - `cargo xtask policy`: **PASS** (zero game files/data) - `cargo clippy --all-targets --locked -- -D warnings` (default + `--features diagnostics` where applicable): **PASS** - Targeted & crate unit/GPU tests: **PASS** *AI-assisted; synthetic tests only, no game files.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:23:04 +00:00
github-bot closed this pull request 2026-11-26 04:23:04 +00:00
Author
Owner

@⁠Zipettte on GitHub · 2026-11-24 18:00 UTC · original

Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 1456fe7: cargo test -p victory-gpu passes, 59 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).

Tested with AI assistance (Claude).

**@⁠Zipettte** on GitHub · 2026-11-24 18:00 UTC · [original](https://github.com/Marvisak/VIctory/pull/1191#issuecomment-7140021043) Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 1456fe7: `cargo test -p victory-gpu` passes, 59 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed). _Tested with AI assistance (Claude)._
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 00:34 UTC · original

Automated triage for the maintainers. Closing because another open pull request covers the same change.

See #601. Same footprint-span fix as the 47-line #601 in 353 lines, plus an overflow in committed() that needs a texture at the end of the address space.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 00:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/1191#issuecomment-7148653645) Automated triage for the maintainers. Closing because another open pull request covers the same change. See #601. Same footprint-span fix as the 47-line #601 in 353 lines, plus an overflow in committed() that needs a texture at the end of the address space. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

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/Marvisak--VIctory!1191
No description provided.