Descriptor & CI: move list views' unaligned twins (tree flicker fix) and add Windows GitHub Actions CI #13

Open
github-bot wants to merge 2 commits from github-bot/gh-13 into main AGit
Owner

@⁠adib-cyber007 on GitHub · 2026-12-02 17:14 UTC · original
adib-cyber007:pr/12-ci-and-unaligned-twins-fix → main · +141 −2 · 2 files · 2 commits · open

Two clean, self-contained quality & stability commits (kept separate so either can be cherry-picked independently):

  1. Move list views' unaligned twins instead of nulling them (crates/victory-gpu/src/descriptor/host.rs):
    • Port of DoubleGhosty/cool_fox 4d4d8fb6 (waldyss / VIctory-NVIDIA #2248, GPL-3.0).
    • Tracks each thread's ListViews CPU descriptor slot range (LIST_VIEW_SLOTS) so dynamic list views with unaligned byte offsets (including tree-culling batch lists, ~870/frame) are moved via move_raw instead of nulled out — fixing foliage/tree flicker.
    • Configurable via VICTORY_LIST_TWINS=all|uav|srv|none, VICTORY_LIST_TWINS_SRV=typed|raw|structured|all, and VICTORY_LIST_TWINS_ODD=1.
  2. Windows GitHub Actions CI workflow (.github/workflows/ci.yml):
    • Runs automatically on every push to main and every pull_request on windows-latest using the pinned rust-toolchain.toml (only official actions/checkout@v4 + actions/cache@v4).
    • Verifies cargo check --locked --workspace, cargo check --locked -p victory --features diagnostics, and all headless-safe crate unit tests (victory-core, victory-pe, victory-formats, victory-loader, victory-pipeline, victory-game, victory).

Verification

  • All 37 descriptor::host tests and all non-GPU workspace unit tests (exact commands run by .github/workflows/ci.yml) passed locally.
  • Default workspace check and --features diagnostics check passed with zero new warnings.
**@⁠adib-cyber007** on GitHub · 2026-12-02 17:14 UTC · [original](https://github.com/ImTaneax/VIctory-RTX3050-4gb/pull/13) `adib-cyber007:pr/12-ci-and-unaligned-twins-fix` → `main` · +141 −2 · 2 files · 2 commits · open Two clean, self-contained quality & stability commits (kept separate so either can be cherry-picked independently): 1. **Move list views' unaligned twins instead of nulling them (`crates/victory-gpu/src/descriptor/host.rs`):** - Port of `DoubleGhosty/cool_fox` `4d4d8fb6` (`waldyss` / `VIctory-NVIDIA` #2248, GPL-3.0). - Tracks each thread's `ListViews` CPU descriptor slot range (`LIST_VIEW_SLOTS`) so dynamic list views with unaligned byte offsets (including tree-culling batch lists, ~870/frame) are moved via `move_raw` instead of nulled out — fixing foliage/tree flicker. - Configurable via `VICTORY_LIST_TWINS=all|uav|srv|none`, `VICTORY_LIST_TWINS_SRV=typed|raw|structured|all`, and `VICTORY_LIST_TWINS_ODD=1`. 2. **Windows GitHub Actions CI workflow (`.github/workflows/ci.yml`):** - Runs automatically on every `push` to `main` and every `pull_request` on `windows-latest` using the pinned `rust-toolchain.toml` (only official `actions/checkout@v4` + `actions/cache@v4`). - Verifies `cargo check --locked --workspace`, `cargo check --locked -p victory --features diagnostics`, and all headless-safe crate unit tests (`victory-core`, `victory-pe`, `victory-formats`, `victory-loader`, `victory-pipeline`, `victory-game`, `victory`). ### Verification - All 37 `descriptor::host` tests and all non-GPU workspace unit tests (exact commands run by `.github/workflows/ci.yml`) passed locally. - Default workspace check and `--features diagnostics` check passed with zero new warnings.
Port of DoubleGhosty/cool_fox 4d4d8fb6 (waldyss / VIctory-NVIDIA #2248, GPL-3.0). Tracks each thread's ListViews slot range in LIST_VIEW_SLOTS so unaligned dynamic list-view twins (including tree culling batch lists) are moved via move_raw instead of nulled (~870/frame). Configurable via VICTORY_LIST_TWINS, VICTORY_LIST_TWINS_SRV, and VICTORY_LIST_TWINS_ODD.
Adds .github/workflows/ci.yml running cargo check --locked --workspace, cargo check --locked -p victory --features diagnostics, and headless-safe workspace unit tests on windows-latest using only actions/checkout@v4, actions/cache@v4, and the pinned rust-toolchain.toml.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 18:31:35 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/13/head:github-bot/gh-13'
git switch 'github-bot/gh-13'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-13'
git switch 'github-bot/gh-13'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-13'
git switch 'github-bot/gh-13'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-13'
git switch 'main'
git merge --squash 'github-bot/gh-13'
git switch 'main'
git merge --ff-only 'github-bot/gh-13'
git switch 'main'
git merge 'github-bot/gh-13'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.