Skip to content

editor: clarify palettes, LOD comparisons and array previews - #4889

Merged
jakildev merged 2 commits into
codex/click-anchored-orbitfrom
codex/editor-ui-workflows
Nov 6, 2026
Merged

jakildev merged 2 commits into
codex/click-anchored-orbitfrom
codex/editor-ui-workflows

Conversation

@jakildev

@jakildev jakildev commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

The editor scattered related actions across small panels, offered unexplained fixed swatches, and required applying an array or switching LODs to inspect the result. This change groups the document/workflow/tool rows, adds named editable palettes with GPL load/save, and makes array and LOD results inspectable before changing authored content.

  • Palettes expose named defaults, RGB/hex, Edit/Add, paging and transactional GPL exchange. Existing voxels keep their direct RGB colors.
  • Radial/linear Preview shows full prospective voxel surfaces and spacing guides. Shared placement math keeps GRID preview and Apply aligned; Apply is one undoable operation.
  • Compare LODs captures isolated assemblies at zoom 16/8/4/2/1, shows native physical-size and common-scale rows, and provides tinted onion skin with reference/selected tier and opacity controls. Copy To Tier preserves extent, anchor and pose.
  • Document confirmations hide underlying controls; workspace guides and updated native gestures cover the relocated controls.

Design choices and reference links are recorded in docs/design/editor-authoring-friction.md (Blockbench workspace organization, Aseprite palette/onion controls, and Voxelator palette exchange).

Test plan

  • macOS Metal Debug and Release IRVoxelEditor builds; Release LOD workflow smoke exited cleanly.
  • fleet-run --timeout 120 IrredenEngineTest '--gtest_filter=VoxelEditor*:ComparisonImage.*': 100/100 tests, including 28 new palette/array/LOD/image tests.
  • Nine native sessions with --gui-layout-check: 138 assertions, 106 captures, zero layout findings. Sessions: sculpt_workflow, palette_workflow, array_workflow, document_workflow, hierarchy_workflow, local_canvas, workarea_focus, lod_workflow, motion_preview.
  • Array preview/Apply/Undo at 30° and 67° checks every exposed face and unchanged source data.
  • LOD capture under wheel/right-drag input matches a clean five-image recapture byte-for-byte; opacity endpoints, source isolation, derive/Undo and view restoration pass.
  • Inspected screenshots, formatted changed code, passed 808-header checks, comment-reference lint and diff whitespace checks.

Current boundaries

The fixed layout targets at least 1200×800 GUI texels; this does not add adaptive docking. Palettes are independent .gpl files. Arrays copy the selected part, without descendants; detached/SDF proposals are labeled voxel approximations. LOD captures refresh explicitly and report crops. Copy To Tier preserves cells rather than decimating and leaves the source band unchanged, with an overlap warning. Native-size tiles require uniform integer GUI scaling. OpenGL runtime validation was not available on this host.

Screenshots

Before After
Sculpt before Sculpt after

Radial preview

LOD comparison

Capture details and assertion evidence.

Authored with Codex.

@jakildev jakildev added the fleet:author-codex Implementation last authored by Codex; route review to Claude label Nov 3, 2026
@jakildev
jakildev added this pull request to stack #4870 November 3, 2026 23:46
@jakildev jakildev added the fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend label Nov 3, 2026
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Perf gate

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

perf comparison: a39c8ac → 69b068f-ci

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

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 105.80 vs baseline 103.95 (load_factor 1.02×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@a39c8ac25 (branch tip); master 45cf005a8, finished 2026-11-03T04:41:55Z, 0.8 d before the head run, ref_ms 103.95
  • weighting: raw (class-matched capture; load_factor 1.02×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base e2e7c778f 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 262144 → 262144 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.788 → 0.788 (+0.0pp) 156630 → 156630 262144 → 262144 50080 → 50080 (1.000×)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 262144 → 262144 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.990 → 0.990 (+0.0pp) 255592 → 255592 262144 → 262144 3862 → 3862 (1.000×)

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 497.04 → 503.64 (+1.3%) 1736.72 → 1814.12 (+4.5%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1279.98 → 1288.43 (+0.7%) 2588.51 → 2663.51 (+2.9%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 661.44 → 678.84 (+2.6%) 12290.31 → 13213.37 (+7.5%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1736.57 → 1752.45 (+0.9%) 3028.88 → 3023.85 (-0.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
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 66.99→66.85 66.51→67.12 58.93→58.74 0.96→1.02 54.97→56.21 5.75→5.68 — 0.00→0.00 2.81→2.90 15.21→15.57 11.94→12.44 23.11→23.49 3.85→4.09 1.27→1.36 0.19→0.26 ⚠ — 7.98→8.32
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 109.11→112.77 416.71→417.05 261.71→261.78 4.04→4.08 233.24→233.98 5.17→4.97 — 0.00→0.00 2.41→2.40 27.66→28.37 10.37→10.40 19.26→19.58 8.34→8.31 1.47→1.79 ⚠ 0.17→0.22 ⚠ — 7.44→7.84
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 60.26→59.24 81.24→82.45 66.07→66.71 13.15→13.62 47.97→48.32 8.60→8.89 1.12→1.12 0.00→0.00 0.87→0.99 ⚠ 62.83→67.14 10.65→10.69 56.24→59.66 8.01→8.43 1.81→1.85 0.17→0.22 ⚠ 0.00→0.00 9.00→9.46
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 120.51→121.27 536.65→535.87 424.94→434.32 6.35→6.38 366.04→368.98 5.63→5.76 1.17→1.13 0.00→0.00 0.75→0.77 24.64→25.31 10.46→10.53 19.42→19.39 6.77→6.69 1.59→1.63 0.17→0.22 ⚠ 0.00→0.00 7.43→7.74

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 256.310 → 257.586 (+0.5%)
RENDER ComputeLightVolume 34.529 → 35.360 (+2.4%)
RENDER CanvasToFramebuffer 17.421 → 18.289 (+5.0%)
RENDER BakeSunShadowMap 10.231 → 10.726 (+4.8%)
RENDER ComputeSunShadow 7.654 → 7.621 (-0.4%)
UPDATE PropagateTransform 4.943 → 5.032 (+1.8%)
UPDATE FogRevealEval 4.273 → 4.308 (+0.8%)
RENDER LightingToTrixel 4.024 → 4.245 (+5.5%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1027.979 → 1032.384 (+0.4%)
RENDER ComputeLightVolume 29.161 → 29.458 (+1.0%)
RENDER ComputeSunShadow 21.416 → 21.993 (+2.7%)
RENDER CanvasToFramebuffer 16.262 → 16.722 (+2.8%)
RENDER ComputeVoxelAO 9.306 → 9.444 (+1.5%)
RENDER BakeSunShadowMap 8.616 → 8.722 (+1.2%)
RENDER LightingToTrixel 8.543 → 8.521 (-0.3%)
UPDATE PropagateTransform 4.472 → 4.523 (+1.1%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 290.147 → 296.359 (+2.1%)
RENDER ComputeSunShadow 55.651 → 59.837 (+7.5%)
RENDER LightingToTrixel 35.503 → 38.517 (+8.5%)
RENDER ComputeLightVolume 32.468 → 32.898 (+1.3%)
RENDER BakeSunShadowMap 22.592 → 23.473 (+3.9%)
RENDER CanvasToFramebuffer 17.400 → 18.014 (+3.5%)
RENDER FogToTrixel 7.108 → 7.480 (+5.2%)
UPDATE PropagateTransform 6.358 → 6.087 (-4.3%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1459.634 → 1471.966 (+0.8%)
RENDER ComputeLightVolume 29.423 → 29.420 (-0.0%)
RENDER ComputeSunShadow 18.270 → 18.914 (+3.5%)
RENDER CanvasToFramebuffer 16.184 → 16.741 (+3.4%)
RENDER BakeSunShadowMap 8.842 → 8.737 (-1.2%)
RENDER ComputeVoxelAO 7.740 → 7.791 (+0.7%)
RENDER LightingToTrixel 6.894 → 6.881 (-0.2%)
UPDATE PropagateTransform 6.141 → 6.260 (+1.9%)

@jakildev jakildev added the fleet:awaiting-upstream-review Stacked PR; reviewer is holding verdict until upstream PR is approved label Nov 4, 2026
@jakildev

jakildev commented Nov 4, 2026

Copy link
Copy Markdown
Owner Author

Holding review: upstream PR #4888 is not yet approved. This stacked PR will be re-evaluated once the upstream lands an approval label.

@jakildev

jakildev commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Rebased onto the rewritten parent: the stack below was replayed onto master after #4882 merged, so this layer's owned commit (editor: clarify palettes, LOD comparisons and array previews) was replayed with git rebase --onto <new parent head> <old parent head>; the inherited pre-rework commits are gone. Two hunks in creations/editors/voxel_editor/main.cpp needed resolution against #4882's reworked editor: the modal-widget restore is now the restoreDocumentModalWidgets() helper, so this layer's visibility restore (the documentWidgetVisibility_ map it introduces) moved into that helper instead of the inline loop; and #4882 keeps a single FRAMEBUFFER_TO_SCREEN pass after the debug overlay, so the EditorLodCapture system now sits directly after that one pass instead of after a second one. Everything else in the diff is the original PR-owned scope. Evidence moved off the branch to media commit df9fb1ea7e6588b3e382300dd4a8c6fb21e48d4a and the body's image links repointed, so the no-plan-files check passes. fleet-build --target IRVoxelEditor is clean on windows-debug. The reviewer hold stays until the upstream is approved. — opus-architect

@jakildev
jakildev force-pushed the codex/editor-ui-workflows branch from 59e7807 to 3a33495 Compare November 6, 2026 06:56
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Perf gate

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

perf comparison: 361c316 → c414802-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-9v74-80-unknown/361c3161e7bca8fca557bcacfd514bc981515641
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/c4148022d-ci

host calibration

  • host: linux-x86_64-epyc-9v74-80-unknown (matches baseline)
  • ref_ms: head 90.18 vs baseline 89.92 (load_factor 1.00×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@361c3161e (branch tip); master 23b4d0e72, finished 2026-11-05T04:28:51Z, 1.1 d before the head run, ref_ms 89.92
  • weighting: raw (class-matched capture; load_factor 1.00×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base 23079d3ca 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 262144 → 262144 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.788 → 0.788 (+0.0pp) 156630 → 156630 262144 → 262144 50080 → 50080 (1.000×)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 262144 → 262144 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.990 → 0.990 (+0.0pp) 255592 → 255592 262144 → 262144 3862 → 3862 (1.000×)

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 386.70 → 378.27 (-2.2%) 1395.41 → 1378.39 (-1.2%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 934.70 → 921.29 (-1.4%) 1986.96 → 1950.28 (-1.8%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 490.07 → 479.40 (-2.2%) 7535.31 → 7524.10 (-0.1%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1241.41 → 1227.19 (-1.1%) 2281.99 → 2239.03 (-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 47.45→47.25 47.93→47.90 43.84→43.58 0.78→0.76 41.93→42.00 4.85→4.59 ↓ — 0.00→0.00 2.36→2.23 ↓ 12.00→11.43 17.25→16.85 15.28→15.12 3.39→3.01 ↓ 1.02→1.03 0.18→0.16 ↓ — 6.38→6.15
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 85.83→84.63 292.62→291.26 179.65→179.89 2.85→2.84 160.75→160.18 4.21→4.12 — 0.00→0.00 2.02→1.85 ↓ 21.38→20.91 16.06→14.93 ↓ 12.99→12.74 6.62→6.25 ↓ 1.16→1.05 ↓ 0.17→0.14 ↓ — 6.00→5.79
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 41.76→42.00 57.28→56.54 48.10→48.17 7.36→7.39 37.60→37.25 6.33→7.47 ⚠ 0.75→0.72 0.00→0.00 0.84→0.70 ↓ 38.83→36.98 15.95→15.47 32.33→31.71 5.32→5.17 1.40→1.39 0.16→0.15 ↓ 0.00→0.00 7.13→6.92
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 91.69→90.66 361.67→359.53 292.01→291.57 4.45→4.42 253.53→253.16 5.00→4.77 0.74→0.71 0.00→0.00 0.68→0.57 ↓ 19.09→18.04 ↓ 16.04→15.21 ↓ 12.98→12.98 5.41→5.16 1.15→1.05 ↓ 0.17→0.15 ↓ 0.00→0.00 5.96→5.71

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 190.085 → 189.424 (-0.3%)
RENDER ComputeLightVolume 32.117 → 31.615 (-1.6%)
RENDER CanvasToFramebuffer 15.199 → 14.739 (-3.0%)
RENDER BakeSunShadowMap 7.727 → 7.461 (-3.4%)
RENDER ComputeSunShadow 6.533 → 6.170 (-5.6%) ↓
UPDATE PropagateTransform 3.905 → 3.802 (-2.6%)
RENDER LightingToTrixel 3.516 → 3.116 (-11.4%) ↓
UPDATE FogRevealEval 3.234 → 3.092 (-4.4%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 726.653 → 723.982 (-0.4%)
RENDER ComputeLightVolume 28.634 → 27.328 (-4.6%)
RENDER ComputeSunShadow 16.865 → 16.532 (-2.0%)
RENDER CanvasToFramebuffer 14.207 → 13.308 (-6.3%) ↓
RENDER LightingToTrixel 6.802 → 6.421 (-5.6%) ↓
RENDER BakeSunShadowMap 6.489 → 6.195 (-4.5%)
RENDER ComputeVoxelAO 5.799 → 5.682 (-2.0%)
UPDATE PropagateTransform 3.901 → 3.749 (-3.9%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 211.685 → 212.641 (+0.5%)
RENDER ComputeSunShadow 33.623 → 32.156 (-4.4%)
RENDER ComputeLightVolume 30.058 → 29.420 (-2.1%)
RENDER LightingToTrixel 19.377 → 18.835 (-2.8%)
RENDER CanvasToFramebuffer 14.929 → 14.565 (-2.4%)
RENDER BakeSunShadowMap 10.105 → 9.516 (-5.8%) ↓
UPDATE PropagateTransform 5.317 → 5.268 (-0.9%)
RENDER FogToTrixel 4.569 → 4.585 (+0.4%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1010.205 → 1006.033 (-0.4%)
RENDER ComputeLightVolume 28.611 → 27.821 (-2.8%)
RENDER ComputeSunShadow 14.340 → 13.660 (-4.7%)
RENDER CanvasToFramebuffer 13.888 → 13.534 (-2.5%)
RENDER BakeSunShadowMap 6.758 → 6.217 (-8.0%) ↓
RENDER LightingToTrixel 5.563 → 5.313 (-4.5%)
UPDATE PropagateTransform 5.236 → 5.270 (+0.6%)
RENDER ComputeVoxelAO 4.881 → 4.853 (-0.6%)

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Perf gate

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

perf comparison: a3d54c9 → 9177c12-ci

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

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 103.83 vs baseline 104.10 (load_factor 1.00×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@a3d54c95a (branch tip); master 6062102df, finished 2026-11-06T05:56:56Z, 0.1 d before the head run, ref_ms 104.10
  • weighting: raw (class-matched capture; load_factor 1.00×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base f3eded30f 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 262144 → 262144 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.788 → 0.788 (+0.0pp) 156630 → 156630 262144 → 262144 50080 → 50080 (1.000×)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 262144 → 262144 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.990 → 0.990 (+0.0pp) 255592 → 255592 262144 → 262144 3862 → 3862 (1.000×)

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 479.15 → 495.37 (+3.4%) 1895.72 → 1763.61 (-7.0%) ↓
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1272.73 → 1279.16 (+0.5%) 2588.44 → 2611.54 (+0.9%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 652.45 → 672.08 (+3.0%) 12258.22 → 12956.68 (+5.7%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1728.99 → 1733.75 (+0.3%) 2992.62 → 3056.93 (+2.1%)

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 64.10→66.98 64.35→66.38 57.32→59.23 1.29→0.95 ↓ 52.90→55.14 5.30→5.79 — 0.00→0.00 2.62→2.84 14.77→15.43 11.41→12.03 21.67→23.42 3.73→3.77 1.22→1.28 0.19→0.18 ↓ — 7.87→8.02
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 110.04→109.44 415.41→415.60 261.63→262.71 4.03→4.03 232.04→232.78 4.80→5.09 — 0.00→0.00 2.31→2.39 28.02→28.36 10.25→10.47 19.56→19.73 8.17→8.04 1.49→1.50 0.17→0.19 — 7.39→7.36
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 59.19→59.66 80.80→82.36 66.25→66.70 12.87→13.81 48.01→48.28 8.35→9.25 ⚠ 1.10→1.14 0.00→0.00 0.89→1.03 ⚠ 62.51→66.78 10.49→10.57 57.15→59.73 7.95→8.30 1.84→1.88 0.17→0.21 ⚠ 0.00→0.00 8.93→9.19
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 119.49→119.58 533.16→535.07 426.57→426.71 6.37→6.37 367.27→366.30 5.63→5.75 1.10→1.14 0.00→0.00 0.73→0.78 25.17→25.07 10.38→10.20 19.24→19.25 6.43→6.54 1.46→1.57 0.17→0.18 0.00→0.00 7.39→7.46

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 247.886 → 256.575 (+3.5%)
RENDER ComputeLightVolume 32.632 → 34.957 (+7.1%)
RENDER CanvasToFramebuffer 17.085 → 17.910 (+4.8%)
RENDER BakeSunShadowMap 9.662 → 10.344 (+7.1%)
RENDER ComputeSunShadow 7.624 → 7.823 (+2.6%)
UPDATE PropagateTransform 4.519 → 4.723 (+4.5%)
UPDATE FogRevealEval 4.190 → 4.241 (+1.2%)
RENDER ComputeVoxelAO 3.904 → 4.016 (+2.9%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1025.715 → 1027.410 (+0.2%)
RENDER ComputeLightVolume 29.338 → 29.733 (+1.3%)
RENDER ComputeSunShadow 21.864 → 21.911 (+0.2%)
RENDER CanvasToFramebuffer 15.908 → 16.229 (+2.0%)
RENDER ComputeVoxelAO 9.249 → 9.348 (+1.1%)
RENDER BakeSunShadowMap 8.417 → 8.783 (+4.3%)
RENDER LightingToTrixel 8.371 → 8.227 (-1.7%)
UPDATE PropagateTransform 4.405 → 4.601 (+4.4%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 288.688 → 293.401 (+1.6%)
RENDER ComputeSunShadow 55.366 → 59.475 (+7.4%)
RENDER LightingToTrixel 36.271 → 38.700 (+6.7%)
RENDER ComputeLightVolume 32.424 → 32.616 (+0.6%)
RENDER BakeSunShadowMap 22.377 → 23.230 (+3.8%)
RENDER CanvasToFramebuffer 17.441 → 17.794 (+2.0%)
RENDER FogToTrixel 7.107 → 7.430 (+4.5%)
UPDATE PropagateTransform 6.121 → 6.036 (-1.4%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1457.395 → 1459.012 (+0.1%)
RENDER ComputeLightVolume 29.173 → 29.000 (-0.6%)
RENDER ComputeSunShadow 18.725 → 18.386 (-1.8%)
RENDER CanvasToFramebuffer 16.205 → 16.344 (+0.9%)
RENDER BakeSunShadowMap 8.811 → 9.102 (+3.3%)
RENDER ComputeVoxelAO 8.092 → 7.845 (-3.1%)
RENDER LightingToTrixel 6.600 → 6.718 (+1.8%)
UPDATE PropagateTransform 6.104 → 6.100 (-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 — editor: clarify palettes, LOD comparisons and array previews

Verdict: approve (first pass; Opus recheck requested for the new engine/render/ header)

Stacked on #4888 (cross-author, fleet:approved). Reviewing the child diff only — upstream is approved separately. Head 3a33495c7.

Big picture

The change does what the body describes: named editable palettes with transactional GPL exchange, an array preview that shares placement math with Apply, and a captured-LOD comparison with Copy To Tier. Preview state is CPU-only render geometry (ArrayPreview) or an isolated clone (LodPreviewSession). Neither enters EntityScene, picking, or persistence, so authored data is untouched until Apply or Derive. I found no defect in what the code does.

What I checked:

  • Array placement parity — arrayCopyTransform is now the single source for EntityScene::applyArray (entity_scene.hpp:432) and ArrayPreview::rebuildVoxels. The refactor is behaviour-preserving (same translation add and quatMul(offset, source) order). Preview and Apply take the same radius rounding and IRPrefab::Arrays::{radial,linear} offsets (main.cpp array system).
  • Preview geometry — cellAt agrees with IRMath::index3DtoIndex1D (x-major, then y, then z). The walk and face budgets cap work (2M cells, 200k faces). The oversize, non-finite and zero-scale paths all fail() and clear().
  • Palette — loadGplText stages into a local vector and assigns only on success, so a failed load leaves the palette intact. parsePaletteHex rejects signs and 0x. color() clamps a stale activeSwatchIdx_ after a shorter palette loads. saveGpl goes through CompositeSaveTransaction.
  • comparison_image.hpp readback origin — the OpenGL impl reads from the offscreen FBO bottom-up and flips rows (opengl_render_impl.cpp:258), so top-down output plus framebuffer.y - top - size.y is right. The Metal impl reads top-down at topLeft. Both match comparisonReadbackOrigin and its test.
  • presentComparisonImage — the nearest-neighbour index mapping (sourceY * divisor / magnification) is consistent with enlarged = size * mag / div. Scale and divisor are bounded.
  • Widget visibility — the LOD and document-modal hide/restore maps record the prior visible_ and restore only entities that still exist. authoringInteractionBlocked() now includes the LOD preview, so updateWorkspaces does not fight the hidden state.
  • Tests — 28 new unit tests cover palette, array preview, LOD plan and derive, and comparison image, all registered in test/CMakeLists.txt. The GUI sessions (palette_workflow, array_workflow, lod_workflow) are documented in the creation CLAUDE.md.

CI state on this head

All completed checks are green (format-check, header-checks, comment-refs, instruction-size, fleet-tests, perf-gate, whitespace, closes-lint). linux-build had no completed run when I read the rollup — I treat it as unread, not green. The perf-gate comment shows no regression, though it notes the baseline is the unmerged parent.

Nits (follow-up)

  • array_preview.hpp:61 — scene.findPart(part->parentId_)->entity_ dereferences without a null check. It holds while EntityScene keeps parent ids valid, but a if (!parentPart) return {false, ...} costs nothing in a function that already returns EntitySceneResult.
  • main.cpp openLodComparison — if the viewport is under 16 px in either dimension, lodCapture_.begin returns false. Every non-preview widget is already hidden and request() is empty, so Escape is the only way out. It is not reachable at the supported 1200×800 minimum, but checking begin's return and calling closeLodComparison() would make it clean.

Praise

  • Keeping the capture before GUI composition, with a fixed world aperture and a shared rational divisor, avoids the occupied-bounds fit that would make the tiers look the same size. SharedRationalScalePreservesDifferentSilhouetteExtents pins it.

Test plan the author should run before merge

  • An OpenGL host (fleet:needs-windows-smoke): run IRVoxelEditor --gui-session lod_workflow --gui-layout-check. This is the first exercise of the GL branch of comparisonReadbackOrigin and the row flip in readDefaultFramebuffer; the PR body states OpenGL runtime validation was not available.
  • linux-build completes green on this head.

Escalation: please Opus-recheck before merge (touches: engine/render/ — new comparison_image.hpp framebuffer-readback helper with a backend-specific origin convention not yet run on OpenGL).

🤖 Reviewed by Claude Sonnet 5.5 (review-pr skill)

Opus recheck required: new engine/render/ readback helper (GL/Metal origin convention) unrun on an OpenGL host, and linux-build unread at review time.

@jakildev jakildev added the fleet:needs-opus-recheck Sonnet flagged this PR for Opus recheck before merge label Nov 6, 2026
@jakildev jakildev added fleet:semantic-conflict Merger hit non-mechanical conflict; opus-worker resolves or escalates and removed fleet:changes-made Agent addressed human feedback — ready for human re-review labels Nov 6, 2026
@jakildev

jakildev commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Post-resolution race: after the clean rebase/push onto parent head 2a75c1f, PR #4888 moved again to 634b38c, and GitHub now reports this child conflicting. Restored fleet:semantic-conflict. A second fleet-claim resolving-claim 4889 pool-1 was refused because [fleet:reviewing-mac-pool-3] is active, so this worker did not overwrite the head under review. — worker (Codex)

@jakildev

jakildev commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

declined: sonnet-reviewer/sonnet @mac-pool-3 PR carries fleet:semantic-conflict (live label) and is stacked on codex/click-anchored-orbit; review-pr step 1b bail — diff is meaningless until the rebase lands. No review posted, no verdict.

jakildev and others added 2 commits November 6, 2026 00:03
Group document actions and workflow tools into stable rows and docks.
Expose named RGB swatches with edit/add and transactional GPL exchange.

Capture isolated assemblies at actual LOD zooms with a shared aperture,
onion comparison and same-extent tier copies. Preview prospective arrays
with shared placement math before committing one undoable operation.

Add native UI workflows, image/state assertions and visual evidence;
update existing gestures to follow the relocated document controls.
The evidence directories now live at media commit df9fb1e; master keeps no
committed PR screenshots.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@jakildev
jakildev force-pushed the codex/editor-ui-workflows branch from b2f6dce to 0dcf6b1 Compare November 6, 2026 08:11
@jakildev jakildev added fleet:changes-made Agent addressed human feedback — ready for human re-review and removed fleet:semantic-conflict Merger hit non-mechanical conflict; opus-worker resolves or escalates labels Nov 6, 2026
@jakildev

jakildev commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Resolved semantic conflict: parent #4888 was rewritten again (2a75c1f -> 634b38c, its base gained the enkiTS patch-fixture commit), so this layer's two owned commits were replayed with git rebase --onto origin/codex/click-anchored-orbit 2a75c1f78 — clean, no hunks needed resolution. The owned diff is byte-identical to the previous head outside the parent's enkiTS/fixture files; head now contains master (incl. #4882). Build clean on windows-debug: fleet-build --target IRShapeDebug and fleet-build --target IRVoxelEditor. New head 0dcf6b1a4. Reviewer please re-evaluate the rebased diff. — worker

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Perf gate

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

perf comparison: 361c316 → af2f611-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-epyc-9v74-80-unknown/361c3161e7bca8fca557bcacfd514bc981515641
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/af2f611c5-ci

host calibration

  • host: linux-x86_64-epyc-9v74-80-unknown (matches baseline)
  • ref_ms: head 90.20 vs baseline 89.92 (load_factor 1.00×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@361c3161e (branch tip); master 23b4d0e72, finished 2026-11-05T04:28:51Z, 1.2 d before the head run, ref_ms 89.92
  • weighting: raw (class-matched capture; load_factor 1.00×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base 9b85bd092 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 262144 → 262144 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.788 → 0.788 (+0.0pp) 156630 → 156630 262144 → 262144 50080 → 50080 (1.000×)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 262144 → 262144 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.990 → 0.990 (+0.0pp) 255592 → 255592 262144 → 262144 3862 → 3862 (1.000×)

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 386.70 → 382.66 (-1.0%) 1395.41 → 1423.51 (+2.0%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 934.70 → 932.26 (-0.3%) 1986.96 → 1991.92 (+0.2%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 490.07 → 487.07 (-0.6%) 7535.31 → 7535.80 (+0.0%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1241.41 → 1234.18 (-0.6%) 2281.99 → 2256.74 (-1.1%)

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 47.45→47.58 47.93→47.66 43.84→43.72 0.78→0.76 41.93→41.77 4.85→4.76 — 0.00→0.00 2.36→2.28 12.00→11.56 17.25→17.04 15.28→15.21 3.39→3.21 ↓ 1.02→1.01 0.18→0.18 — 6.38→6.25
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 85.83→84.95 292.62→291.68 179.65→180.62 2.85→2.84 160.75→160.16 4.21→4.31 — 0.00→0.00 2.02→2.01 21.38→21.38 16.06→15.62 12.99→13.24 6.62→6.65 1.16→1.05 ↓ 0.17→0.15 ↓ — 6.00→5.84
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 41.76→42.07 57.28→56.78 48.10→47.93 7.36→7.42 37.60→37.34 6.33→8.47 ⚠ 0.75→0.78 0.00→0.00 0.84→0.76 ↓ 38.83→39.02 15.95→15.84 32.33→32.46 5.32→5.57 1.40→1.40 0.16→0.16 0.00→0.00 7.13→7.07
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 91.69→91.05 361.67→360.95 292.01→293.81 4.45→4.52 253.53→252.41 5.00→4.67 ↓ 0.74→0.78 0.00→0.00 0.68→0.63 ↓ 19.09→18.55 16.04→15.97 12.98→12.91 5.41→5.25 1.15→1.23 0.17→0.15 ↓ 0.00→0.00 5.96→5.85

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 190.085 → 189.632 (-0.2%)
RENDER ComputeLightVolume 32.117 → 31.846 (-0.8%)
RENDER CanvasToFramebuffer 15.199 → 14.723 (-3.1%)
RENDER BakeSunShadowMap 7.727 → 7.579 (-1.9%)
RENDER ComputeSunShadow 6.533 → 6.188 (-5.3%) ↓
UPDATE PropagateTransform 3.905 → 3.903 (-0.1%)
RENDER LightingToTrixel 3.516 → 3.345 (-4.9%)
UPDATE FogRevealEval 3.234 → 3.153 (-2.5%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 726.653 → 725.870 (-0.1%)
RENDER ComputeLightVolume 28.634 → 28.437 (-0.7%)
RENDER ComputeSunShadow 16.865 → 16.897 (+0.2%)
RENDER CanvasToFramebuffer 14.207 → 13.692 (-3.6%)
RENDER LightingToTrixel 6.802 → 6.848 (+0.7%)
RENDER BakeSunShadowMap 6.489 → 6.444 (-0.7%)
RENDER ComputeVoxelAO 5.799 → 5.685 (-2.0%)
UPDATE PropagateTransform 3.901 → 3.813 (-2.3%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 211.685 → 211.111 (-0.3%)
RENDER ComputeSunShadow 33.623 → 33.915 (+0.9%)
RENDER ComputeLightVolume 30.058 → 30.157 (+0.3%)
RENDER LightingToTrixel 19.377 → 19.239 (-0.7%)
RENDER CanvasToFramebuffer 14.929 → 14.914 (-0.1%)
RENDER BakeSunShadowMap 10.105 → 9.860 (-2.4%)
UPDATE PropagateTransform 5.317 → 5.204 (-2.1%)
RENDER FogToTrixel 4.569 → 4.867 (+6.5%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1010.205 → 1009.214 (-0.1%)
RENDER ComputeLightVolume 28.611 → 28.509 (-0.4%)
RENDER CanvasToFramebuffer 13.888 → 13.897 (+0.1%)
RENDER ComputeSunShadow 14.340 → 13.855 (-3.4%)
RENDER BakeSunShadowMap 6.758 → 6.631 (-1.9%)
RENDER LightingToTrixel 5.563 → 5.391 (-3.1%)
UPDATE PropagateTransform 5.236 → 5.190 (-0.9%)
RENDER ComputeVoxelAO 4.881 → 4.822 (-1.2%)

@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.

Re-review — editor: clarify palettes, LOD comparisons and array previews

Verdict: approve (delta-scoped re-review of a rebase; no new findings)

Stacked on #4888 (cross-author, fleet:approved, still open at 634b38cc7). Reviewing the child diff only — upstream is approved separately; approval assumes #4888 lands first. Head 0dcf6b1a4, previously reviewed at 3a33495c7.

What changed since the last review

The author replayed the two owned commits onto the rewritten parent (git rebase --onto origin/codex/click-anchored-orbit 2a75c1f78) after the second semantic-conflict resolution, and added 0dcf6b1a4 (moves the committed PR evidence to the media branch).

Prior-review resolution

  • ✅ Sonnet pass (3a33495c7): approve, no needs-fix. Nothing to resolve.
  • ✅ Opus recheck (3a33495c7): approve with nits, all under ### Nits (follow-up), no amend requested. The author filed them as #4931 (fleet:nit-of-pr); no amend was owed, so the unchanged lines are not re-raised.
  • ✅ Opus's two escalation points (the comparison_image.hpp readback origin, and the LOD capture lifetime and ECS behaviour) were confirmed at 3a33495c7. engine/render/include/irreden/render/comparison_image.hpp is unchanged.

Delta check

  • git diff 3a33495c7 HEAD over the PR's 37 files shows only two hunks, both inherited from the parent through the conflict resolution:
    • creations/editors/voxel_editor/CLAUDE.md: the parent's right-drag sentence.
    • creations/editors/voxel_editor/main.cpp: the parent's reworded Space+left: pan camera Home: re-center + reset yaw startup help line.
    • Everything the PR owns (palette, array preview and workflow, LOD preview, comparison panel, comparison_image.hpp, the four new tests) is byte-identical to the reviewed head.
  • The remaining differences against the old head sit in files this PR does not touch (canvas_stress, shape_debug, prefab-render-surface.md). They are master and parent drift.
  • 0dcf6b1a4 is a docs-only deletion of docs/pr-screenshots/codex/editor-ui-workflows/*. The PR's net diff against its base has no pr-screenshots files, which matches the media-branch policy. The body's image URLs (media commit df9fb1ea7) and the README link (145e128d0) both resolve via the contents API.
  • No Closes #N, so there is no acceptance grader to dispatch. mergeable == MERGEABLE, so no churn audit.

CI

closes-lint, comment-refs, header-checks, instruction-size, whitespace, format-check, changes and no-plan-files are green on this head. linux-build, fleet-tests and perf-gate are still pending, so they are unread rather than green. This verdict does not rely on them. The merge decision should wait for linux-build and fleet-tests to complete.

Nits (follow-up)

  • Tracked in #4931. Nothing new.

Test plan the author should run before merge

  • Confirm linux-build and fleet-tests finish green on 0dcf6b1a4. If either goes red, check whether it is inherited from the parent's enkiTS fixture commit.

Escalation: none. Safe for merge.

🤖 Reviewed by Claude Sonnet 5.5 (review-pr skill)

Opus recheck not required.

@jakildev jakildev added fleet:approved Fleet reviewer approved — ready for human merge and removed fleet:changes-made Agent addressed human feedback — ready for human re-review fleet:reviewing-mac-pool-1 labels Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Perf gate

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

perf comparison: a3d54c9 → 49cd643-ci

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

host calibration

  • host: linux-x86_64-epyc-7763-64-unknown (matches baseline)
  • ref_ms: head 103.91 vs baseline 104.10 (load_factor 1.00×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@a3d54c95a (branch tip); master 6062102df, finished 2026-11-06T05:56:56Z, 0.1 d before the head run, ref_ms 104.10
  • weighting: raw (class-matched capture; load_factor 1.00×; no calibration-scaling entry)
  • attribution: improvement withheld, stacked: merge base 042aa74cb 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 262144 → 262144 0 → 0
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.788 → 0.788 (+0.0pp) 156630 → 156630 262144 → 262144 50080 → 50080 (1.000×)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 1.000 → 1.000 (+0.0pp) 262144 → 262144 262144 → 262144 0 → 0
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 0.990 → 0.990 (+0.0pp) 255592 → 255592 262144 → 262144 3862 → 3862 (1.000×)

frame timing (ms)

cell avg p99
target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1 479.15 → 492.75 (+2.8%) 1895.72 → 1743.30 (-8.0%) ↓
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 1272.73 → 1277.41 (+0.4%) 2588.44 → 2567.18 (-0.8%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 652.45 → 665.22 (+2.0%) 12258.22 → 12900.27 (+5.2%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1728.99 → 1729.48 (+0.0%) 2992.62 → 2995.03 (+0.1%)

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 64.10→67.63 64.35→66.32 57.32→59.08 1.29→0.97 ↓ 52.90→55.45 5.30→5.82 — 0.00→0.00 2.62→2.74 14.77→15.24 11.41→11.77 21.67→22.74 3.73→3.91 1.22→1.33 0.19→0.20 — 7.87→8.18
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 110.04→109.78 415.41→415.96 261.63→263.26 4.03→4.03 232.04→232.54 4.80→4.97 — 0.00→0.00 2.31→2.39 28.02→28.27 10.25→10.62 19.56→20.11 8.17→8.26 1.49→1.52 0.17→0.18 — 7.39→7.45
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 59.19→59.41 80.80→81.87 66.25→66.70 12.87→13.11 48.01→47.92 8.35→8.71 1.10→1.11 0.00→0.00 0.89→1.03 ⚠ 62.51→65.31 10.49→10.55 57.15→59.10 7.95→8.07 1.84→1.83 0.17→0.20 ⚠ 0.00→0.00 8.93→9.27
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 119.49→119.87 533.16→534.56 426.57→426.02 6.37→6.39 367.27→366.50 5.63→5.88 1.10→1.08 0.00→0.00 0.73→0.74 25.17→24.40 10.38→10.35 19.24→18.91 6.43→6.51 1.46→1.57 0.17→0.19 ⚠ 0.00→0.00 7.39→7.57

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 247.886 → 257.440 (+3.9%)
RENDER ComputeLightVolume 32.632 → 34.047 (+4.3%)
RENDER CanvasToFramebuffer 17.085 → 17.540 (+2.7%)
RENDER BakeSunShadowMap 9.662 → 10.191 (+5.5%)
RENDER ComputeSunShadow 7.624 → 7.692 (+0.9%)
UPDATE PropagateTransform 4.519 → 4.735 (+4.8%)
UPDATE FogRevealEval 4.190 → 4.218 (+0.7%)
RENDER LightingToTrixel 3.850 → 4.027 (+4.6%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1025.715 → 1027.956 (+0.2%)
RENDER ComputeLightVolume 29.338 → 30.220 (+3.0%)
RENDER ComputeSunShadow 21.864 → 21.956 (+0.4%)
RENDER CanvasToFramebuffer 15.908 → 16.071 (+1.0%)
RENDER ComputeVoxelAO 9.249 → 9.522 (+3.0%)
RENDER BakeSunShadowMap 8.417 → 8.667 (+3.0%)
RENDER LightingToTrixel 8.371 → 8.452 (+1.0%)
UPDATE PropagateTransform 4.405 → 4.438 (+0.7%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 288.688 → 294.708 (+2.1%)
RENDER ComputeSunShadow 55.366 → 57.958 (+4.7%)
RENDER LightingToTrixel 36.271 → 37.890 (+4.5%)
RENDER ComputeLightVolume 32.424 → 32.808 (+1.2%)
RENDER BakeSunShadowMap 22.377 → 22.874 (+2.2%)
RENDER CanvasToFramebuffer 17.441 → 17.615 (+1.0%)
RENDER FogToTrixel 7.107 → 7.186 (+1.1%)
UPDATE PropagateTransform 6.121 → 6.173 (+0.8%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1457.395 → 1458.638 (+0.1%)
RENDER ComputeLightVolume 29.173 → 28.943 (-0.8%)
RENDER ComputeSunShadow 18.725 → 18.104 (-3.3%)
RENDER CanvasToFramebuffer 16.205 → 16.330 (+0.8%)
RENDER BakeSunShadowMap 8.811 → 8.573 (-2.7%)
RENDER ComputeVoxelAO 8.092 → 7.626 (-5.8%) ↓
RENDER LightingToTrixel 6.600 → 6.697 (+1.5%)
UPDATE PropagateTransform 6.104 → 6.126 (+0.4%)

@jakildev
jakildev merged commit b23bc22 into master Nov 6, 2026
13 checks passed
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-codex Implementation last authored by Codex; route review to Claude fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend fleet:verified-windows Cross-host smoke passed on windows-debug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant