Diagnostics: capture RGBA32 unsigned targets #2567
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2567
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2567"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@andrewpozdnakov7-jpg on GitHub · 2026-11-25 15:59 UTC · original
andrewpozdnakov7-jpg:codex2/capture-rgba32-uint→main· +18 −0 · 1 files · 2 commits · openR32G32B32A32_UINThas a 16-byte texel layout, but the diagnostic capture converter returnsNone, so there is no PNG for these targets. Decode R, G, and B as unsigned 32-bit values and use the existing diagnostic color scaling and opaque PNG alpha.The same two pitched synthetic rows return
Noneon67e8ae1and produce RGB(255, 127, 0)and(0, 63, 255)on the patch. The fixture includes the high unsigned bit and sentinel values in source alpha and row padding.Validation: diagnostics capture tests, strict GPU Clippy, and the staged asset policy.
DXGI format definitions · Coordination claim
If you cherry-pick or rebase this commit, please retain its Git author. If you fold the change into another commit, please add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>.AI-assisted. Verification used synthetic readback data.
@Marvisak on GitHub · 2026-11-25 19:20 UTC · original · edited 2026-11-25 20:22 UTC
Automated triage for the maintainers.
Merge candidate. This is a recommendation to look, not an approval. The PR adds DXGI format 3 (
R32G32B32A32_UINT, 16-byte texels) tocapture::to_rgbaincrates/victory-gpu/src/capture.rs. RGB is decoded as unsigned integers and scaled like the other non-8-bit formats, so these targets get a PNG instead of being skipped. The new commit (035adfa) only moves the test intomod tests, next tounorm16_and_xr_bias_targets_decode_as_their_formats. The code is unchanged from the head reviewed before, and the expected bytes still follow from the existing scaling with a 20-byte row pitch.Reply to the author: thanks, the nit is addressed.
CI:
checkpassed (Windows).Generated by Claude Code
@andrewpozdnakov7-jpg on GitHub · 2026-11-25 19:32 UTC · original
Addressed the test placement request. The existing RGBA32 UINT regression now sits in capture::tests beside unorm16_and_xr_bias_targets_decode_as_their_formats. All three capture module tests passed with diagnostics enabled, including the moved regression. Commit 035adfa
@futurepro62 on GitHub · 2026-11-26 01:00 UTC · original
Full-suite run on NVIDIA, since this PR has no test report yet. Tested exact head
035adfa(on its base67e8ae1).Tested
dxil.dllfrom Windows SDK 10.0.26100 (the loader's default), debug.cargo build --workspace --locked, thencargo 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: 773 passed, 0 failed, 9 ignored.rgba32_uint_captures_keep_rgb_and_ignore_source_alphaonly builds with thediagnosticsfeature, so the run above doesn't include it; it passes incargo test -p victory-gpu --lib --locked --features diagnostics(same skips).--skipleaves out tests that fail on main63bcca4on this card too, not because of this PR:heap_direct_texture_reads_mark_their_heap_indexends thevictory-shadertest process with0xc0000005(#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_viewsand the twostride_testshit the 1,000,000-view heap cap of NVIDIA drivers (#1835, #2317);gathers_at_a_level_match_the_hardwarefails on lane 0 (#1744).Not tested
AI use
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.