fix(math): align deterministic Bezier operations - #255
Draft
arazmj wants to merge 1 commit into
Draft
Conversation
Author
|
Additional real-world validation: completed another multiplayer game with two macOS GeneralsX clients and one deterministic Windows client. Map loading, shared tunnel exits, sound, and synchronization all remained working with no reported problems. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
arazmj
force-pushed
the
fix/deterministic-bezier-order
branch
from
August 16, 2026 14:26
0f73258 to
7874c42
Compare
Author
|
Proactive update: this branch has been rebased onto current |
fbraz3
marked this pull request as draft
August 17, 2026 04:25
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.
Description
Keep deterministic Bezier trajectories bit-identical between the GLM and D3DX paths.
The GLM path delegated matrix transforms and dot products to GLM, whose evaluation order differs from the explicitly ordered scalar operations used by the deterministic D3DX path. In a cross-platform multiplayer match, this first diverged on a
ScorpionTankShell: both clients matched through frame 17500, then produced slightly different projectile coordinates and CRCs at frame 17600.Changes
Corecode for both Generals and Zero Hour.Validation
z_generalsandg_generalstargets with deterministic math enabled.