Draw BC7 textures with a recompiled copy shader and validate mip selection #14
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14"
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:15:59Z.
Adds a converter for the published GFX10 4 KiB standard non-XOR layout with 16-byte blocks. The desktop checker uploads BC7 block rows with D3D12 copy footprints, runs the translated copy shader, compares all float channels to a CPU reference, and optionally captures the verified GPU pixels. The two-level test lets implicit derivatives select mip 1 at half resolution.
An original mode-6 fixture exercises tile boundaries, row padding, per-texel indices, and a negative control that moves the lower level's blocks. Reproduce with
ctest --preset dev -R '^bc7_draw_' -V. Full local CTest had 49 passes and two capability skips. Both WARP and hardware passed.