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

Manually merged
github merged 1 commit from gh-pr/654/head into gh-pr/654/base 2026-11-26 04:11:41 +00:00
Owner

@⁠SantannaCarlos on GitHub · 2026-11-24 06:15 UTC · original
SantannaCarlos:fix/uav-describe → main · +5 −1 · 1 files · 1 commits · merged 2026-11-24 08:20 UTC

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.

**@⁠SantannaCarlos** on GitHub · 2026-11-24 06:15 UTC · [original](https://github.com/Marvisak/VIctory/pull/654) `SantannaCarlos:fix/uav-describe` → `main` · +5 −1 · 1 files · 1 commits · merged 2026-11-24 08:20 UTC ## 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.
describe looked only for a host texture, so every UAV over a buffer printed 'uav None' in device-removed reports and drop traces, though the view is made. It now prints the buffer's title range, as a buffer shader view does.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:11:39 +00:00
github manually merged commit d74558c4fc into gh-pr/654/base 2026-11-26 04:11:41 +00:00
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!654
No description provided.