Skip to content

ng1: complete resident GPU raster and HostW staging (M3+M4) - #750

Merged
techomancer merged 33 commits into
techomancer:mainfrom
Tzeentchnet:feature/gpu-upstream-m3-command-abi
Nov 16, 2026
Merged

techomancer merged 33 commits into
techomancer:mainfrom
Tzeentchnet:feature/gpu-upstream-m3-command-abi

Conversation

@Tzeentchnet

@Tzeentchnet Tzeentchnet commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • complete the fixed resident command/state/payload ABI and the M3 raster surface: blocks, spans, clears, all line families, clipping, pixel operations, blending, patterns, shade DDA, screen copies, hazards, continuation, and no-op behavior
  • stage M4 HostW traffic transactionally for fills and lines, including segmented and zoomed streams, bounded payload/state reuse, producer retry handling, and FASTCLEAR+ALPHAHOST
  • keep the authoritative RGB/auxiliary planes GPU-resident across ordinary draws and direct presentation, with explicit tests for ordering and zero CPU fallback
  • preserve the granular implementation/documentation commits for review

Upstream context

Scope

This remains the gated, test-only resident backend. It does not enable production Newport raster = "wgpu", add a silent fallback, or make a performance claim.

Validation

The exact 99-case resident gate passed on both required hardware backends on an NVIDIA RTX 5070:

  • 28 resident CPU tests
  • 4 flat-fill, 2 line, 2 HostW walker, 1 mixed HostW interpreter/JIT, 1 shade-DDA, 1 pattern-state, 3 command-ABI, and 3 direct-state tests
  • 19 resident GPU + 8 direct scanout tests on Vulkan
  • 19 resident GPU + 8 direct scanout tests on D3D12

Additional checks passed:

  • cargo check --locked -p iris --no-default-features
  • cargo check --locked -p iris --no-default-features --features wgpu
  • cargo check --locked -p iris --no-default-features --features rex-gpu
  • cargo check --locked -p iris-gui --features iris/wgpu
  • shared MGRAS wgpu fill regression
  • patch-equivalent range-diff before and after the final upstream rebase

@Tzeentchnet
Tzeentchnet force-pushed the feature/gpu-upstream-m3-command-abi branch from 180de79 to a4555cb Compare November 16, 2026 08:03
@Tzeentchnet Tzeentchnet changed the title ng1: define resident GPU command ABI ng1: complete resident GPU raster and HostW staging (M3+M4) Nov 16, 2026
@Tzeentchnet Tzeentchnet reopened this Nov 16, 2026
@Tzeentchnet

Copy link
Copy Markdown
Contributor Author

CI note: the retriggered Windows test job (run 43831209086) completed 5,066/5,068 tests and failed only two real-time/file audio timing assertions:

  • dev::hal2::host_tests::a_tone_in_guest_memory_reaches_the_host_on_the_real_clock: 27,889 of 38,412 frames reached the file.
  • host_audio::tests::a_tone_survives_an_underrun_into_a_file: the expected pause was not observed.

This is a second independent Windows audio-flake signature: the prior attempt failed different RAD1/MACE audio timing tests. Ubuntu x64, Ubuntu ARM, both release builds, Loom, scope, lint, and all REX3/GPU tests passed. I am leaving the GPU branch unchanged rather than coupling it to unrelated audio timing behavior.

@techomancer
techomancer merged commit d50336c into techomancer:main Nov 16, 2026
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants