Verify D3D12 sampling with missing BC7 top mips and check first refill bytes #17
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17"
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 R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T08:40:55Z.
Refs #15.
Upload consecutive BC7 mips at their original D3D12 subresource indices and bind an SRV starting at the first uploaded mip. The source-built regression checks all eight view sizes of a five-level tail against CPU pixels, including three magnifications and deliberate corruption of a middle mip. The optional BCPack prefetch mask tests the byte predicted by the reverse encoder at the physical offset implied by a proposed first round.
Local validation:
ctest --preset dev --no-tests=errorcompleted with 50 passes and two wave64 capability skips. Two local textures × eight viewports × hardware and WARP produced 32 matching readbacks and zero D3D12 debug warnings or errors. The missing high-resolution pixel data remains unresolved.