DirectStorage: BCPack BC6H #943

Closed
Yeetbot159 wants to merge 3 commits from upstream-pr/949 into main
Yeetbot159 commented 2026-11-24 09:24:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Yeetbot159 on 2026-11-24T09:24:03Z.


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 #948; only the top commit belongs here.

Adds the BC6H decoder; removes the temporary #![allow(dead_code)]. About 255 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.

<!-- greyfinch-sync:ivall/xcl:issue:6578628973 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/949). Originally posted by [Yeetbot159](https://github.com/Yeetbot159) on 2026-11-24T09:24:03Z. --- > **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 #948; only the top commit belongs here. Adds the BC6H decoder; removes the temporary `#![allow(dead_code)]`. About 255 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.
upstream-sync closed this pull request 2026-11-24 11:05:11 +00:00
SlopTart commented 2026-11-24 11:05:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T10:38:03Z.


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.

<!-- greyfinch-sync:ivall/xcl:comment:7129040438 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/949#issuecomment-7129040438). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-24T10:38:03Z. --- 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.
ivall commented 2026-11-24 11:05:52 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T10:39:45Z.


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

<!-- greyfinch-sync:ivall/xcl:comment:7129078444 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/949#issuecomment-7129078444). Originally posted by [ivall](https://github.com/ivall) on 2026-11-24T10:39:45Z. --- #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

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
xcl-dev/xcl!943
No description provided.