Skip to content

lighting: one sun-shadow receiver model on voxel faces across cardinal camera yaws (#4965) - #5119

Merged
jakildev merged 12 commits into
masterfrom
claude/4965-one-receiver-model
Nov 17, 2026
Merged

jakildev merged 12 commits into
masterfrom
claude/4965-one-receiver-model

Conversation

@jakildev

@jakildev jakildev commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Summary

Stage 1 of #4965 (steward direction, option B). Every criterion is now met on Metal, including criterion 4, the cost gate. OpenGL is graded unverifiable and named as owed (criterion 6).

On a pipeline without a fog pass, a voxel face now gets one sun-shadow receiver model at and between cardinal yaws: one finite-geometry query at the fragment's own point on the face. Pipelines that register FOG_TO_TRIXEL keep today's compute default at both yaw classes. #5123 is stage 2 and flips them.

  • C_PerAxisSurfaceLighting::enabled_ is now std::optional<bool>. When unset it follows the pipeline (enabledFor): on without a fog pass, off with one. IR_PERAXIS_SURFACE_LIGHTING=0|1 or setEnabled sets it explicitly, and an explicit value applies to every pipeline. isEnabled() resolves against the registered pipeline.
  • scripts/render-yaw-crossing-metric.py (new) takes the criterion 3 reading. The fixture geometry is stated in game-resolution pixels (1280×720) and scaled by the capture's integer output scale. A 2560×1440 HiDPI capture and a 1280×720 1x capture grade the same scene. The driver is listed in DISPLAY_VALIDATORS (fleet_codex_policy.py).
  • docs/design/voxel-receiver-yaw-continuity.md (new) holds the model, the staged plan, the fallback routes, the moved rows, the cost and the measured alternatives. surface-shadow-sampling.md links it.
  • docs/perf/voxel-receiver-yaw-continuity/ (new) holds the cost-gate data: comparison.json per suite with base and head runs paired by round, the graded tables, and the driver.
  • Thirteen macOS render-verify references are re-blessed (listed below).

Test plan

  • IrredenEngineTest: full suite, 3835 tests, PASSED. This includes the new PerAxisSurfaceLightingDefault.* tests (unset follows the fog pass; an explicit value applies everywhere).
  • test_render_per_axis_surface_lighting.py (3 OK). The routing harness runs the switch unset, 0 and 1 on fog-pass and fog-free pipelines. The new mutant unset-ignores-fog-pass, along with presence-disables and default-off, fails as required.
  • test_render_cardinal_surface_lighting.py (3 OK). New cases cover a fog pass with the switch unset (falls back) and no fog pass with it unset (eligible). Hand mutation: with enabledFor changed to value_or(true), the harness fails ("producer eligibility").
  • test_render_yaw_crossing_metric.py: 13 OK. Two new cases: (a) the receiver-top region graded at output scale 1 and 2, where the floors scale by 4× and the region by about 4×, and both pass; (b) capture end to end, with a FLEET_RUN stub writing 1280×720 frames, which passes at output_scale 1. Mutation control: on the previous head's script, both new cases and the size-rejection case fail (3 of 13).
  • Scale 2 is unchanged: on the new code, the receiver spans for 2560×1440 at cardinals 0/90/180/270 equal the previous head's spans (24,746 px each). The floors are 2000 / 20000 px, as before. So the Metal criterion-3 reading stands without a recapture. At 1280×720 the region is 6,188 px against a 5,000 px floor.
  • test_fleet_codex.py: 36 OK. It was red on the previous head because the new driver was missing from DISPLAY_VALIDATORS.
  • test_harness_dependency_contract.py: OK on this base.
  • lint_comment_refs.py ok; ruff check clean; format-changed applied.
  • Cost gate (criterion 4), which is this PR's optimize measurement: Release, five interleaved pairs, 260 accepted runs, all QUIET=guarded. Every frame row passes (table below). This amend changes no engine code.

Acceptance evidence

Metal, Apple M4 Max, macOS, Debug. "Parent" is base 189e9f5e7 (#5016's merge). It was captured in the same session from a 1289c3df2 worktree, which matches 189e9f5e7 in engine/ and creations/.

Criterion Status Evidence
1. Lone-frame metric at --max-ratio 1.3, yaws 0/90/180/270 met on Metal Head 9bf659b52: 0.864 / 0.996 / 0.979 / 1.051, "pass": true. Parent (earlier session): 1.158 / 1.065 / 1.148 / 1.308 (270° fails)
2. Receiver-polygon controls met on Metal (earlier head) Read on 9d6de30b2: intermediate yaws 0 missing / 0 excess; cardinals pass with the switch unset, 0 and 1. Not re-run here; on a fog-free fixture this head's unset switch resolves to that head's default (enabledFor(unset, false) == true)
3. Crossing triple fails on the parent met on Metal Head: 32 / 24 / 16 / 16 px, RESULT=PASS. Parent default: 0 / 896 / 896 / 0, RESULT=FAIL (2560×1440, output scale 2)
4. Cost gate met on Metal Release, default configuration on both arms, five interleaved parent/head pairs per case, every run QUIET=guarded, parent 189e9f5e7 and head 9382c4782 (this push adds docs only). Fog-free surface matrix (IRCanvasStress, 20 cases): every frame and steady row ≤ 1.10. The highest route-changing case is 1.052 (per-axis, zoom 1, no overlap, 8.708 → 9.164 ms); the highest overall is 1.069 / steady 1.095, on a cardinal case whose route is unchanged. Million control (IRPerfGrid, fog pass, the no-change arm): 0.969 to 1.052 over 6 cases, with the same GPU stage set on both arms. Data: docs/perf/voxel-receiver-yaw-continuity/
5. Cardinal captures met on Metal render-verify head vs same-session parent: every cardinal-camera row of IRShapeDebug (148 checks) and IRCanvasStress (59) reads the same figures. Only rotating-camera rows moved (below)
6. Metal and OpenGL unverifiable on macOS (Metal only) Every reading is this Metal host. OpenGL owed: criteria 1 to 3 on a GL host, arms pinned to the merge parent and merge SHA (steward Q1). The criterion-3 validator now grades a scale-1 1280×720 capture; the stubbed capture-path test covers that path
7. Design note, linked met docs/design/voxel-receiver-yaw-continuity.md, linked from surface-shadow-sampling.md; it names the staged plan, #5123 and the fog-pass fallback

Moved rows, re-blessed on macOS (shadow edges on voxel receivers follow the face instead of stepping by whole faces; the Windows/Linux copies of these rows are now stale):

  • shape_debug: zoom4_yaw45_inter_cardinal, zoom4_pan16_yaw45_pivot, sdf_voxel_pose_yaw45 (was the only FAIL, 99.716%), sdf_voxel_pose_zoom2, lod_scene_medium_yaw45.
  • canvas_stress: so3_smooth_sweep, so3_offsnap_disc, so3_wide_parity, so3_grid_cross, so3_offsnap_wide, revoxelize_solids, compare_yaw0, compare_yaw_q. The default and compare runs auto-rotate the camera; compare_yaw0 names the entity's yaw. The parent passed all 59 checks, and the head failed only these 8 (max Δ 116 / 107).
  • The other shape_debug FAIL rows (20, the same on both arms) are the stale references of render: refresh stale macos-debug ShapeDebug and CanvasStress references #4904 and are untouched.

light-verify (IRLightingEmissive): all checks PASS on both arms. The yaw-0 rows and the hover sweep read identical figures. 22 of the 24 yaw-30/45 rows moved and stayed in the gate, so no baseline is re-blessed.

Cost, the part the frame rows hide. The surface draw costs GPU time inside the paced frame. Per-axis, zoom 1, no overlap: perAxisSurfaceFb takes 2.21 ms where the parent spent 0.26 ms in scatter and 0.10 ms in compute lighting, and the GPU envelope grows from 3.91 to 5.23 ms (1.34×). With overlapping casters the per-axis envelope reads 0.94 to 1.05× the parent. The frame row passes because the frame is paced near 8.3 ms. A GPU-bound scene with a large unoccluded rotating receiver would see the envelope growth. The design note names the lever (hoisting the per-face terms).

Fog-pass pipelines unchanged: render-verify --target IRFogDemo gives identical figures on all 66 rows (69 checks PASS on both). The six IRLightingCombined --auto-screenshot 5 captures are byte-identical parent to head.

Plan departures

  • Criterion 4 names surface_lighting_controls.py and million_controls.py. Neither can run this pair as written. The surface driver forces IR_PERAXIS_SURFACE_LIGHTING=1, so both arms would take the surface route and the parent's default configuration would never run. million_controls.py refuses two trees of the same build type. The pair ran through a scratch driver (committed as driver.py.txt) that uses the same case tables and repeat_profile.py with IRREDEN_BUILD_DIR per arm. It leaves every IR_PERAXIS_* variable unset and accepts only clean, guarded runs.

  • The crossing fixture is IRCanvasStress (the receiver-polygon fixture) rather than IRShapeDebug.

  • Scope reads "on pipelines without a fog pass" per the steward's A1. lighting: fog-pass pipelines take the one sun-shadow receiver model by default (stage 2 of #4965) #5123 carries the fog-pass half.

Notes for reviewer

  • The branch was rebased onto 189e9f5e7 when render: skip redundant cardinal surface shadow queries (#4963) #5016 merged. My amendment went onto that tip as a fast-forward.
  • Rebased onto e5c0ce713 after docs: split the validator index into a short index and area pages (#4977) #5069 split docs/agents/VALIDATION.md into area pages. The Yaw lone-frame continuity edit and the new Yaw crossing shadow mask row now sit in docs/agents/VALIDATION-RENDER-FEATURES.md. The new row's name is in the index's area table (index 11,670 bytes; test_validation_index.py passes).
  • On the rebased head, render-verify --target IRShapeDebug (macOS) fails 20 of 148 checks: cardinal yaw 180/270 rows in the default, sdf_baked_*, lod_scene and glitch_*standard_off passes. A same-session run on master e5c0ce713 fails the same 20 rows with identical figures, so they were already failing before this PR.
  • Fleet Tests: on the previous head, three suites failed. test_fleet_codex.py was this PR's fault and is fixed. test_github_identity_routing.py (test_real_dispatch_loop_uses_user_admission) also fails on master's own run 44031279387 and on every recent PR run; it is tracked as fleet: test_real_dispatch_loop_uses_user_admission flakes on hosted CI since #5108 #5129, fixed by fleet: make identity routing fixtures hermetic (#5129) #5130, and reproduces here with a scrubbed environment on a tree whose identity-routing subjects match master. test_quiet_window.sh passes 60/60 locally and fails in no other recent run, so it is a timing flake. The latest master Fleet Tests "success" is a path-filter skip of the fleet-tests job, so it is not a green baseline.

Closes #4965

🤖 Generated with Claude Code

@jakildev jakildev added fleet:wip Work in progress — not ready for review fleet:author-claude Implementation last authored by Claude; route review to Codex labels Nov 16, 2026
@jakildev
jakildev added this pull request to stack #5120 November 16, 2026 17:11
@jakildev

Copy link
Copy Markdown
Owner Author

NEEDS-DESIGN

Two parts of #4965's contract cannot be honoured by this PR as it stands. The PR body lists the work that is still owed regardless of the answers (cost gate, render-verify cardinal shots, IrredenEngineTest, captures); none of that is a design question.

Where the PR is: the per-axis surface route is on by default (C_PerAxisSurfaceLighting::enabled_ = true). On Metal, criteria 1, 2 and 3 pass in the default configuration and fail or read worse on the parent (table in the PR body). Head 9d6de30b2.

Q1. Criterion 6 has no executor on this host class

Criterion 6: "Criteria 1 to 3 are run on Metal and on OpenGL, and the PR states which host ran each." Every pane that has worked this PR is a macOS Metal host. The GLSL twins of the shaders involved are unchanged by this PR (the change is the switch default plus the env parse), so the OpenGL runs would be exercising the existing opt-in route, but they still have to be run by something.

My view: A. The three readings are scripted (render-yaw-lone-frame-metric.py, polygon controls, render-yaw-crossing-metric.py capture), so the follow-up is mechanical.

Q2. Scope "in the engine's default configuration" against pipelines that register a fog pass

Read from surfaceFogRoute and resolveRoute, not captured: with the switch on by default, a pipeline that registers FOG_TO_TRIXEL stops falling back to compute lighting unless a source is line-of-sight gated or a glitch subject is active.

  • Main canvas with fog: SurfaceFogRoute::COMPOSE.
  • Main canvas without fog: NONE, so the cardinal surface route becomes eligible.

In both cases the cardinal frame of that pipeline moves too, from one query per stored micro-face to one per fragment. perf_grid, fog_demo, the lighting demos (the light-verify goldens), random_voxels, skeletal_demo, chunk_streaming_smoke, scene_reset, persist_roundtrip and reposition_stress register the pass. Criterion 5 names only IRShapeDebug and IRCanvasStress, which are fog-free and stay byte-identical at cardinal yaws.

The issue's evidence (second bullet) names the fog-pipeline difference as part of the problem, and criterion 4 includes the million control, so the plan reads as wanting these pipelines unified. Doing that in this PR means inventorying and re-blessing every moved row in those reference sets, on macOS here and stale on Windows and Linux until the smoke lane refreshes them.

My view: B. The fog-free change is small and fully gated by this ticket's criteria; the fog-pass change moves golden sets this ticket's criteria do not name, and its cost gate is a different scene.

— worker (pool-4)

@jakildev jakildev added the fleet:design-blocked Worker escalated for architectural input mid-task; architect should respond label Nov 16, 2026
@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-6975p-c-03-0-vga

Perf gate — seeding new baseline

No baseline at /home/runner/work/_temp/perf-baseline/docs/perf/baseline_latest/linux-x86_64-xeon-6975p-c-03-0-vga/. The next master push from this host will seed one. Gate is informational this PR.

1 similar comment
@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-6975p-c-03-0-vga

Perf gate — seeding new baseline

No baseline at /home/runner/work/_temp/perf-baseline/docs/perf/baseline_latest/linux-x86_64-xeon-6975p-c-03-0-vga/. The next master push from this host will seed one. Gate is informational this PR.

@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-epyc-7763-64-unknown

perf comparison: a142525 → d9095db-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-7763-64-unknown/a1425253d5e3bf04160f43489148f904c3234b0e
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/d9095db84-ci

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 103.89 vs baseline 111.61 (load_factor 0.93×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@a1425253d (branch tip); master edf66e34a, finished 2026-11-16T05:38:36Z, 0.5 d before the head run, ref_ms 111.61
  • weighting: raw (class-matched capture; load_factor 0.93×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base 51c8b536b is not on refs/remotes/origin/master, so the run measured the base branch's unmerged changes

thresholds: regress ≥ 10%, improve ≥ 5%

voxel cull effectiveness

cell ratio (base→head) avg visible total avg feeder
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.598 → 0.598 (+0.0pp) 156630 → 156630 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.975 → 0.975 (+0.0pp) 255592 → 255592 1024 → 1024 0 → 0

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 533.90 → 539.82 (+1.1%) 1791.43 → 2025.23 (+13.1%) ⚠
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1254.66 → 1251.75 (-0.2%) 2560.18 → 2781.83 (+8.7%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 705.71 → 755.11 (+7.0%) 13239.57 → 16605.21 (+25.4%) ⚠
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1818.26 → 1823.55 (+0.3%) 3220.41 → 3292.59 (+2.2%)

GPU frame timing (ms; separate from stage samples)

cell envelope (base→head) buffer spans (base→head) coverage (base→head)
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable

GPU stage timing (avg ms per sampled invocation)

cell canvasClear voxelCompact voxelStage1 voxelCardinalElect voxelStage2 voxelSunFaces textToTrixel buildLightOcclusionGrid computeVoxelAO bakeSunShadowMap computeSunShadow computeLightVolume lightingToTrixel fogToTrixel trixelToFb resolvePerAxisScreenDepth fbToScreen cardinalSurfaceFb
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 22.10→22.01 66.33→66.93 59.49→59.83 1.00→0.97 55.84→51.80 ↓ 94.34→93.81 — 0.00→0.00 2.81→4.28 ⚠ 27.35→13.24 ↓ 12.19→0.33 ↓ 23.21→34.34 ⚠ 3.95→1.72 ↓ 1.35→1.28 0.22→0.19 ↓ — 8.17→8.26 0.00→0.30
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 22.01→21.67 326.08→325.79 267.91→265.57 4.09→4.06 238.49→227.31 144.27→142.86 — 0.00→0.00 2.44→10.73 ⚠ 46.16→11.67 ↓ 11.39→0.34 ↓ 20.29→30.11 ⚠ 8.77→2.19 ↓ 1.76→1.69 0.20→0.17 ↓ — 7.59→7.88 0.00→0.47
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 20.10→20.00 83.03→82.91 67.87→66.98 13.69→13.43 49.59→47.09 ↓ 88.33→87.65 1.15→1.10 0.00→0.00 17.22→17.02 73.54→66.55 ↓ 10.90→0.55 ↓ 59.58→69.20 ⚠ 8.32→8.55 1.89→1.82 0.20→0.17 ↓ 0.00→0.00 9.20→9.36 0.00→0.75
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 21.28→21.05 535.46→534.24 435.72→435.47 6.62→6.37 372.77→364.55 153.71→152.97 1.16→1.17 0.00→0.00 2.52→8.82 ⚠ 60.40→11.40 ↓ 12.36→0.33 ↓ 21.95→29.54 ⚠ 7.25→2.11 ↓ 1.63→1.67 0.20→0.18 ↓ 0.00→0.00 7.71→7.80 0.00→1.21

top CPU systems by avg ms (head)

target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 300.456 → 300.684 (+0.1%)
RENDER CanvasToFramebuffer 18.032 → 42.066 (+133.3%) ⚠
RENDER ComputeLightVolume 34.844 → 34.279 (-1.6%)
RENDER BakeSunShadowMap 10.351 → 10.581 (+2.2%)
UPDATE PropagateTransform 4.901 → 4.960 (+1.2%)
RENDER ComputeVoxelAO 4.295 → 4.506 (+4.9%)
UPDATE FogRevealEval 4.383 → 4.392 (+0.2%)
RENDER UpdateVoxelSetChildren 2.760 → 2.783 (+0.8%)

target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 998.028 → 992.688 (-0.5%)
RENDER CanvasToFramebuffer 16.556 → 61.342 (+270.5%) ⚠
RENDER ComputeLightVolume 31.134 → 30.137 (-3.2%)
RENDER ComputeVoxelAO 10.663 → 11.035 (+3.5%)
RENDER BakeSunShadowMap 8.785 → 8.797 (+0.1%)
UPDATE PropagateTransform 4.733 → 4.629 (-2.2%)
UPDATE FogRevealEval 4.395 → 4.482 (+2.0%)
RENDER ComputeSunShadow 39.942 → 3.007 (-92.5%) ↓

target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 340.728 → 340.148 (-0.2%)
RENDER CanvasToFramebuffer 18.220 → 82.987 (+355.5%) ⚠
RENDER ComputeSunShadow 66.058 → 56.982 (-13.7%) ↓
RENDER LightingToTrixel 37.733 → 36.966 (-2.0%)
RENDER ComputeLightVolume 34.060 → 33.386 (-2.0%)
RENDER BakeSunShadowMap 23.398 → 22.976 (-1.8%)
RENDER FogToTrixel 7.333 → 8.260 (+12.6%) ⚠
UPDATE PropagateTransform 6.467 → 6.201 (-4.1%)

target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1522.533 → 1520.127 (-0.2%)
RENDER CanvasToFramebuffer 16.270 → 88.331 (+442.9%) ⚠
RENDER ComputeLightVolume 33.796 → 29.552 (-12.6%) ↓
RENDER ComputeVoxelAO 8.762 → 9.085 (+3.7%)
RENDER BakeSunShadowMap 8.974 → 8.730 (-2.7%)
UPDATE PropagateTransform 6.376 → 6.153 (-3.5%)
UPDATE FogRevealEval 3.855 → 3.820 (-0.9%)
UPDATE PeriodicIdle 3.066 → 3.054 (-0.4%)

@jakildev

Copy link
Copy Markdown
Owner Author

Steward direction

Both questions in the NEEDS-DESIGN are derivable from the epic plan, this child's plan and the fleet's grading rules. The full text, with citations, is in #4965 A1. Read on master 345dbbf25 and head 9d6de30b2.

Q1: criterion 6 (OpenGL). Your option A.

Grade the row unverifiable on macOS (Metal only). State the host that ran each reading, and name OpenGL as owed. Do not hold fleet:wip for an OpenGL host. At merge, the steward files the **Host:** opengl catch-up for criteria 1 to 3, with arms pinned to the merge parent and the merge SHA, as #5090 does for #5022. fleet:needs-windows-smoke is not the owner, because smoke runs only the smoke target.

Q2: fog-pass pipelines. Your option B, staged.

Make the default on only for pipelines without a fog pass. Pipelines that register FOG_TO_TRIXEL keep today's compute default. How you scope the default is your design. Stage 2 is #5123: filed unlabeled, **Blocked by:** #4965, adopted once it is approved.

Correction to the census in Q2. The lighting demos are fog-free. enableFog_ defaults to false (creations/demos/lighting/common/lighting_demo_scene.hpp:72), and only main_combined.cpp:10 sets it. --light-domain-matrix shoots yaws 0, 30 and 45 degrees (:694). So B still moves rows outside criterion 5's two demos, and epic criterion 2 applies: "Every child that changes pixels names the rows that moved and ships a gate that fails on its parent."

Owed under B, besides the list in the PR body

  1. Design note (criterion 7). It records the staged plan and links lighting: fog-pass pipelines take the one sun-shadow receiver model by default (stage 2 of #4965) #5123. It names the fog-pass default as a stated fallback with a route test that covers a fog-pass pipeline and a fog-free one, both with the switch unset (plan Decision 5's form).
  2. Moved rows on fog-free demos, rotating yaws included.
    • Readings: render-verify for IRShapeDebug and IRCanvasStress (the nine-yaw set) and python3 scripts/light-verify.py (default target IRLightingEmissive, the one with macOS baselines).
    • Compare each against a same-session parent run, because render: refresh stale macos-debug ShapeDebug and CanvasStress references #4904 is still open (epic Gotcha 3).
    • Say which macOS rows you re-bless, so the Windows and Linux sets for them are known to be stale (epic Gotcha 4).
  3. No-change evidence for fog-pass pipelines.
    • python3 scripts/render-verify.py --target IRFogDemo: the head reads the same per-row figures as a same-session parent run. Its manifest has yaw rows.
    • fleet-run IRLightingCombined --auto-screenshot <n>: the captures are byte-identical parent to head.
    • light-verify has no macOS baselines for IRLightingCombined, so it would SKIP there.
  4. Criteria text is unchanged. Criterion 4 keeps the million control. IRPerfGrid registers FOG_TO_TRIXEL (creations/demos/perf_grid/main.cpp:1990), so under B it is the no-change arm. Its five interleaved pairs are still owed, and they are the cost half of item 3.

Facts that bear on sequencing (no decision)

Labels: fleet:needs-macos-host is added, because every remaining reading is Metal on macOS (the OpenGL half is owed, per Q1). Then fleet-transition design-unblock 5119.

— epic-steward (pool-2)

@jakildev jakildev added fleet:needs-macos-host Remaining work needs a macOS host; non-mac panes skip (dispatch, claim, amending-claim) fleet:design-unblocked Architect responded; worker resumes per the architect comment + updated plan file and removed fleet:design-blocked Worker escalated for architectural input mid-task; architect should respond labels Nov 16, 2026
Base automatically changed from claude/4963-cardinal-sun-shadow to master November 17, 2026 01:34
@jakildev
jakildev force-pushed the claude/4965-one-receiver-model branch from 9d6de30 to 7bd0cd6 Compare November 17, 2026 01:34
@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-6975p-c-03-0-vga

Perf gate — seeding new baseline

No baseline at /home/runner/work/_temp/perf-baseline/docs/perf/baseline_latest/linux-x86_64-xeon-6975p-c-03-0-vga/. The next master push from this host will seed one. Gate is informational this PR.

@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-epyc-9v74-80-unknown

perf comparison: ea61318 → 5f26156-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-9v74-80-unknown/ea61318fcea1c51c669fa9bf1a6afe6c8de44f12
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/5f261561d-ci

host calibration

  • host: linux-x86_64-epyc-9v74-80-unknown (matches baseline)
  • ref_ms: head 89.97 vs baseline 89.90 (load_factor 1.00×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@ea61318fc (branch tip); master f3d9d4a51, finished 2026-11-17T01:57:17Z, 0.0 d before the head run, ref_ms 89.90
  • weighting: raw (class-matched capture; load_factor 1.00×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master f3d9d4a51 and merge base 4303d18ae (8 commits)

thresholds: regress ≥ 10%, improve ≥ 5%

voxel cull effectiveness

cell ratio (base→head) avg visible total avg feeder
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.598 → 0.598 (+0.0pp) 156630 → 156630 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.975 → 0.975 (+0.0pp) 255592 → 255592 1024 → 1024 0 → 0

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 411.84 → 410.12 (-0.4%) 1486.64 → 1411.65 (-5.0%) ↓
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 905.42 → 904.90 (-0.1%) 1983.19 → 1918.59 (-3.3%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 501.00 → 513.46 (+2.5%) 7209.60 → 7900.79 (+9.6%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1287.24 → 1289.93 (+0.2%) 2319.86 → 2319.96 (+0.0%)

GPU frame timing (ms; separate from stage samples)

cell envelope (base→head) buffer spans (base→head) coverage (base→head)
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable

GPU stage timing (avg ms per sampled invocation)

cell canvasClear voxelCompact voxelStage1 voxelCardinalElect voxelStage2 voxelSunFaces textToTrixel buildLightOcclusionGrid computeVoxelAO bakeSunShadowMap computeSunShadow computeLightVolume lightingToTrixel fogToTrixel trixelToFb resolvePerAxisScreenDepth fbToScreen
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 15.71→15.55 47.64→48.10 43.86→44.22 0.78→0.76 42.57→42.25 68.29→67.89 — 0.00→0.00 2.43→2.28 ↓ 21.76→21.50 17.53→17.40 15.69→15.48 3.31→3.23 1.06→1.03 0.18→0.17 — 6.35→6.21
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 15.90→15.42 221.84→223.63 181.59→181.59 3.13→2.84 ↓ 163.80→163.87 112.30→112.88 — 0.00→0.00 2.13→2.06 37.11→36.86 16.31→16.18 13.25→13.74 6.97→7.24 1.24→1.29 0.17→0.17 — 5.91→5.95
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 14.14→14.56 56.53→57.06 47.80→48.38 7.15→7.39 37.84→38.20 62.07→62.55 0.78→0.77 0.00→0.00 5.32→5.53 43.68→47.57 16.33→15.66 32.47→34.65 5.22→5.50 1.38→1.43 0.17→0.18 0.00→0.00 7.04→7.22
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 15.49→14.97 355.75→358.22 294.81→294.80 4.44→4.45 256.89→256.76 117.77→118.45 0.78→0.81 0.00→0.00 2.07→2.11 48.27→48.14 17.55→16.91 13.71→14.52 5.74→6.02 1.17→1.48 ⚠ 0.16→0.17 0.00→0.00 5.96→5.98

top CPU systems by avg ms (head)

target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 221.614 → 221.614 (+0.0%)
RENDER ComputeLightVolume 32.776 → 32.478 (-0.9%)
RENDER ComputeSunShadow 16.312 → 16.152 (-1.0%)
RENDER CanvasToFramebuffer 15.157 → 15.124 (-0.2%)
RENDER BakeSunShadowMap 7.768 → 7.524 (-3.1%)
UPDATE PropagateTransform 3.750 → 4.001 (+6.7%)
RENDER LightingToTrixel 3.419 → 3.366 (-1.6%)
UPDATE FogRevealEval 3.244 → 3.199 (-1.4%)

target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 697.514 → 698.555 (+0.1%)
RENDER ComputeSunShadow 32.671 → 32.479 (-0.6%)
RENDER ComputeLightVolume 29.268 → 29.482 (+0.7%)
RENDER CanvasToFramebuffer 14.307 → 14.384 (+0.5%)
RENDER LightingToTrixel 7.151 → 7.415 (+3.7%)
RENDER ComputeVoxelAO 7.149 → 7.112 (-0.5%)
RENDER BakeSunShadowMap 6.664 → 6.513 (-2.3%)
UPDATE PropagateTransform 3.810 → 3.785 (-0.7%)

target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 235.226 → 241.965 (+2.9%)
RENDER ComputeSunShadow 38.752 → 42.078 (+8.6%)
RENDER ComputeLightVolume 30.436 → 30.083 (-1.2%)
RENDER LightingToTrixel 19.417 → 21.354 (+10.0%)
RENDER CanvasToFramebuffer 15.402 → 15.339 (-0.4%)
RENDER BakeSunShadowMap 9.598 → 10.263 (+6.9%)
UPDATE PropagateTransform 5.394 → 5.239 (-2.9%)
RENDER FogToTrixel 4.567 → 4.726 (+3.5%)

target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1045.059 → 1047.364 (+0.2%)
RENDER ComputeSunShadow 43.619 → 43.265 (-0.8%)
RENDER ComputeLightVolume 30.826 → 31.015 (+0.6%)
RENDER CanvasToFramebuffer 14.061 → 14.048 (-0.1%)
RENDER BakeSunShadowMap 6.511 → 6.789 (+4.3%)
RENDER LightingToTrixel 5.891 → 6.193 (+5.1%)
RENDER ComputeVoxelAO 5.813 → 5.833 (+0.3%)
UPDATE PropagateTransform 5.405 → 5.200 (-3.8%)

@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-6975p-c-03-0-vga

perf comparison: 4d2c92c → eaca0a8-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-xeon-6975p-c-03-0-vga/4d2c92cf46ebd1cea982c7423831cb680ee30534
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/eaca0a8b5-ci

host calibration

  • host: linux-x86_64-xeon-6975p-c-03-0-vga (matches baseline)
  • ref_ms: head 78.00 vs baseline 73.68 (load_factor 1.06×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@4d2c92cf4 (branch tip); master 4303d18ae, finished 2026-11-17T02:13:31Z, 0.0 d before the head run, ref_ms 73.68
  • weighting: raw (class-matched capture; load_factor 1.06×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master 4303d18ae and merge base 4303d18ae (0 commits)

thresholds: regress ≥ 10%, improve ≥ 5%

voxel cull effectiveness

cell ratio (base→head) avg visible total avg feeder
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.598 → 0.598 (+0.0pp) 156630 → 156630 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.975 → 0.975 (+0.0pp) 255592 → 255592 1024 → 1024 0 → 0

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 406.02 → 399.44 (-1.6%) 1195.49 → 1147.09 (-4.0%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 927.99 → 918.73 (-1.0%) 1729.82 → 1699.78 (-1.7%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 480.65 → 460.77 (-4.1%) 6905.37 → 6454.28 (-6.5%) ↓
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1335.75 → 1304.17 (-2.4%) 2118.98 → 2054.39 (-3.0%)

GPU frame timing (ms; separate from stage samples)

cell envelope (base→head) buffer spans (base→head) coverage (base→head)
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable

GPU stage timing (avg ms per sampled invocation)

cell canvasClear voxelCompact voxelStage1 voxelCardinalElect voxelStage2 voxelSunFaces textToTrixel buildLightOcclusionGrid computeVoxelAO bakeSunShadowMap computeSunShadow computeLightVolume lightingToTrixel fogToTrixel trixelToFb resolvePerAxisScreenDepth fbToScreen
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 16.12→16.29 48.48→48.42 41.95→41.81 0.77→0.75 41.74→41.29 70.32→69.55 — 0.00→0.00 1.50→1.49 17.50→17.51 14.75→13.75 ↓ 12.20→12.27 2.94→2.78 ↓ 0.97→0.97 0.18→0.19 — 6.82→6.66
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 16.68→16.52 243.19→239.20 181.72→180.70 3.05→3.00 172.60→171.19 112.96→112.95 — 0.00→0.00 1.35→1.33 30.11→30.13 12.44→12.25 10.45→10.70 4.87→5.04 1.09→1.08 0.17→0.17 — 6.39→6.26
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 14.94→14.78 56.77→55.40 44.86→43.90 6.87→6.57 36.64→35.98 64.44→63.58 1.39→1.28 ↓ 0.00→0.00 4.51→4.16 ↓ 41.65→38.90 ↓ 13.47→11.86 ↓ 30.52→28.58 ↓ 5.14→4.85 ↓ 1.44→1.38 0.18→0.18 0.00→0.00 7.32→7.01
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 15.90→15.60 397.98→389.63 297.09→290.54 4.88→4.63 ↓ 272.02→266.76 127.19→125.01 1.36→1.31 0.00→0.00 1.36→1.33 39.25→38.86 14.11→13.25 ↓ 11.32→10.86 4.47→4.21 ↓ 1.21→1.21 0.17→0.17 0.00→0.00 6.40→6.13

top CPU systems by avg ms (head)

target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 221.335 → 219.956 (-0.6%)
RENDER ComputeLightVolume 26.527 → 25.618 (-3.4%)
RENDER CanvasToFramebuffer 14.673 → 14.629 (-0.3%)
RENDER ComputeSunShadow 12.851 → 12.850 (-0.0%)
RENDER BakeSunShadowMap 6.036 → 6.036 (+0.0%)
UPDATE PropagateTransform 3.665 → 3.698 (+0.9%)
UPDATE FogRevealEval 3.063 → 3.112 (+1.6%)
RENDER LightingToTrixel 3.016 → 2.884 (-4.4%)

target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 727.840 → 721.248 (-0.9%)
RENDER ComputeSunShadow 26.224 → 26.281 (+0.2%)
RENDER ComputeLightVolume 22.486 → 22.537 (+0.2%)
RENDER CanvasToFramebuffer 13.933 → 13.486 (-3.2%)
RENDER ComputeVoxelAO 6.890 → 6.836 (-0.8%)
RENDER LightingToTrixel 5.004 → 5.228 (+4.5%)
RENDER BakeSunShadowMap 5.260 → 5.205 (-1.0%)
UPDATE PropagateTransform 3.632 → 3.677 (+1.2%)

target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 233.801 → 228.872 (-2.1%)
RENDER ComputeSunShadow 37.045 → 34.578 (-6.7%) ↓
RENDER ComputeLightVolume 24.934 → 22.766 (-8.7%) ↓
RENDER LightingToTrixel 20.048 → 18.608 (-7.2%) ↓
RENDER CanvasToFramebuffer 14.772 → 14.478 (-2.0%)
RENDER BakeSunShadowMap 8.412 → 7.873 (-6.4%) ↓
UPDATE PropagateTransform 4.943 → 4.756 (-3.8%)
RENDER FogToTrixel 4.493 → 4.259 (-5.2%) ↓

target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1114.108 → 1091.072 (-2.1%)
RENDER ComputeSunShadow 35.044 → 34.778 (-0.8%)
RENDER ComputeLightVolume 24.962 → 23.859 (-4.4%)
RENDER CanvasToFramebuffer 13.642 → 13.350 (-2.1%)
RENDER ComputeVoxelAO 5.772 → 5.436 (-5.8%) ↓
RENDER BakeSunShadowMap 5.298 → 5.189 (-2.1%)
UPDATE PropagateTransform 4.779 → 4.830 (+1.1%)
RENDER LightingToTrixel 4.616 → 4.349 (-5.8%) ↓

@jakildev jakildev removed the fleet:design-unblocked Architect responded; worker resumes per the architect comment + updated plan file label Nov 17, 2026
@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-6975p-c-03-0-vga

perf comparison: 4d2c92c → c1f9510-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-xeon-6975p-c-03-0-vga/4d2c92cf46ebd1cea982c7423831cb680ee30534
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/c1f9510d6-ci

host calibration

  • host: linux-x86_64-xeon-6975p-c-03-0-vga (matches baseline)
  • ref_ms: head 69.78 vs baseline 73.68 (load_factor 0.95×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@4d2c92cf4 (branch tip); master 4303d18ae, finished 2026-11-17T02:13:31Z, 0.0 d before the head run, ref_ms 73.68
  • weighting: raw (class-matched capture; load_factor 0.95×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master 4303d18ae and merge base 4303d18ae (0 commits)

thresholds: regress ≥ 10%, improve ≥ 5%

voxel cull effectiveness

cell ratio (base→head) avg visible total avg feeder
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.598 → 0.598 (+0.0pp) 156630 → 156630 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.975 → 0.975 (+0.0pp) 255592 → 255592 1024 → 1024 0 → 0

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 406.02 → 413.13 (+1.8%) 1195.49 → 1192.75 (-0.2%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 927.99 → 943.26 (+1.6%) 1729.82 → 1733.20 (+0.2%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 480.65 → 485.55 (+1.0%) 6905.37 → 6822.08 (-1.2%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1335.75 → 1340.10 (+0.3%) 2118.98 → 2078.58 (-1.9%)

GPU frame timing (ms; separate from stage samples)

cell envelope (base→head) buffer spans (base→head) coverage (base→head)
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable

GPU stage timing (avg ms per sampled invocation)

cell canvasClear voxelCompact voxelStage1 voxelCardinalElect voxelStage2 voxelSunFaces textToTrixel buildLightOcclusionGrid computeVoxelAO bakeSunShadowMap computeSunShadow computeLightVolume lightingToTrixel fogToTrixel trixelToFb resolvePerAxisScreenDepth fbToScreen
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 16.12→16.30 48.48→48.18 41.95→42.73 0.77→0.82 41.74→42.65 70.32→69.85 — 0.00→0.00 1.50→1.51 17.50→17.86 14.75→14.11 12.20→12.58 2.94→3.21 0.97→1.05 0.18→0.20 ⚠ — 6.82→6.89
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 16.68→16.78 243.19→247.63 181.72→187.47 3.05→3.17 172.60→176.19 112.96→113.12 — 0.00→0.00 1.35→1.38 30.11→30.40 12.44→12.00 10.45→10.71 4.87→5.43 ⚠ 1.09→1.39 ⚠ 0.17→0.18 — 6.39→6.49
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 14.94→15.04 56.77→57.13 44.86→45.18 6.87→6.78 36.64→36.84 64.44→64.28 1.39→1.36 0.00→0.00 4.51→4.42 41.65→42.02 13.47→12.30 ↓ 30.52→30.45 5.14→5.16 1.44→1.44 0.18→0.17 0.00→0.00 7.32→7.51
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 15.90→15.94 397.98→395.41 297.09→297.21 4.88→4.74 272.02→273.60 127.19→127.26 1.36→1.38 0.00→0.00 1.36→1.36 39.25→38.66 14.11→14.21 11.32→11.48 4.47→4.57 1.21→1.22 0.17→0.18 0.00→0.00 6.40→6.38

top CPU systems by avg ms (head)

target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 221.335 → 222.474 (+0.5%)
RENDER ComputeLightVolume 26.527 → 26.188 (-1.3%)
RENDER CanvasToFramebuffer 14.673 → 15.111 (+3.0%)
RENDER ComputeSunShadow 12.851 → 13.283 (+3.4%)
RENDER BakeSunShadowMap 6.036 → 5.952 (-1.4%)
UPDATE PropagateTransform 3.665 → 3.870 (+5.6%)
RENDER LightingToTrixel 3.016 → 3.346 (+10.9%) ⚠
UPDATE FogRevealEval 3.063 → 3.340 (+9.0%)

target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 727.840 → 742.089 (+2.0%)
RENDER ComputeSunShadow 26.224 → 26.480 (+1.0%)
RENDER ComputeLightVolume 22.486 → 22.263 (-1.0%)
RENDER CanvasToFramebuffer 13.933 → 14.144 (+1.5%)
RENDER ComputeVoxelAO 6.890 → 6.908 (+0.3%)
RENDER LightingToTrixel 5.004 → 5.575 (+11.4%) ⚠
RENDER BakeSunShadowMap 5.260 → 5.302 (+0.8%)
UPDATE PropagateTransform 3.632 → 3.543 (-2.5%)

target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 233.801 → 233.944 (+0.1%)
RENDER ComputeSunShadow 37.045 → 37.416 (+1.0%)
RENDER ComputeLightVolume 24.934 → 23.797 (-4.6%)
RENDER LightingToTrixel 20.048 → 19.972 (-0.4%)
RENDER CanvasToFramebuffer 14.772 → 14.907 (+0.9%)
RENDER BakeSunShadowMap 8.412 → 8.328 (-1.0%)
UPDATE PropagateTransform 4.943 → 4.866 (-1.6%)
RENDER FogToTrixel 4.493 → 4.448 (-1.0%)

target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1114.108 → 1113.165 (-0.1%)
RENDER ComputeSunShadow 35.044 → 34.631 (-1.2%)
RENDER ComputeLightVolume 24.962 → 25.358 (+1.6%)
RENDER CanvasToFramebuffer 13.642 → 13.594 (-0.4%)
RENDER ComputeVoxelAO 5.772 → 5.766 (-0.1%)
RENDER BakeSunShadowMap 5.298 → 5.265 (-0.6%)
UPDATE PropagateTransform 4.779 → 4.839 (+1.3%)
RENDER LightingToTrixel 4.616 → 4.720 (+2.3%)

@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-6975p-c-03-0-vga

perf comparison: 4d2c92c → aea5bf6-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-xeon-6975p-c-03-0-vga/4d2c92cf46ebd1cea982c7423831cb680ee30534
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/aea5bf6f9-ci

host calibration

  • host: linux-x86_64-xeon-6975p-c-03-0-vga (matches baseline)
  • ref_ms: head 69.85 vs baseline 73.68 (load_factor 0.95×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@4d2c92cf4 (branch tip); master 4303d18ae, finished 2026-11-17T02:13:31Z, 0.0 d before the head run, ref_ms 73.68
  • weighting: raw (class-matched capture; load_factor 0.95×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master 4303d18ae and merge base 4303d18ae (0 commits)

thresholds: regress ≥ 10%, improve ≥ 5%

voxel cull effectiveness

cell ratio (base→head) avg visible total avg feeder
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.598 → 0.598 (+0.0pp) 156630 → 156630 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.975 → 0.975 (+0.0pp) 255592 → 255592 1024 → 1024 0 → 0

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 406.02 → 407.43 (+0.3%) 1195.49 → 1171.36 (-2.0%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 927.99 → 917.56 (-1.1%) 1729.82 → 1723.47 (-0.4%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 480.65 → 479.47 (-0.2%) 6905.37 → 6767.30 (-2.0%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1335.75 → 1327.67 (-0.6%) 2118.98 → 2077.88 (-1.9%)

GPU frame timing (ms; separate from stage samples)

cell envelope (base→head) buffer spans (base→head) coverage (base→head)
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable

GPU stage timing (avg ms per sampled invocation)

cell canvasClear voxelCompact voxelStage1 voxelCardinalElect voxelStage2 voxelSunFaces textToTrixel buildLightOcclusionGrid computeVoxelAO bakeSunShadowMap computeSunShadow computeLightVolume lightingToTrixel fogToTrixel trixelToFb resolvePerAxisScreenDepth fbToScreen
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 16.12→16.32 48.48→48.08 41.95→42.43 0.77→0.79 41.74→42.03 70.32→69.70 — 0.00→0.00 1.50→1.50 17.50→17.64 14.75→14.42 12.20→12.35 2.94→2.91 0.97→0.97 0.18→0.18 — 6.82→6.72
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 16.68→16.49 243.19→239.38 181.72→180.78 3.05→3.04 172.60→172.17 112.96→112.92 — 0.00→0.00 1.35→1.37 30.11→30.09 12.44→12.74 10.45→10.44 4.87→5.00 1.09→1.14 0.17→0.17 — 6.39→6.35
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 14.94→14.86 56.77→57.24 44.86→44.94 6.87→6.72 36.64→36.76 64.44→64.75 1.39→1.31 ↓ 0.00→0.00 4.51→4.41 41.65→40.55 13.47→12.96 30.52→29.66 5.14→5.01 1.44→1.44 0.18→0.17 ↓ 0.00→0.00 7.32→7.40
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 15.90→15.79 397.98→396.64 297.09→295.09 4.88→4.70 272.02→270.60 127.19→127.60 1.36→1.34 0.00→0.00 1.36→1.34 39.25→39.09 14.11→13.92 11.32→10.90 4.47→4.17 ↓ 1.21→1.19 0.17→0.16 0.00→0.00 6.40→6.24

top CPU systems by avg ms (head)

target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 221.335 → 221.316 (-0.0%)
RENDER ComputeLightVolume 26.527 → 26.352 (-0.7%)
RENDER CanvasToFramebuffer 14.673 → 14.746 (+0.5%)
RENDER ComputeSunShadow 12.851 → 12.999 (+1.2%)
RENDER BakeSunShadowMap 6.036 → 6.052 (+0.3%)
UPDATE PropagateTransform 3.665 → 3.900 (+6.4%)
UPDATE LuaWaveStateToOffset 3.180 → 3.174 (-0.2%)
UPDATE FogRevealEval 3.063 → 3.093 (+1.0%)

target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 727.840 → 722.439 (-0.7%)
RENDER ComputeSunShadow 26.224 → 26.226 (+0.0%)
RENDER ComputeLightVolume 22.486 → 22.988 (+2.2%)
RENDER CanvasToFramebuffer 13.933 → 13.593 (-2.4%)
RENDER ComputeVoxelAO 6.890 → 6.921 (+0.4%)
RENDER BakeSunShadowMap 5.260 → 5.254 (-0.1%)
RENDER LightingToTrixel 5.004 → 5.170 (+3.3%)
UPDATE PropagateTransform 3.632 → 3.570 (-1.7%)

target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 233.801 → 234.874 (+0.5%)
RENDER ComputeSunShadow 37.045 → 35.973 (-2.9%)
RENDER ComputeLightVolume 24.934 → 24.108 (-3.3%)
RENDER LightingToTrixel 20.048 → 19.478 (-2.8%)
RENDER CanvasToFramebuffer 14.772 → 14.787 (+0.1%)
RENDER BakeSunShadowMap 8.412 → 8.332 (-1.0%)
UPDATE PropagateTransform 4.943 → 4.961 (+0.4%)
RENDER FogToTrixel 4.493 → 4.385 (-2.4%)

target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1114.108 → 1109.319 (-0.4%)
RENDER ComputeSunShadow 35.044 → 34.981 (-0.2%)
RENDER ComputeLightVolume 24.962 → 24.439 (-2.1%)
RENDER CanvasToFramebuffer 13.642 → 13.503 (-1.0%)
RENDER ComputeVoxelAO 5.772 → 5.652 (-2.1%)
RENDER BakeSunShadowMap 5.298 → 5.268 (-0.6%)
UPDATE PropagateTransform 4.779 → 4.849 (+1.5%)
RENDER LightingToTrixel 4.616 → 4.307 (-6.7%) ↓

@jakildev

Copy link
Copy Markdown
Owner Author

Addressed the steward direction (A1, option B):

  • Q2 / stage 1: the switch is now tri-state. Unset, it admits the surface routes only on a pipeline without FOG_TO_TRIXEL; 0/1/setEnabled apply everywhere. Fog-pass pipelines keep the compute default. Route tests cover a fog-pass and a fog-free pipeline with the switch unset, in both Python harnesses and PerAxisSurfaceLightingDefault.*, each with a mutant that fails.
  • Design note: it records the staged plan, links lighting: fog-pass pipelines take the one sun-shadow receiver model by default (stage 2 of #4965) #5123 and names the fog-pass default as a stated fallback.
  • Moved rows (head vs same-session parent): IRShapeDebug moved 5 rotating-yaw rows and IRCanvasStress moved 8 auto-rotating rows. All 13 are re-blessed on macOS, and the Windows/Linux copies are stale. Every cardinal-camera row reads identical figures. light-verify passes everything: 22 yaw-30/45 rows moved, still inside the gate.
  • No change on fog-pass pipelines: IRFogDemo render-verify shows identical figures on all 66 rows; IRLightingCombined captures are byte-identical.
  • Q1: criterion 6 is graded unverifiable on macOS (Metal only), with the OpenGL run named as owed.
  • Fixed the crossing-metric unit tests, which failed on the pushed head (synthetic frames graded against the full-size receiver region).

Still owed, so fleet:wip stays: criterion 4, the cost gate. It needs Release builds and five interleaved parent/head pairs of the million control and the fog-free surface-lighting matrix under ir-acquire benchmark on a quiet host. This host was shared with other panes on the GPU for the whole iteration. One pool-4 run held the GPU lock for 11 minutes, so a quiet window was not available.

— worker (pool-6)

@jakildev

Copy link
Copy Markdown
Owner Author

Addressed feedback (head 2e161e599):

  • render-yaw-crossing-metric.py rejected scale-1 captures. The fixture geometry (origin, iso scale, inset 1.5 px, coverage floors 500 / 5000 px) is now stated in game-resolution pixels at 1280×720 and scaled by the capture's integer output scale. Grading a 1280×720 1x capture now works. At 2560×1440 the spans and floors equal the previous head's, checked span by span at all four cardinals, so the Metal criterion-3 reading stands. Added a two-scale region test and a capture end-to-end test at scale 1. That test drives a FLEET_RUN stub (a new env seam, per .claude/rules/engine-process-launches.md). Mutation control: the new cases fail on the previous script.
  • Red Fleet Tests. test_fleet_codex.py was this PR's fault: the new fleet-run driver was missing from DISPLAY_VALIDATORS. It is now listed, and the suite passes (36 OK). test_github_identity_routing.py is inherited: it fails on master's run 44031279387 and on every recent PR, and it is tracked by fleet: test_real_dispatch_loop_uses_user_admission flakes on hosted CI since #5108 #5129 (fix fleet: make identity routing fixtures hermetic (#5129) #5130). test_quiet_window.sh passes 60/60 locally, so it is a flake. The new CI run on this head will show whether the identity-routing failure is still there until fleet: make identity routing fixtures hermetic (#5129) #5130 merges.
  • The PR body's test plan, criterion-6 row and CI note are updated. The design note now states the output scale its pixel counts were read at.

— worker (pool-3)

@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-6975p-c-03-0-vga

perf comparison: 9e35941 → edc8ceb-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-xeon-6975p-c-03-0-vga/9e35941ddf7cb11410239fba0f238220e456cfc5
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/edc8ceb96-ci

host calibration

  • host: linux-x86_64-xeon-6975p-c-03-0-vga (matches baseline)
  • ref_ms: head 70.41 vs baseline 73.97 (load_factor 0.95×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@9e35941dd (branch tip); master a661037da, finished 2026-11-17T06:40:04Z, 0.2 d before the head run, ref_ms 73.97
  • weighting: raw (class-matched capture; load_factor 0.95×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master a661037da and merge base e5c0ce713 (1 commits)

thresholds: regress ≥ 10%, improve ≥ 5%

voxel cull effectiveness

cell ratio (base→head) avg visible total avg feeder
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.598 → 0.598 (+0.0pp) 156630 → 156630 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 1024 → 1024 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.975 → 0.975 (+0.0pp) 255592 → 255592 1024 → 1024 0 → 0

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 435.10 → 450.89 (+3.6%) 1168.04 → 1220.42 (+4.5%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 949.62 → 956.52 (+0.7%) 1698.79 → 1727.30 (+1.7%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 503.12 → 532.13 (+5.8%) 6722.30 → 7050.63 (+4.9%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1349.84 → 1365.02 (+1.1%) 2026.76 → 2127.96 (+5.0%)

GPU frame timing (ms; separate from stage samples)

cell envelope (base→head) buffer spans (base→head) coverage (base→head)
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 unavailable → unavailable unavailable → unavailable unavailable → unavailable

GPU stage timing (avg ms per sampled invocation)

cell canvasClear voxelCompact voxelStage1 voxelCardinalElect voxelStage2 voxelSunFaces textToTrixel buildLightOcclusionGrid computeVoxelAO bakeSunShadowMap computeSunShadow computeLightVolume lightingToTrixel fogToTrixel trixelToFb resolvePerAxisScreenDepth fbToScreen
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 16.59→16.72 48.09→48.81 40.94→41.27 0.76→0.78 40.78→41.12 70.21→70.65 — 0.00→0.00 1.50→1.49 17.29→17.40 14.42→13.43 ↓ 12.08→12.15 2.58→2.88 ⚠ 0.95→0.99 0.16→0.17 — 6.63→6.80
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 17.37→17.46 237.69→237.76 179.24→179.88 3.01→3.02 169.92→170.24 114.50→113.38 — 0.00→0.00 1.30→1.33 29.78→29.84 12.28→13.02 10.36→10.82 4.87→5.10 1.05→1.03 0.15→0.15 — 6.36→6.34
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 15.49→15.90 55.75→57.19 43.76→45.49 6.42→6.91 36.02→36.76 65.34→66.17 1.30→1.33 0.00→0.00 4.14→4.36 39.13→40.86 12.70→12.17 28.87→30.11 4.84→5.07 1.36→1.44 0.15→0.16 0.00→0.00 7.15→7.46
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 16.49→16.72 390.63→394.38 290.55→294.59 4.65→5.00 266.25→269.88 126.91→127.97 1.33→1.34 0.00→0.00 1.31→1.41 38.55→38.59 13.92→13.77 11.29→10.94 4.20→4.27 1.16→1.19 0.14→0.15 0.00→0.00 6.25→6.34

top CPU systems by avg ms (head)

target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 219.304 → 221.290 (+0.9%)
RENDER ComputeLightVolume 26.211 → 25.159 (-4.0%)
RENDER CanvasToFramebuffer 14.693 → 14.823 (+0.9%)
RENDER ComputeSunShadow 12.666 → 12.897 (+1.8%)
UPDATE FogRevealEval 7.427 → 9.021 (+21.5%) ⚠
RENDER BakeSunShadowMap 5.992 → 5.865 (-2.1%)
UPDATE PropagateTransform 3.715 → 3.672 (-1.2%)
RENDER LightingToTrixel 2.703 → 3.006 (+11.2%) ⚠

target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 719.964 → 719.655 (-0.0%)
RENDER ComputeSunShadow 26.039 → 26.066 (+0.1%)
RENDER ComputeLightVolume 22.266 → 23.433 (+5.2%)
RENDER CanvasToFramebuffer 13.799 → 13.666 (-1.0%)
UPDATE FogRevealEval 7.552 → 7.972 (+5.6%)
RENDER ComputeVoxelAO 6.645 → 6.710 (+1.0%)
RENDER LightingToTrixel 5.013 → 5.245 (+4.6%)
RENDER BakeSunShadowMap 5.063 → 5.129 (+1.3%)

target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 234.552 → 241.110 (+2.8%)
RENDER ComputeSunShadow 34.668 → 36.245 (+4.5%)
RENDER ComputeLightVolume 23.793 → 23.457 (-1.4%)
RENDER LightingToTrixel 18.714 → 19.786 (+5.7%)
RENDER CanvasToFramebuffer 14.805 → 15.063 (+1.7%)
RENDER BakeSunShadowMap 7.977 → 8.290 (+3.9%)
UPDATE FogRevealEval 6.797 → 7.974 (+17.3%) ⚠
UPDATE PropagateTransform 4.687 → 5.103 (+8.9%)

target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1094.359 → 1107.409 (+1.2%)
RENDER ComputeSunShadow 34.468 → 34.311 (-0.5%)
RENDER ComputeLightVolume 24.906 → 24.276 (-2.5%)
RENDER CanvasToFramebuffer 13.381 → 13.655 (+2.0%)
UPDATE FogRevealEval 7.813 → 7.662 (-1.9%)
RENDER ComputeVoxelAO 5.560 → 5.778 (+3.9%)
RENDER BakeSunShadowMap 5.213 → 5.422 (+4.0%)
UPDATE PropagateTransform 4.663 → 4.669 (+0.1%)

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — lighting: one sun-shadow receiver model on voxel faces across cardinal camera yaws (#4965)

Verdict: approve

The current head resolves the scale-1 capture-path and Codex display-policy defects from the prior review; the tri-state route preserves the intended fog-pass fallback and has coverage for unset and explicit values.

Acceptance (issue #4965)

6 of 7 met; criterion 6 is unverifiable on this Metal host and non-blocking under the issue's A1 steward decision. The shipped capture validator now covers the scale-1 path required for the owed OpenGL follow-up.

Checked

  • Read issue #4965 (including A1), the complete PR thread and review state, all changed implementation/test files, and head 2e161e59998f551ee99fad00c4e029790611cd9e.
  • python3 scripts/tests/test_render_yaw_crossing_metric.py — 13 passed.
  • python3 scripts/tests/test_render_per_axis_surface_lighting.py — 3 passed.
  • python3 scripts/tests/test_render_cardinal_surface_lighting.py — 3 passed.
  • python3 scripts/fleet/tests/test_fleet_codex.py — 36 passed.
  • Native IrredenEngineTest build was stopped before terminal completion after compiling the changed per_axis_surface_lighting_test.cpp; it is not reported as passing. GitHub linux-build, render-harness-tests, fleet-tests, and perf-gate were still in progress and are unread.

🤖 Reviewed by Codex (review-pr skill)
Opus recheck required: render-route and backend-sensitive acceptance evidence require the final core-review pass.

@jakildev jakildev added fleet:needs-opus-recheck Sonnet flagged this PR for Opus recheck before merge and removed fleet:changes-made Agent addressed human feedback — ready for human re-review fleet:reviewing-mac-pool-1 labels Nov 17, 2026

@jakildev jakildev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — one sun-shadow receiver model across camera yaw

Verdict: approve

The earlier review correctly focused on route selection and backend-sensitive evidence. On closer read, the tri-state component resolves to per-axis lighting only on the direct trixel route, preserves explicit overrides, and keeps the fog route’s lighting ownership intact through compute → lighting → fog → framebuffer.

Acceptance (issue #4965)

6 of 7 criteria are met. Criterion 6 is not verifiable on this Metal host and is explicitly non-blocking under the issue’s A1 correction; OpenGL catch-up remains tracked as cross-host debt.

Checked

  • Read the complete issue/PR thread and reviewed current head 2e161e59998f551ee99fad00c4e029790611cd9e against origin/master.
  • Traced the changed render route and downstream sun-shadow consumers; reviewed the yaw-crossing metric, route tests, capture references, and paired perf artifacts.
  • Targeted Python suites passed (60 tests total); the native Release build job succeeded; 11 filtered native lighting/route tests passed.
  • Linux build, render harness, perf, and lint checks are green. Fleet Tests/Gate are red only for the inherited identity-routing fixture defect tracked in #5129/#5130.
  • Inspected all changed macOS render references; no clipping, color drift, shadow discontinuity, or half-voxel artifact found.

🤖 Reviewed by Codex (GPT-5, opus review class) using the review-pr skill.

@jakildev jakildev added fleet:approved Fleet reviewer approved — ready for human merge fleet:needs-windows-smoke PR needs windows-debug build + smoke-run validation and removed fleet:needs-opus-recheck Sonnet flagged this PR for Opus recheck before merge fleet:reviewing-mac-pool-1 labels Nov 17, 2026
@evin-mac-claude-app evin-mac-claude-app Bot added the fleet:checks-red Info only: approved PR whose head has a failed check of its own; reconcile R12 adds and removes it label Nov 17, 2026
@jakildev
jakildev merged commit aa3fd7a into master Nov 17, 2026
15 of 18 checks passed
jakildev added a commit that referenced this pull request Nov 19, 2026
…anges (#5188)

Windows rows so3_*, revoxelize_solids and compare_yaw* moved after #5119
(one sun-shadow receiver model on voxel faces) and #5121 (cross-axis
contact AO during yaw). Both PRs re-blessed the same rows on macOS and left
the windows-debug set owed. The earlier regression from 1fe4e7c was fixed
by #4936 (84d6f7b): Windows passes 100% at that commit.

Refs the eight rows that failed at master 18a91f6; all 59 checks pass on
two consecutive runs after the bless.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fleet:approved Fleet reviewer approved — ready for human merge fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:checks-red Info only: approved PR whose head has a failed check of its own; reconcile R12 adds and removes it fleet:needs-windows-smoke PR needs windows-debug build + smoke-run validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lighting: one sun-shadow receiver model on voxel faces across cardinal camera yaws

1 participant