Verify D3D12 sampling with missing BC7 top mips and check first refill bytes #17

Manually merged
github merged 1 commit from gh-pr/17/head into gh-pr/17/base 2026-11-26 21:22:26 +00:00
Owner

@⁠R0Y00 on GitHub · 2026-11-21 08:40 UTC · original
R0Y00:codex/bc7-resident-tail → main · +113 −26 · 7 files · 1 commits · merged 2026-11-21 08:42 UTC

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=error completed 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.

**@⁠R0Y00** on GitHub · 2026-11-21 08:40 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/17) `R0Y00:codex/bc7-resident-tail` → `main` · +113 −26 · 7 files · 1 commits · merged 2026-11-21 08:42 UTC 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=error` completed 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:22:24 +00:00
github manually merged commit b1e02a0024 into gh-pr/17/base 2026-11-26 21:22:26 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.