textures: add optional Rust BCPack support to the batch exporter #816
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/822"
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 wish131400 on 2026-11-23T08:59:33Z.
Refs #811. Uses the optional Rust kernels from Leonida #5116 at
ff5f36bor later.The existing TTPF-to-DDS batch command can use the Rust kernels from the selected Leonida checkout. The default remains strict and also works with the earlier Python reference checkout.
--require-rustchecks the Release library and expected kernels before pool open. Chunk-level fallback still applies.--calibration PROFILE.jsonexplicitly retries strict decode failures with a local version-1 profile and records successful retries asmode: fitted. DDS publication remains atomic. The current manifest records the hash of the published bytes and omits the file and hash for a failed entry.Verification
Windows 10 x64 build 19045, CPython 3.14.2, Cargo 1.98.1, NumPy 2.5.2 for the fitted path. CPU only. The tests use generated input.
b0befb4andff5f36b. The docs link check passed. Requiring Rust with the reference checkout exited 2 before creating the output directory.b0befb4ff5f36bThe measured path is the batch exporter, including hashing and file publication. The previously reported standalone Rust benchmark includes the fixture generator and runs a different exporter. The timings here use generated streams eligible for the strict BC7 shortcut. The upstream coverage check observed 0/5,167 whole-chunk acceptances on its BC7 corpus.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T09:13:50Z.
I built the optional Rust library offline from Leonida
ff5f36b, then ran the 11 batch-export checks against both the pinned Python reference checkout and the new checkout. The--require-rustCLI also exported both source-built control textures in strict mode. I pushed10fa426with the exact checkout and build commands so the Rust example does not silently reuse the older reference directory. Waiting for the new CI run.