DirectStorage: BCPack BC7 #948

Closed
github-bot wants to merge 2 commits from gh-pr/948/head into gh-pr/948/base
Owner

@⁠Yeetbot159 on GitHub · 2026-11-24 09:24 UTC · original
Yeetbot159:dstorage-bcpack-2-bc7 → main · +4633 −0 · 5 files · 2 commits · closed without merging

Overlap: #905 covers the same ground (all BCPack modes plus the dstorage.rs wiring, in the same hle/bcpack module). This is an alternative split of the same VIctory code into small stacked PRs, opened as drafts so the two can be compared. If #905 is preferred, please close these.

Stacked on #947; only the top commit belongs here.

Adds the BC7 decoder (and the bit helpers BC6H shares) to hle/bcpack/mod.rs, with its test.
decode now accepts mode 7. About 290 changed lines. Still not called.
Tested: Windows not run yet (draft until it is); Linux scratch crate: 9 passed, 0 failed, 2 ignored.
Not tested / AI use: as PR 1.

**@⁠Yeetbot159** on GitHub · 2026-11-24 09:24 UTC · [original](https://github.com/xcl-dev/xcl/pull/948) `Yeetbot159:dstorage-bcpack-2-bc7` → `main` · +4633 −0 · 5 files · 2 commits · closed without merging > **Overlap:** #905 covers the same ground (all BCPack modes plus the `dstorage.rs` wiring, in the same `hle/bcpack` module). This is an alternative split of the same VIctory code into small stacked PRs, opened as drafts so the two can be compared. If #905 is preferred, please close these. Stacked on #947; only the top commit belongs here. Adds the BC7 decoder (and the bit helpers BC6H shares) to `hle/bcpack/mod.rs`, with its test. `decode` now accepts mode 7. About 290 changed lines. Still not called. **Tested:** Windows **not run yet** (draft until it is); Linux scratch crate: 9 passed, 0 failed, 2 ignored. **Not tested / AI use:** as PR 1.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:37:58 +00:00
github-bot closed this pull request 2026-11-26 04:37:58 +00:00
Author
Owner

@⁠SlopTart on GitHub · 2026-11-24 10:38 UTC · original

Compile-blocked in rebuild: this PR merges the same && let chains into crates/xcl/src/hle/bcpack/mod.rs (errors at lines 353/451 after merge onto 9aec53d) while the workspace is edition = "2021", so the lane fails to build before any test runs. Full detail in my comment on #947 (same failure across the whole #947-#950 stack).

Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.

Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross x86_64-pc-windows-gnu, XCL_NETWORK=0, release profile, --test-threads=4. My Linux rows: #42 / #718.

AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.

**@⁠SlopTart** on GitHub · 2026-11-24 10:38 UTC · [original](https://github.com/xcl-dev/xcl/pull/948#issuecomment-7129039768) Compile-blocked in rebuild: this PR merges the same `&& let` chains into `crates/xcl/src/hle/bcpack/mod.rs` (errors at lines 353/451 after merge onto `9aec53d`) while the workspace is `edition = "2021"`, so the lane fails to build before any test runs. Full detail in my comment on #947 (same failure across the whole #947-#950 stack). **Not tested:** retail titles (none here), Windows, RDNA4. Counts only, no game data. **Machine:** RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross `x86_64-pc-windows-gnu`, `XCL_NETWORK=0`, release profile, `--test-threads=4`. My Linux rows: #42 / #718. AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
Author
Owner

@⁠ivall on GitHub · 2026-11-24 10:39 UTC · original

#905 is merged (67a3735): DirectStorage now unpacks BCPack BC1, BC3, BC4, BC5, BC6H and BC7 with the format's exact tables, so this PR is superseded. Thanks.

**@⁠ivall** on GitHub · 2026-11-24 10:39 UTC · [original](https://github.com/xcl-dev/xcl/pull/948#issuecomment-7129077665) #905 is merged (67a3735): DirectStorage now unpacks BCPack BC1, BC3, BC4, BC5, BC6H and BC7 with the format's exact tables, so this PR is superseded. Thanks.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.