Repository navigation
Conversation
Reconstruct blocks from fixed batches instead of staging every decoded record. Preserve lane state across batches and report the first lane error before block errors. Handle the frequent zero symbol directly to keep decode throughput. Co-Authored-By: GPT 6.2 Sol <noreply@openai.com>
Owner
Author
|
Upstream PR xcl-dev#1078 was closed or merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BCPack now reconstructs tiles from batches of at most 64 records. The decoder used to keep all intermediate records until the input was consumed. The bounded buffer is 2 KiB on the stack and the existing reconstruction history stays on the heap.
What is in it
crates/xcl/src/hle/bcpack/victory.rskeeps lane read-ahead across batches, handles zero symbols directly, and retains the error precedence for malformed streams. Regression tests check exact bytes for all six widths, batch boundaries, and invalid input.Tested
cargo test --release --locked --workspace --no-fail-fast -- --test-threads=4 --show-outputreported 741 passed, 3 failed, and 41 ignored. All three new tests passed. Two tests reported GPU skips because the D3D12 debug layer was unavailable.Regression run
Not tested
Gameplay FPS, retail BCPack throughput, NVIDIA GPUs, and Wine.
AI use
Codex with GPT 6.2 Sol implemented the patch, added the tests, ran validation, and drafted this description.
Mirror of xcl-dev#1078 (auto-synced, do not edit).