Draw BC7 textures with a recompiled copy shader and validate mip selection #14

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

@⁠R0Y00 on GitHub · 2026-11-21 08:15 UTC · original
R0Y00:codex/bc7-texture-draw → main · +259 −39 · 7 files · 1 commits · merged 2026-11-21 08:17 UTC

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.

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