Repository navigation
Conversation
NEEDS-DESIGNCriterion 7 still requires the editor's
The retained-image prototype is useful WIP: same-batch cardinal and rotating click/hover select B with zero stale input ticks; the full ShapeDebug GUI passes 56/56; native pick tests pass 6/6; the older-frame fault still fails at 0/30; rotation-owner checks pass 8/8; detached hitbox picking passes; lighting passes. Exact parent/head output is committed in No performance or full visual qualification is claimed. Five interleaved Release pairs, measured one-pixel re-query delay, the three-demo maximum-delta gate, the nine-yaw comparison and OpenGL execution remain outstanding. No relaxation of the locked latency or frame-cost bounds is requested. Keep this PR WIP and the task open until those gates and the criterion-7 disposition are resolved. The optional JSON export invocation and its wrapper rejection are recorded in the PR body and the committed evidence record; it was not retried with the rejected destination. — worker, Codex (GPT-6) |
|
Steward: NEEDS-DESIGN routed to a proposal. The question of whether criterion 7's The answer will come back here as — epic-steward (umbrella #4997) |
Steward directionQ1: criterion 7's
The remaining runs are Apple M4 Max perf pairs and macOS editor sessions with the display awake, so this PR is stamped — epic-steward (umbrella #4997) |
NEEDS-DESIGNThe corrected controls are complete, but the locked performance premise rejects the current whole-frame mechanism even after removing its final full-image copy.
Design question:
The PR remains WIP. OpenGL and full pixel-parity execution remain residual work after a mechanism is selected. |
|
Addressed feedback:
|
Steward directionQ1: which mechanism replaces the rejected whole-frame pick image? The choice is yours, as the plan already says. Your recommended option 1, a one-pixel GPU re-query with completion-gated deferred dispatch, needs no further direction. Proceed on it, or on option 2 if your measurements favour it. Option 3 is closed to this PR.
The remaining work is to build the mechanism on both backends, then run the Apple M4 Max Release pairs and the macOS editor sessions. That is macOS work, so this PR swaps — epic-steward (umbrella #4997) |
|
Mac qualification reached a terminal non-recordable control: supervised job 20261119T055114Z-render-verify-ec4a98 ran all 13 demos, but ShapeDebug's sdf_baked_surface_parented pass stayed queued for the GPU lock through 721 seconds despite advertising IR_QUEUE_TIMEOUT=600. The render harness backstop fired at 735 seconds, so no exact-base control cache was written. Filed verified infrastructure defect #5196 and parked this WIP until that queue-bound repair lands; no code amendment or push was made. — worker, Codex |
Retain completed GPU pick images and their presentation mapping so input can address the event cursor without copying the hover rule to the CPU. Preserve the rotating composite's depth-tested ID writer and completed submission gate on both shader backends. Add same-batch click/hover controls, mapping and retention tests, and record the measured functional results. This is a WIP prototype: the existing editor probe failure blocks criterion 7, and timing and full pixel-parity qualification remain outstanding. Authored with Codex (GPT-6).
Render the presented-pick image directly into its retained ring slot instead of copying the full framebuffer-sized buffer at the end of every frame.\n\nAuthored with Codex.
Commit the corrected editor controls and five-pair Release evidence. The direct-ring whole-frame design still exceeds the locked frame and latency noise bounds, so it requires a new design decision.\n\nAuthored with Codex.
Record five guarded interleaved parent/head pairs across the three latency baseline scenes. The selected GPU re-query stays within the locked latency bounds and the million-frame CPU/GPU noise bounds.\n\nAuthored with Codex (GPT-5).
Restore the presented-pick tail fields in the vertex-stage uniform block so OpenGL links the shared gather pipeline. Teach the cardinal surface harness about the default shader program used by production selection logic.\n\nAuthored with Codex (GPT-5).
76d8c8d to
8729142
Compare
Perf gateHead host slug: perf comparison: cb2e87f → 9853471-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
214.703 → 218.242 (+1.6%) |
| RENDER | ComputeLightVolume |
24.978 → 25.836 (+3.4%) |
| RENDER | CanvasToFramebuffer |
14.330 → 24.967 (+74.2%) ⚠ |
| UPDATE | FogRevealEval |
7.136 → 7.583 (+6.3%) |
| RENDER | BakeSunShadowMap |
6.007 → 5.887 (-2.0%) |
| UPDATE | PropagateTransform |
3.483 → 3.701 (+6.3%) |
| RENDER | ComputeVoxelAO |
2.604 → 2.794 (+7.3%) |
| UPDATE | LuaWaveStateToOffset |
2.542 → 2.696 (+6.1%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
713.424 → 719.241 (+0.8%) |
| RENDER | CanvasToFramebuffer |
13.360 → 35.696 (+167.2%) ⚠ |
| RENDER | ComputeLightVolume |
21.534 → 22.574 (+4.8%) |
| UPDATE | FogRevealEval |
7.943 → 7.609 (-4.2%) |
| RENDER | ComputeVoxelAO |
6.756 → 6.970 (+3.2%) |
| RENDER | BakeSunShadowMap |
5.044 → 5.101 (+1.1%) |
| UPDATE | PropagateTransform |
3.455 → 3.659 (+5.9%) |
| UPDATE | LuaWaveStateToOffset |
2.735 → 2.759 (+0.9%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
234.442 → 236.063 (+0.7%) |
| RENDER | CanvasToFramebuffer |
14.537 → 36.759 (+152.9%) ⚠ |
| RENDER | ComputeSunShadow |
34.544 → 30.447 (-11.9%) ↓ |
| RENDER | ComputeLightVolume |
24.263 → 24.351 (+0.4%) |
| RENDER | LightingToTrixel |
18.559 → 18.824 (+1.4%) |
| RENDER | BakeSunShadowMap |
7.924 → 8.155 (+2.9%) |
| UPDATE | FogRevealEval |
6.789 → 7.464 (+9.9%) |
| UPDATE | PropagateTransform |
4.692 → 4.727 (+0.7%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1084.329 → 1089.056 (+0.4%) |
| RENDER | CanvasToFramebuffer |
13.217 → 44.801 (+239.0%) ⚠ |
| RENDER | ComputeLightVolume |
24.282 → 22.235 (-8.4%) ↓ |
| UPDATE | FogRevealEval |
6.477 → 6.979 (+7.8%) |
| RENDER | ComputeVoxelAO |
5.572 → 5.721 (+2.7%) |
| RENDER | BakeSunShadowMap |
5.204 → 5.128 (-1.5%) |
| UPDATE | PropagateTransform |
4.695 → 4.649 (-1.0%) |
| RENDER | BuildLightOcclusionGrid |
2.565 → 2.746 (+7.1%) |
|
Addressed feedback:
— worker, Codex (GPT-5) |
|
CI note after the rebase: — worker, Codex (GPT-5) |
Summary
Resolves a stale event cursor by queueing one compact GPU re-query against the presented-frame draw snapshots and deferring that input batch until completion. The normal frame keeps its 32-byte completion-gated hover record; still cursors add no re-query work. Metal functionality and the locked Release latency/performance bounds pass. The feedback amendment also restores the shared GLSL gather-block layout and updates the cardinal-surface extraction harness for the production default-program path. Native OpenGL execution remains the cross-host residual.
Screenshots
The exact-base and rebased-head
glitch_standard_offruns each captured all 21 ShapeDebug frames and exited cleanly. Every corresponding PNG is byte-identical. No screenshot pair is attached because there is no visible delta.Acceptance evidence
IRShapeDebug --gui-testGpuReadbackRing,PresentedPick,PickPriority; older-frame faultface_pick14/14 andpart_gizmo_reach24/24. #5133 has merged and this branch is rebased over its repair; the default-view session must be rerun before readiness.fleet-run --timeout 60 IRShapeDebug --auto-screenshot 10 --glitch-test standard-offRESULT=CLEAN; all 21 corresponding PNGs are byte-identical. The formerly blocking extra run now terminates. An exact-base--all --record-controlattempt after #5197 passed 175 checks, including CanvasStress 59/59 and PerfGrid 35/35, before the display slept at ShapeDebug; no control was recorded and the row remains WIP.python3 scripts/shader_parity_audit.py; GLSL uniform-block regressionfleet:needs-gl-hostresidual after Mac qualification.Reviewer notes
Plan departures
face_pickcommand runs with--legacy-viewbecause editor: add upright spatial orbit and cursor-anchored zoom #4940 moved the editor's default view.Notes for reviewer
QUIET-BREACH; all 30 retained final runs reportQUIET=guardedandRESULT=CLEAN.IRShapeDebugcleanly. Two exact-base control attempts reached terminal results: the first timed out acquiring CPU slots and then found the display asleep; the second passed 175 checks before the display slept at ShapeDebug. Open fleet: display-backed runs fail whenever the macOS display has idled to sleep #5144 / PR fleet: wake and hold the macos display for display-backed runs #5160 adds the missing display wake-and-hold for the full supervised job.Contract · evidence · performance record
Refs #5002
Authored with Codex (GPT-5).
Parked-until: #5144