Test texture zero copies replace every mip and array slice on D3D12 #1946
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1946
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@NotADonky43 on GitHub · 2026-11-29 03:43 UTC · original
NotADonky43:test/texture-zero-mip-readback→main· +164 −0 · 2 files · 1 commits · openAdd 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.