GPU: count marked pages in frame write-back bytes #3598
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3598"
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?
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-27T20:07:17Z.
The frame's copy-back timer includes work on shader-marked pages and explicit ranges. Its byte counter currently adds only the explicit range writes. Add the bytes reported by the marked-page path and record the combined total once per submission.
The existing assertions for shader-written bytes, neighbouring bytes, and withheld ranges passed on both revisions. The diagnostic
marked pagesline exposes the marked-byte component for #3590.The test used the repository's synthetic shaders and buffers. The copy-back time includes range processing and submission callbacks as well as the writes.
Both named submissions passed with default features and diagnostics. The full diagnostics suite passed 246 project GPU tests plus the SDK identity check, with one ignored. Strict GPU Clippy passed with default and all features, and the asset policy check passed.
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-27T20:10:20Z.
Windows CI passed on
4567d54a06f875b385603bfb954f8e8b8c188647. CI jobIn the same Windows WARP synthetic submission, the marked page was written on both revisions. The frame byte counter recorded 0 on the parent and 65,536 on the patch. The explicit-range submission reported 32 bytes on both revisions, with the withheld controls and byte assertions passing. The patched tests ran with both default features and diagnostics. The next step is maintainer review.
If you cherry-pick or rebase this commit, please retain its Git author. If you fold it into another commit, please include
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>.Imported from Marvisak/VIctory. Originally posted by futurepro62 on 2026-11-29T17:45:34Z.
Full-suite run on NVIDIA, since this PR has no test report yet. Tested exact head
4567d54(on its base63bcca4).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: 866 passed, 0 failed, 10 ignored.#[test]functions in the diff.--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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.