Repository navigation
Description
Parent epic: #22
Implementation order: 01 of 20.
Depends on: no preceding implementation issue.
Outcome
Make the GPU work reproducible before implementing browser bindings. Establish the exact dependency, fixture and measurement baseline used by every later issue.
Implementation
- Add pinned Dawn/Tint and ANGLE build integration to the native runtime. Record source SHAs, matching WebGPU headers, GN/CMake toolchain settings, CRT/linkage choices, licenses and build flags; never mix extension enums/structs from unrelated native versions.
- Build the selected desktop backends: Dawn D3D12/Metal/Vulkan and ANGLE D3D11/Metal/Vulkan, retaining a separately tested GL option where needed. Keep graphics optional/lazy so existing non-GPU applications retain their baseline.
- Add small native resource/clear/readback probes for Dawn and ANGLE. These are diagnostic tools; diagnostic readback is not a production presentation implementation.
- Establish hardware runners for win-x64, osx-arm64 and linux-x64. Record OS/GPU/driver/adapter, acceleration, framework versions and build identities in machine-readable evidence. A runner without an adapter reports unavailable.
- Pin WebGPU CTS, Khronos WebGL tests and relevant WPT inputs. Add a capability/API coverage inventory that distinguishes core APIs, optional features, source/worker dependencies and harness gaps.
- Make the supplied MIT-licensed Kestrel fixture reproducibly available to developers and CI. Original archive SHA-256:
1e9a272449923ea1d2a24b4ce7f1a1f424d0a6c9a979ef155e2a67c1424d9f7d. Preserve application source and license unchanged; store provenance and per-file checksums. The archive is user supplied, not a public GitHub source URL: obtain it from the epic author if absent, and do not invent a download location. - Capture hardware-Chrome reference output and interaction traces for courtyard, fixture and deterministic 10k/100k-line scenes. Record viewport/DPR/theme/style/seed. Record the existing WebScene non-GPU benchmark baseline.
Tests
- Clean configure/build/load and minimal graphics probes on all three RIDs.
- Dependency/ABI mismatch detection, graphics-disabled build and native library relocation.
- Fixture checksum/license validation and repeated Chrome runs with actual hardware acceleration confirmed.
Verification evidence
Attach dependency manifest, exact reproduction commands, build logs, hardware manifests, fixture acquisition instructions and baseline results. Record CPU submission and actual presentation separately; Kestrel's archived GPU result is unavailable, not a baseline pass.
Acceptance
- Each RID reproducibly builds and loads pinned Dawn and ANGLE.
- Both native probes produce verified pixels on the recorded hardware.
- Kestrel fixture and official suite revisions are reproducible without author-specific paths.
- Reference images/interaction workloads and non-GPU measurements are recorded.
- No source/framework replacement or per-frame CPU presentation path is introduced.
Starting points
experiments/WebScene.NativeEngine.Probe/CMakeLists.txt, native runtime build scripts, .github/workflows/native-runtime-packages.yml, existing native and ecosystem compatibility runners.
Completion requirements
Link the implementation PR, exact test commands, native/runtime/framework revisions and verification artifacts before closing. Follow the epic's architecture and copy/lifetime invariants. Any unavailable mandatory hardware or missing required functionality remains incomplete, not a pass.
Current macOS evidence (2026-09-08)
Implementation remains in draft PR #43. Unchanged Kestrel now runs through the macOS WebGPU path; scoped startup, pan and resize checks and limits are documented in docs/graphics/coherent-gpu-scene-publication.md.
The corrected Chrome reference harness completed the full 32-run matrix (four scenes, two DPRs, two themes, two repetitions, 180 pans per run). All repeated composite/GPU/overlay before/after PNGs match exactly, hardware acceleration is confirmed in all runs, and 232 referenced artifact/source files verify by hash. Metadata and all six capture-tool sources are committed at 5154a48c under docs/graphics/evidence/2026-09-08-chrome-complete/. Earlier failed or differing attempts remain separately recorded.
The complete raw archive is packaged locally (189,531,386 bytes; SHA-256 247f070c0e2126d2fb59a304c9e591703fd5085b65a5980fb23a88656b96a6db), with all 287 regular archive files checked against the source directory. Permanent remote storage of the complete raw archive remains outstanding; the repository contains a documented subset, not all raw images/traces.
This does not close G01. Windows/Linux build/hardware/package qualification, complete non-GPU baseline comparison and durable complete reference retention remain required. Chrome platform-feedback reporter cadence is not a WebScene physical 60fps result. No acceptance checkbox is changed by these partial results.
Activity