Repository navigation
Conversation
Measure the cost of compiling and executing divergent pixel shaders. Publish the structural corpus and opt-in root-window experiment with source-only reproduction.
Preserve carry semantics and evaluate structural coverage on two licensed corpora and native D3D12 creation on seven open shaders.
Preserve the pinned combined matrix, an opt-in ABI-safe aperture patch and a separate lane-local mask experiment with physical timings and correctness controls. Assisted-by: Codex
Record the exact #2501 and #2503 stack, independent validation and a physical paired replay. Assisted-by: Codex
Include the opt-in runtime patch and matched open-shader comparisons on D3D12 and Vulkan. Keep the original wave ballots and complete mask values observable. Record the earlier Wave32 carry counterexample, upstream draft comparisons, the MiniEngine counterexample, reproducible first-image receipts and credit for independent fixtures.
…ions Publish the licensed hardware and compiler regressions, link the public XCL fork snapshots and upstream review, and retain a separate opt-in route for projected pixel-mask bits.
…tput with an independent CPU reference
This branch has not been deployed
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.
Current engineering status · 26 November 2026
The current Mobile NeRF inference results and compiler source in #90 cover two complete open passes and the current-main regression suite. The tables below preserve the provenance and status of earlier experiments.
Full commands, skip counts and raw workspace logs · Public Wave32 engineering case
Published Wave32 and experimental SSA evidence
PortBridge found an incorrect Wave32 carry result at triangle edges in ordinary XCL HLSL. The focused fix restores 668 wrong pixel-draws out of 2,953 to the reference, while preserving emitted HLSL across 195 open configurations. Upstream issue and patch · Reproduction and raw observations.
A separate opt-in direct-DXIL change extracts a proven lane bit from the existing SSA value. On one RTX 4070 Ti SUPER, the two views of raylib's open scene took 16.9–17.6% less time to draw on D3D12 and 19.2–19.6% less on Vulkan, with all 720,000 pixels unchanged. Three cold pairs saved 99–120 ms through the first verified raylib image. A Microsoft filter showed inconsistent draw-time changes. The older aggressive lane-local path failed a correctness control and is retired. Title-level performance, the driver-wide memory limit and independent hardware confirmation remain open. First-image measurements · Strong upstream comparison · Voluntary hardware check.
Earlier experiments
This starts PortBridge's sustained study of cold pipeline readiness. XCL and XBVK both report first-output stalls under cold compilation. The experiment uses only source-generated shaders and standard Vulkan.
The branch preserves sources, timing data, manifests and the research decision. Ten replay tests and all 195 PortBridge tests passed.
Full open-scene measurements
A Beautiful Game rendered 49 draws and 1,500,224 triangles per frame on RTX 4070 Ti SUPER. In the corrected repeat, a reserved worker improved request latency in four of eight pairs with a paired median gain of 0.10 ms.
Starting both known first-frame pipelines during texture and geometry upload reduced the matched interval to the first verified frame from 65.84 to 57.15 ms across eight pairs. All 48 frames matched byte for byte. The matched three-frame interval fell from 102.88 to 91.81 ms. Peak private commit was 205.76 and 205.79 MiB. Peak working set rose from 149.92 to 161.58 MiB. Process-start timings also varied before the treatment began. These findings apply to this renderer and tested workload.
Code, raw results, and reproduction
Read Guard Fusion validation
Report, exact patches and per-run data · XCL discussion
Proved UMA aperture specialization
The follow-up preserves address carry and uses a proven UMA constraint to replace a multi-window switch with one guarded read. In independent DXV-validated root-window corpus replays, 25 of 72 MiniEngine/Naga inputs and 65 of 122 Khronos inputs used fewer switches. Across both cohorts switches fell from 963 to 821.
On RTX 4070 Ti SUPER, seven affected open translated shaders reached a minimal D3D12 graphics PSO. Their largest cold-creation medians improved by 0.2% and 3.2%. Several lightweight cases improved more. All 1,664 pixels in the separate carry/borrow/EXEC controls matched. Application speed and exact native instruction size remain unmeasured.
Source patches, negative controls, and per-process data
Historical measurements · withdrawn Lane-local Masks
The aggressive mask lowering in this section failed a later correctness control. Its timing measurements describe an earlier experimental revision.
Combined report · Lane-local mask source and reproduction