GPU diagnostics: describe a buffer UAV by its range, not as uav None #654

Merged
SantannaCarlos merged 1 commit from upstream-pr/654 into main 2026-11-24 08:20:07 +00:00
SantannaCarlos commented 2026-11-24 06:15:19 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by SantannaCarlos on 2026-11-24T06:15:19Z.


What

Diagnostics builds describe each table entry in device-removed reports and drop traces. A UAV over a buffer printed uav None: describe only looks for a host texture, and a buffer has none. The slot is made; the same report shows that view as Unordered(...) where the title passes it as a root argument. Several reports in #71 read uav None as a null UAV.

A buffer UAV now prints its title range, as a buffer shader view already does: uav buffer Some((address, length)). A texture UAV prints uav WxH f.. flags .. instead of uav Some("...").

Tested

Windows 11, RTX 4070: cargo clippy -p victory-gpu --features diagnostics --all-targets and cargo xtask policy pass. Diagnostics text only; not run against the title after the change.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6575878021 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/654). Originally posted by [SantannaCarlos](https://github.com/SantannaCarlos) on 2026-11-24T06:15:19Z. --- ## What Diagnostics builds describe each table entry in device-removed reports and drop traces. A UAV over a buffer printed `uav None`: `describe` only looks for a host texture, and a buffer has none. The slot is made; the same report shows that view as `Unordered(...)` where the title passes it as a root argument. Several reports in #71 read `uav None` as a null UAV. A buffer UAV now prints its title range, as a buffer shader view already does: `uav buffer Some((address, length))`. A texture UAV prints `uav WxH f.. flags ..` instead of `uav Some("...")`. ## Tested Windows 11, RTX 4070: `cargo clippy -p victory-gpu --features diagnostics --all-targets` and `cargo xtask policy` pass. Diagnostics text only; not run against the title after the change.
LAKSHYA-cmd-tech commented 2026-11-24 06:54:14 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T06:20:30Z.

Review: APPROVED


Tested on Windows 11 with Rust 1.98.1 (x86_64-pc-windows-msvc).

  • cargo test -p victory-gpu --features diagnostics: all 45 tests passed cleanly (0 failed, 1 ignored benchmark).
  • cargo xtask policy: 151 files ok.
  • Verified buffer UAV diagnostic description formatting with title range via uffer_range(v).
<!-- greyfinch-sync:Marvisak/VIctory:review:6034596422 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/654#pullrequestreview-6034596422). Originally posted by [LAKSHYA-cmd-tech](https://github.com/LAKSHYA-cmd-tech) on 2026-11-24T06:20:30Z. **Review:** APPROVED --- Tested on Windows 11 with Rust 1.98.1 (x86_64-pc-windows-msvc). - cargo test -p victory-gpu --features diagnostics: all 45 tests passed cleanly (0 failed, 1 ignored benchmark). - cargo xtask policy: 151 files ok. - Verified buffer UAV diagnostic description formatting with title range via uffer_range(v).
upstream-sync closed this pull request 2026-11-24 09:05:52 +00:00
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!654
No description provided.