Skip to content

Software rendering is bit-identical on every platform #233

Closed

Description

@michaelstonis

Parent

#231 → #33 Spec: Broadside v1

What to build

For the same package version, display list and render options, the software rasterizer produces identical bytes on Linux x64, Windows x64 and macOS arm64 (and WebAssembly through P40). Platform-dependent arithmetic is removed (fused multiply-add contraction, vector-width-dependent paths, library maths that differs by platform, parallel reduction order), a CI matrix compares render hashes across the three runners, and the guarantee and its limits are written down: native backends, with or without force outlines, match within the golden harness's tight threshold because their anti-aliasing is platform code.

Spec clauses

spec story 13; ADR 0006; open decision 5

Acceptance criteria

  • Every hand-written corpus page rendered at two DPIs gives identical hashes on the three CI runners; a mismatch fails with the differing pages listed and diff images attached.
  • A matrix leg with hardware intrinsics disabled produces the same hashes as the vectorised legs.
  • The rendering-backend skill and the render options documentation state the guarantee, its scope and that later rendering tickets must keep it.
  • The cross-platform job runs on every PR that touches rendering, so tickets landing after this one are held to it.

Blocked by

Draft note: #120 (builds on #95)

Deliverables (every ticket)

  • Tests through the public seam (see the spec's Testing Decisions)
  • XML docs citing clauses on public types
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated
  • Fuzz target and benchmark where the ticket adds a parser, codec or hot path

Activity

  1. added
    task
    ready-for-agent
    phase:7
    track:7A-coverage
    on Oct 10, 2026
  2. added
    in-progress
    on Nov 13, 2026
  3. michaelstonis commented on Nov 14, 2026

    @michaelstonis
    OwnerAuthor

    Merged into spec/33-broadside-v1 via #534.

  4. removed
    in-progress
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

phase:7ready-for-agenttasktrack:7A-coverage

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions