Skip to content

DirectStorage: precompute BCPack bit packing - #105

Draft
bmjask wants to merge 1 commit into
stack/101-xaudio-source-fast-pathfrom
stack/102-bcpack-bit-tables
Draft

bmjask wants to merge 1 commit into
stack/101-xaudio-source-fast-pathfrom
stack/102-bcpack-bit-tables

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #104.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates directstorage: precompute bcpack bit packing as one reviewable step in the redesign.

Upstream overlap

This overlaps upstream PR xcl-dev#2702 and is retained only as an internal reconciliation draft.

What is in it

  • 44f3b1bf is the cleaned-stack form of integrated commit f1cab62b.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

@bmjask
bmjask force-pushed the stack/101-xaudio-source-fast-path branch from 01f89cf to f88add7 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/102-bcpack-bit-tables branch 2 times, most recently from bfbe3f2 to 9be8cad Compare November 27, 2026 01:01
Replace per-block bit-spread, residual-mask, and anchor scans with compile-time lookup tables and fixed masks while preserving every existing BCPack output. Add exhaustive helper equivalence checks and baseline hashes for the shipped fixtures and all BC6H/BC7 modes.

Assisted-by: Google Antigravity (Gemini 4 Neon)
Co-authored-by: Decodere <98278826+Decodere@users.noreply.github.com>
Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/102-bcpack-bit-tables branch from 9be8cad to 49f07b7 Compare November 27, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant