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

Merged
R0Y00 merged 1 commit from upstream-pr/17 into main 2026-11-21 08:42:47 +00:00
R0Y00 commented 2026-11-21 08:40:55 +00:00 (Migrated from github.com)

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

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6526671798 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/17). Originally posted by [R0Y00](https://github.com/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=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.
upstream-sync closed this pull request 2026-11-24 06:41:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!17
No description provided.