Skip to content

render: gate mouse picks on completed frames (#4999) - #5115

Merged
jakildev merged 1 commit into
masterfrom
claude/4999-presented-pick
Nov 17, 2026
Merged

jakildev merged 1 commit into
masterfrom
claude/4999-presented-pick

Conversation

@jakildev

Copy link
Copy Markdown
Owner

Summary

  • serve mouse picks from the newest submission-gated completed-frame record
  • preserve frame and cursor identity while filtering destroyed entities and reporting stale input ticks
  • lock the contract with GUI fault controls, unit tests, profile output, and design documentation

Test plan

  • fleet-build --target IrredenEngineTest IRShapeDebug
  • fleet-run IrredenEngineTest --gtest_filter='PresentedPick*:InputLatencyReport*' (6/6 passed)
  • python3 scripts/gui-verify.py IRShapeDebug -- --gui-test (49/49 passed)
  • python3 scripts/gui-verify.py IRShapeDebug -- --gui-test --config-preset configs/presented-pick-previous.lua (expected negative control: newest-frame assertion failed)
  • fleet-build --target format-changed and fleet-build --target header-checks

Acceptance evidence

Criterion Check run Observed
1. Pick frame equals the newest completed frame for at least 30 live frames python3 scripts/gui-verify.py IRShapeDebug -- --gui-test newest_completed_pick_frame PASS current=30/30; full suite 49/49
2. Previous-completed fault makes the same assertion fail python3 scripts/gui-verify.py IRShapeDebug -- --gui-test --config-preset configs/presented-pick-previous.lua Expected failure: newest_completed_pick_frame FAIL current=0/30; all other assertions in that run passed
3. Completion gating, newest winner, and full-ring drop fleet-run IrredenEngineTest --gtest_filter='PresentedPick*' 3/3 passed, including pending-slot and capacity coverage
4. Destroyed entity is filtered before dispatch ShapeDebug GUI plus PresentedPick.DestroyedEntityIsFilteredWithoutDiscardingFrameOrCursorState destroyed_entity_is_filtered PASS entity=0; unit passed
5. Settled cursor is current; same-batch move/press is stale and reported ShapeDebug GUI plus InputLatencyReport* settled_cursor_is_current PASS current=30/30; same_batch_move_press_is_stale PASS stale; report row test writes Stale pick input ticks: 7
6. Existing GUI/editor behavior and zero color delta ShapeDebug GUI, editor face_pick, and render verification attempts ShapeDebug 49/49. Unverifiable on mac-pool-2: editor placement assertions passed but its two whole-frame probes returned texels=0; the Aqua session then stopped advertising displays, and render verification exited RESULT=NO-DISPLAY before comparison
7. No added wait or command buffer source review and profiling attempt Readback calls getSubData only after completedSubmissionSerial, on private destination slots; no finish() or live-buffer CPU read. Parent report has valid=120 commandBuffers=120; head report was unverifiable because the benchmark quiet window remained busy

Notes for reviewer

The macOS display session became unavailable during the final GPU validation sweep. Cross-host smoke should rerun the editor face-pick session and both render-verify targets. The implementation changes no shader, color buffer, or command-buffer submission boundary.

fleet-pr-overlap reported VERDICT: overlap: #4921's ShapeDebug row is a base conflict already present on the #5105 parent; overlaps with #5036, #5073, #5076, #5084, #5100, and #5101 trial-merge clean; #5105 rows are upstream by construction.

Closes #4999

@jakildev jakildev added fleet:wip Work in progress — not ready for review fleet:author-codex Implementation last authored by Codex; route review to Claude labels Nov 16, 2026
@jakildev
jakildev added this pull request to stack #5116 November 16, 2026 16:32
@jakildev jakildev added fleet:authored-on-macos PR was authored and smoke-tested on macOS Metal backend and removed fleet:wip Work in progress — not ready for review labels Nov 16, 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 — render: gate mouse picks on completed frames (#4999)

Verdict: approve

Stacked on #5105 (cross-author lane, upstream carries fleet:approved). Reviewing the child diff only — upstream is approved separately; approval assumes #5105 lands first. Interface fragility: this PR depends on RenderDevice::submissionSerial() / completedSubmissionSerial(), FrameCompletionQueue::setFrameId, and IRRender::mouseMainFramebufferPixel() from the parent chain; if any changes between approval and merge, this needs a rebase.

Big picture. The change does what #4999 asks. getMouseTrixelPick() keeps its call shape but now serves a record that TRIXEL_TO_FRAMEBUFFER::endTick copies on the GPU timeline after the final hover writer (the per-axis scatter resolve runs first), through the existing GpuReadbackRing pattern (engine/render/CLAUDE.md readback rule): slot handed over only once completedSubmissionSerial() reaches the serial that encoded the copy, newest frame id wins, full ring drops the oldest pending slot, no finish(), no map of the live buffer. Destroyed or marked-for-deletion entities read as null while frame id and cursor survive. Staleness is reported, the entity is not suppressed, and the INPUT-tick count is once-per-tick through the new InputManager::inputTick(). The ring/slot logic is a pure header (presented_pick.hpp) with unit tests that need no GPU, which is the right seam.

CI as of this review: linux-build, perf-gate, render-harness-tests have no completed run on head 458c0b618 (unread, not green); format-check, header-checks, comment-refs, instruction-refs, closes-lint, whitespace pass.

Acceptance (issue #4999)

Graded by me against the plan's Done-means list and the PR's evidence table (no separate grader dispatched).

Criterion Status Basis
Pick tagged with frame id + render cursor, served only after submission completes, both backends, non-blocking met (Metal evidence; GL by construction) render_manager.cpp:207-243; GL path only exercised by source reading — see escalation
Destroyed entity reports no entity met resolvePresentedPick + PresentedPick.DestroyedEntityIsFilteredWithoutDiscardingFrameOrCursorState; the live-check lambda in RenderManager::mouseTrixelPick is covered only by the GUI shot (see nit)
Stale flag + profile-report count, entity still reported met render_manager.cpp:876-894, profile_report.cpp, InputLatencyReport* row test
Tests fail when served from other than newest completed frame met unit tests plus GUI fault control (presented-pick-previous.lua); PR reports the negative run failing newest_completed_pick_frame
docs/design/pick-frame-contract.md met added
macOS editor / render-verify parity unverifiable on mac-pool-2 (display session lost); PR says so honestly and asks for cross-host re-run — covered by smoke labels

Nits (follow-up)

  • creations/demos/shape_debug/main.cpp (destroyed_entity_is_filtered shot) — the assertion is newest pick entity == null, and the shot arms the destroy only when the pick first equals the voxel entity, with no assertion that destroyIssued_ ever became true. If the cursor never lands on the voxel the shot passes vacuously, and after the deferred destroy the pixel is empty anyway, so the shot cannot tell the liveness filter from an empty pixel. A predicate assertion on g_presentedPick.destroyIssued_ would make it a real positive control; the RenderManager lambda (entityExists && !isMarkedForDeletion) is otherwise untested.
  • main.cpp shot tables — kPresentedPickStaleShotIndex / kPresentedPickDestroyedShotIndex have no static_assert tying them to staleEvents_ / destroyedEvents_ the way the drag-pan index has; inserting a shot ahead of them silently mis-aims.
  • main.cpp cfg.settleFrames_ = 3 → 30 applies to every --gui-test shot, not just the 30-frame assertions; a one-line comment on why (or a per-shot settle) would keep the run time from creeping unnoticed.
  • gui_test_assertions.hpp (hoveredEntityId phase-contract comment, ~line 144) and system_gizmo_hover.hpp header comment still describe the hover read as the previous frame's mapped buffer; the contract is now "newest completed record". Also engine/render/CLAUDE.md's readback bullet could list the new ring beside cullStatsRing_ / overflowCtrlRing_.

Praise

  • Pure-header PresentedPickHistory + resolvePresentedPick keep the ordering and filtering rules unit-testable without a device, and the fault control proves the GUI assertion can actually fail.

Test plan the author should run before merge

  • Windows/OpenGL: python3 scripts/gui-verify.py IRShapeDebug -- --gui-test — the GL submission-fence path (glCopyNamedBufferSubData + getSubData behind completedSubmissionSerial()) has no run in this PR; confirm newest_completed_pick_frame and hover latency (a gated read can serve an older frame than the old mapped read when the fence lags).
  • macOS: rerun the editor face_pick session and both render-verify targets once the display session is back.
  • Re-run the profile/perf-gate rows the PR could not take (valid=120 commandBuffers=120 on head).

Escalation: please Opus-recheck before merge (touches: engine/render, engine/world, engine/input, engine/prefabs/irreden/render).

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

Opus recheck required: GPU readback lifetime and submission-serial gating on the OpenGL backend (fence polling, slot reuse when the ring is full, frame-id/serial pairing at endTick) is untested here, and the change spans engine/render, engine/world and engine/input.

@jakildev jakildev added fleet:needs-opus-recheck Sonnet flagged this PR for Opus recheck before merge fleet:needs-windows-smoke PR needs windows-debug build + smoke-run validation and removed fleet:reviewing-mac-pool-6 labels 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.

@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 — render: gate mouse picks on completed frames (#4999) — Opus recheck

Verdict: approve

Stacked on #5105 (open, fleet:approved); approval assumes #5105 lands first. The interface-fragility note in the Sonnet pass stands: submissionSerial() / completedSubmissionSerial(), FrameCompletionQueue::frameId, and mouseMainFramebufferPixel() all come from the parent chain. If any of them changes before merge, this PR needs a rebase.

This pass covers what Sonnet asked for: GPU readback lifetime and submission-serial gating on both backends, slot reuse at capacity, and pairing the frame id and serial at endTick. I read the head 458c0b618 in full file context against the backend code on the parent tip 0f9f2c461.

Opus-only items

  • OpenGL fence gating: correct. GpuSubmissionFences::endSubmission tags a submission with the serial that was open while it was recorded, then increments. publishMouseTrixelPick runs in RENDER before present(), so its copy carries serial S. pollCompleted advances completedSerial to S only after S's timestamp query is available, and fences retire oldest first, so a later fence never retires early. finish() → completeAll() sets completed to S and opens S+1, so a mid-frame legacyFinishTiming_ finish still pairs correctly. glMemoryBarrier(GL_BUFFER_UPDATE_BARRIER_BIT) is the right bit for a glCopyNamedBufferSubData that reads SSBO writes from the fragment pass and the scatter-resolve compute. This is the same shape as overflowCtrlRing_ (system_voxel_to_trixel.hpp:1390).
  • Metal: safe by construction. present() and finish() both commit() + waitUntilCompleted(), and completedSubmissionSerial() is serial - 1, so a slot drains on the frame after its copy. The destination slots are BUFFER_STORAGE_DYNAMIC, which is ResourceStorageModeShared (metal_buffer.cpp), so getSubData reads contents() with no hidden blit or wait. The backend opens one encoder per draw or dispatch (createRenderEncoder per call; memoryBarrier is a documented no-op). The blit that endTick adds after bindFramebuffer() therefore never runs inside an open render pass. The next composite (ENTITY_CANVAS_TO_FRAMEBUFFER) reopens with LoadActionLoad because consumeMetalRenderTargetClear() is one-shot, so it cannot wipe colour. When the drawable is starved (null command buffer), the copy falls back to an immediate memcpy of a buffer whose frame work no-opped. That yields a null-entity pick for the frame, the same answer the old persistent-map read gave there.
  • Slot reuse at capacity: correct. With kMaxPresentedSubmissionsInFlight = 2 and one write per frame, steady state is about 3 slots against a cap of 8. If no consumer drains (a creation with no hover reader), the ring saturates at 8 and write overwrites the oldest pending slot with a copy in a newer submission. Queue order makes the later copy land last, and the slot's producer and serial are restamped together, so a drain never pairs old bytes with new metadata. It stays bounded with no growth.
  • Frame-id / cursor pairing: correct. World::render calls setPresentingFrame(++m_renderFrameId) before renderFrame(). The cursor tag is recomputed at endTick from the same camera and framebuffer transform that the tick and resolveScatterHover upload, and nothing in RENDER moves them between those points. PresentedPickHistory::accept orders by frame id, not drain order, so the out-of-order drain test is the right lock.
  • Threading and ECS: correct. Both production callers (ENTITY_HOVER_DETECT::beginTick, GIZMO_HOVER::beginTick) and the GUI-test latch run on the main thread, so the GL getSubData in the drain always has the context. entityExists && !isMarkedForDeletion is a sound liveness filter: entity ids are monotonic with no recycle pool (entity_manager.cpp:75), which the design doc relies on. The fixture's IREntity::destroyEntity in an UPDATE endTick is the marking variant.
  • Lifetime: correct. The 8 slot buffers go through createResource<Buffer> and are owned by the resource manager, with the ResourceId dropped. That matches the other RenderManager-created buffers, and nothing dereferences them after teardown.

Hot path. The per-frame cost is one blit encoder on Metal (the encoder-per-op model costs roughly tens of µs) plus one barrier and one 32-byte copy on GL. perf-gate is now green on this head.

CI on 458c0b618. perf-gate, format-check, header-checks, comment-refs, instruction-refs, instruction-size, closes-lint and whitespace pass. linux-build and render-harness-tests are still in progress at this review, so they are unread, not green.

Nits (follow-up)

  • creations/demos/shape_debug/main.cpp destroyed_entity_is_filtered: Sonnet flagged this shot as vacuous. On closer reading I agree, and adding a destroyIssued_ predicate would not fix it. The capture frame comes 30 settle frames after the destroy, and by then every completed record shows an empty pixel, so the shot passes with or without the filter. The window where a record outlives its entity is up to kMaxPresentedSubmissionsInFlight frames on GL, and the UPDATE→RENDER span of the destroy frame on Metal. A discriminating control would latch the pick on the first frame after destroyIssued_, while the served frame id is still older than the destroy frame. Until then, the PresentedPick.DestroyedEntityIsFiltered… unit test is the real evidence for criterion 4. That is enough for the criterion, but the GUI row in the evidence table proves nothing.
  • system_trixel_to_framebuffer.hpp:1062: HoveredEntityIdBuffer is still allocated MAP_READ | MAP_PERSISTENT | MAP_COHERENT, but nothing maps it now (git grep mapRange finds no caller outside the backends). Dropping the map flags lets GL place it device-local. The @note at ir_render_enums.hpp:59 ("used by HoveredEntityIdBuffer") becomes stale with this PR and should go with it.
  • Sonnet's follow-up nits stand: the stale "previous frame's mapped buffer" wording in gui_test_assertions.hpp:144 and system_gizmo_hover.hpp:15-28, the missing static_assert for the two new shot indices, the global settleFrames_ = 30, and the engine/render/CLAUDE.md readback bullet listing.

Praise

  • The completion boundary is the right abstraction. On GL, the old code read whatever a persistent coherent map held, a frame the GPU might not have finished writing. This PR replaces that with the same serial-gated ring the counters already use, and keeps the ordering policy in a pure header that tests can drive without a device.

Acceptance (issue #4999)

I confirm Sonnet's grading: every criterion is met or honestly unverifiable. Criterion 1 on GL is met by construction, per the fence analysis above. Criterion 4 rests on the unit test (see nit). Criterion 6's macOS editor and render-verify rows are unverifiable on the author host and covered by the cross-host smoke labels (fleet:needs-windows-smoke present).

Test plan the author should run before merge

  • Windows/OpenGL: python3 scripts/gui-verify.py IRShapeDebug -- --gui-test. This is the first run of the fence-gated GL path; watch newest_completed_pick_frame and hover latency.
  • macOS, once a display session is back: the editor face_pick session and both render-verify targets.
  • Confirm linux-build and render-harness-tests finish green on 458c0b618.

🤖 Reviewed by Claude Opus 5.5 (review-pr skill, Opus recheck)

@jakildev jakildev added fleet:approved Fleet reviewer approved — ready for human merge and removed fleet:needs-opus-recheck Sonnet flagged this PR for Opus recheck before merge fleet:reviewing-mac-pool-1 labels Nov 16, 2026
Base automatically changed from claude/4998-input-latency-probe to master November 17, 2026 01:51
Publish the hover buffer through a bounded GPU readback ring tagged with frame and cursor identity. Filter dead entities at the shared read chokepoint and report stale input ticks without changing dispatch behavior.

Add positive and faulted GUI coverage, completion and lifetime unit tests, and document the presented-pick contract.
@jakildev
jakildev force-pushed the claude/4999-presented-pick branch from 458c0b6 to 1b8fc3a Compare November 17, 2026 01:51
@github-actions

Copy link
Copy Markdown

Perf gate

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

perf comparison: 7c12467 → 7bb47bd-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-xeon-6975p-c-03-0-vga/7c1246784ebace60189732fd9df1a822b4b4cd06
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/7bb47bd5d-ci

host calibration

  • host: linux-x86_64-xeon-6975p-c-03-0-vga (matches baseline)
  • ref_ms: head 69.82 vs baseline 69.90 (load_factor 1.00×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@7c1246784 (class-matched history capture, not the branch tip); master 8cb68e959, finished 2026-11-17T01:54:47Z, 0.0 d before the head run, ref_ms 69.90
  • weighting: raw (class-matched capture; load_factor 1.00×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master 8cb68e959 and merge base dce4de5b9 (3 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 399.14 → 400.41 (+0.3%) 1152.86 → 1283.25 (+11.3%) ⚠
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 917.86 → 910.48 (-0.8%) 1695.59 → 1715.18 (+1.2%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 470.37 → 474.19 (+0.8%) 6703.55 → 6728.35 (+0.4%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1314.71 → 1326.90 (+0.9%) 2052.66 → 2069.39 (+0.8%)

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.95→16.11 48.15→47.46 41.82→41.77 0.77→1.03 ⚠ 41.35→41.67 69.50→69.01 — 0.00→0.00 1.51→1.52 17.50→17.42 13.83→14.52 12.15→12.34 2.69→2.87 0.99→0.99 0.18→0.16 ↓ — 6.61→6.71
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 16.51→16.33 240.02→238.67 182.20→180.18 3.03→3.01 171.25→170.18 112.72→112.20 — 0.00→0.00 1.31→1.33 30.02→29.87 12.70→13.06 10.16→10.40 4.76→4.95 1.06→1.12 0.17→0.17 — 6.31→6.31
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 14.55→14.81 57.32→56.58 45.05→44.74 6.81→6.79 35.88→36.31 64.50→64.40 1.27→1.28 0.00→0.00 4.28→4.28 39.50→39.92 13.02→12.97 29.22→29.41 4.94→4.97 1.41→1.41 0.16→0.15 0.00→0.00 7.15→7.30
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 15.73→15.77 393.31→393.80 294.12→295.55 4.69→4.73 267.43→270.78 125.66→126.55 1.31→1.32 0.00→0.00 1.34→1.33 38.42→38.86 13.48→13.74 11.12→11.42 4.08→4.32 1.16→1.18 0.16→0.15 ↓ 0.00→0.00 6.22→6.31

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.473 → 218.892 (-0.3%)
RENDER ComputeLightVolume 25.611 → 26.362 (+2.9%)
RENDER CanvasToFramebuffer 14.581 → 15.039 (+3.1%)
RENDER ComputeSunShadow 12.795 → 12.839 (+0.3%)
RENDER BakeSunShadowMap 6.097 → 6.037 (-1.0%)
UPDATE PropagateTransform 3.630 → 3.622 (-0.2%)
UPDATE FogRevealEval 3.015 → 3.076 (+2.0%)
RENDER LightingToTrixel 2.798 → 2.973 (+6.3%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 723.353 → 718.333 (-0.7%)
RENDER ComputeSunShadow 26.165 → 26.036 (-0.5%)
RENDER ComputeLightVolume 22.470 → 23.063 (+2.6%)
RENDER CanvasToFramebuffer 13.543 → 13.854 (+2.3%)
RENDER ComputeVoxelAO 6.895 → 6.821 (-1.1%)
RENDER BakeSunShadowMap 5.179 → 5.196 (+0.3%)
RENDER LightingToTrixel 4.902 → 5.081 (+3.7%)
UPDATE PropagateTransform 3.571 → 3.425 (-4.1%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 233.064 → 233.307 (+0.1%)
RENDER ComputeSunShadow 35.057 → 35.432 (+1.1%)
RENDER ComputeLightVolume 24.269 → 24.106 (-0.7%)
RENDER LightingToTrixel 19.087 → 19.261 (+0.9%)
RENDER CanvasToFramebuffer 14.429 → 14.766 (+2.3%)
RENDER BakeSunShadowMap 8.082 → 8.102 (+0.2%)
UPDATE PropagateTransform 4.785 → 4.748 (-0.8%)
RENDER FogToTrixel 4.354 → 4.327 (-0.6%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1099.862 → 1105.909 (+0.5%)
RENDER ComputeSunShadow 34.318 → 34.811 (+1.4%)
RENDER ComputeLightVolume 24.304 → 24.741 (+1.8%)
RENDER CanvasToFramebuffer 13.511 → 13.574 (+0.5%)
RENDER ComputeVoxelAO 5.604 → 5.581 (-0.4%)
RENDER BakeSunShadowMap 5.263 → 5.201 (-1.2%)
UPDATE PropagateTransform 4.828 → 4.956 (+2.7%)
RENDER LightingToTrixel 4.201 → 4.460 (+6.2%)

jakildev added a commit that referenced this pull request Nov 21, 2026
* render: refresh macos ShapeDebug references

Refresh the intended fractional-origin and yaw-22 glitch baselines, plus the finite sun-face shadow drift now present on master. CanvasStress references remain unchanged.\n\nAuthored with the Codex runtime.

* render: reconcile macos ShapeDebug references

* docs: complete rotation picking image acceptance

Record passing native Metal ShapeDebug and CanvasStress image gates
against the refreshed references, and remove the completed picking
open item. Preserve the separate OpenGL runtime follow-up and link
terminal verification reports on the media branch.

Authored with OpenAI Codex (GPT-6).

* docs: record the opengl rotation-picking acceptance run

Run #4865's acceptance on a Windows GL host (RTX 3060 Ti) against
master eea7979, with a parent-of-#5115 control build. GUI 8/8, sweep
360/360, three identical tie runs, both render-verify gates and
continuous zoom, hover canary and editor default sessions pass.

The cube probe (140/288), #5115's newest-completed-frame assertion
(48/49) and the editor part_gizmo_reach session (14/24) fail on GL and
are filed; the native suite's three failures are the known host set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 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-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: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.

render: pick and hover read the most recent completed frame through a gated record

1 participant