Test texture zero copies replace every mip and array slice on D3D12 #1946
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1946"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by NotADonky43 on 2026-11-29T03:43:52Z.
Add an opt-in hardware regression for texture::zeros, useful for changes such as #1588. Record a 59×19 and a 2049×600 RGBA texture with three mips and two array slices in the same list. Fill every useful texel byte with a nonzero sentinel, copy out the before-image, record the real zero operation, and copy out the after-image. Submit once and wait on the queue fence. Check the sentinel and zero bytes for all 12 subresources, excluding row padding. Recording both sizes before execution exercises source lifetime when the allocator grows. A missing GPU fails the explicitly requested test rather than passing it. No production behavior or shader changes. Tested on main
568c5e5dplus this patch, RTX 5070 Ti, Windows, optimized build:cargo test --release --locked -p victory-gpu --lib texture_zeros_replace_every_mip_before_submission -- --ignored --nocapture(1 passed, 0 skipped). This is a byte-content regression, not an FPS or visual-parity assertion.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.