Prune unread varyings from oversized mesh pairs #870
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/871"
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 fxceless/victory-fork. Originally posted by Kamiloj9 on 2026-11-25T11:16:21Z.
Summary
The mesh portion of #854 tackles the same limit with broader liveness filtering. This PR is scoped to the paired mesh fix. #397 uses FP16 packing and pixel-side reconstruction for inputs that cannot simply be dropped.
Verification
cargo check --workspace --all-features, mesh-link and container unit tests, and staged asset policy.VICTORY_MESH_OUTPUT_STRICTexperiment still rejects oversized standalone translations before runtime linking.Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-25T11:22:43Z.
Independent verification on
7e656a3c689f73ddaf823603cc178bdb8986df40againstf85101b6095e8cf3cecf8f0647cc7f5428daa177, using synthetic shader containers.prune_mesh_pairemitted a 32,768-byte mesh layout and removed the input from the pixel signature. All sixteen retained signature records matched their originals. The standalone mesh and pixel DXIL were byte-identical across base and head.loadInputorattributeAtVertexread of a removed ID rejects the remap before editing the module.The Linux shader library suite passed 171 tests on base and 172 on head, with 2 ignored on each. The head also passed
cargo check -p victory-shader -p victory-gpu --all-targets --target x86_64-pc-windows-msvc --features blake3/pureon Linux. This run checked emission and compile-time behavior. Microsoft DXIL validation, D3D12 PSO creation, and Windows/GPU execution remain unverified by these fixtures.Imported from fxceless/victory-fork. Originally posted by MamaLeVrai on 2026-11-25T12:23:16Z.
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head
7e656a3intomainf85101bin a throwaway tree (no conflict).cargo clippy --workspace --all-targets --locked -- -D warningsfails with exactly the errorsmainitself has on this machine (placed_filler_twins,depth_written, a sort; PR #841 fixes them), also with--all-features; this PR adds none.cargo test --workspace --locked: run 1: 556 passed, 0 failed, 11 ignored; run 2: stopped atindirect::tests::warp_budget_saturates_without_wraparound_and_preserves_draw_fields(the one that fails onmainitself most runs here (PR #849 and #847 fix its assertion)) (mainalone: 555 passed, 0 failed, 11 ignored). The title was not run, so this says nothing about in-game effect. No game data.AI-assisted (Claude Code); no game data.
Pull request closed