Repository navigation
render: record OpenGL gather-filter diagnostic readings - #5177
Merged
Merged
Conversation
Adds the OpenGL rows of the filter-mode ownership gate, temporal difference and mean-colour spread beside the Metal ones; both backends pass with matching readings. OpenGL has no whole-frame GPU timer, so its cost is the steady wall-frame time plus the exclusive GPU time of the gather stages; the owner rule costs about 3 us per main-canvas gather on the fixture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jakildev
commented
Nov 18, 2026
jakildev
left a comment
Owner
Author
There was a problem hiding this comment.
Review — render: record OpenGL gather-filter diagnostic readings
Verdict: approve
The documentation accurately transcribes the linked OpenGL diagnostic evidence and correctly keeps the unfinished host-wide verification as an open issue residual.
Checked
- Read the complete PR and issue #4916 discussions, the one-file documentation diff, and the full
Filtered minificationsection in context. - Cross-checked the OpenGL ownership totals and temporal readings against
4916-gather-filter-gl/results.json; the aggregate rows match the six recorded sweeps. - Confirmed the PR uses
Refs #4916, while criterion 3 remains explicitly unmet rather than being presented as a pass. - All PR checks are complete and successful; this is a documentation-only change, so no local build was run.
Escalation: none. Safe for merge.
🤖 Reviewed by GPT-5 / Codex (review-pr skill)
Opus recheck not required.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Records the OpenGL readings of the gather-filter diagnostic (
IR_GATHER_FILTER_DIAGNOSTIC, merged in #4919) beside the Metal ones indocs/design/continuous-camera-zoom.md§ "Filtered minification", so the decision now holds on both backends: production stays nearest. Measured on the native-Windows OpenGL host (NVIDIA, framebuffer 1280x720, output scale 1) atorigin/master44955ae9f. Docs only. OpenGL agrees with Metal to within 0.5% on every ownership count and 0.01 on every temporal mean, and the owner rule costs about 3 µs per main-canvas gather there. Evidence: 70e26990…/4916-gather-filter-gl.Acceptance evidence
filter --output <dir>exits 0 on OpenGL (candidate clean, unrestricted bleeds, nearest repeat byte-identical); per-body temporal table recordedpython3 scripts/render-continuous-zoom-metric.py filter --output C:/msys64/tmp/p4916/filter --timeout 3000RESULT=PASS. Owner arm: 0 coverage changes, 0 bleed, 0 owner disagreements in all six sweeps. Unrestricted bleed: 33,322 px. Nearest repeat: 0 in every count,repeat_noise0.0. Temporal and spread tables are in the doc beside Metal. Met--auto-profileruns per arm (nearest / owner) at--zoom 2.2 --yaw 0: whole-frame GPU timing and run-to-run spread on OpenGLfleet-run: default config, then--config-preset configs/perf/sdf-on.luaCoverage: supported=0: OpenGL has no whole-frame GPU timer. Steady wall frame: nearest 2.38–2.63 ms, owner 2.47–2.61 ms; the ranges overlap. ExclusivetrixelToFbGPU time: nearest 0.018–0.020 ms, owner 0.021–0.023 ms. All 30 runsQUIET=guarded. Met through a substitute measurement; see Plan departuresrender-verify.py --allpasses on the GL hostrender-verify.py --all --no-build --timeout 1200, then per-demo--targetrunsRESULT=LOCK-FAILED(ir-acquire600 s gpu wait) and printed no rows. The other demos were not reached.Reviewer notes
Plan departures
trixelToFbandentityCanvasToFbare where a cost shows;fbToScreenis the untouched control. Unrestricted was added as a third arm to match the Metal table. Per-run rows:gpu-timing.txtin the evidence link.ir-acquire's 600 s limit. This PR changes one Markdown file and moves no render row, so what remains is a master-on-Windows reading.Refs, notCloses, keeps render: measure the gather-filter diagnostic on OpenGL #4916 open for it.Notes for reviewer
DETACHED(SOURCE_FACES) owners agree between identical runs (0 px). On Metal they differ by about 74,000 px per sweep. The doc records this beside the Metal note.filterattempt hit the script's 300 s default per-run timeout while queued on the GPU lock; the exe itself ran in 6 s. The rerun with--timeout 3000is the one recorded.fleet-pr-overlap --base master:VERDICT: clean.Refs #4916
🤖 Generated with Claude Code