Skip to content

render: cull source-face alpha cutouts per face, force early tests - #5198

Merged
jakildev merged 2 commits into
masterfrom
claude/4935-source-face-early-tests
Nov 19, 2026
Merged

jakildev merged 2 commits into
masterfrom
claude/4935-source-face-early-tests

Conversation

@jakildev

@jakildev jakildev commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

On GL, depth-hidden source-face fragments no longer run the sun-shadow query. The early-route fragment stage could discard, so GL shaded all 128 coincident caster canvases before applying the depth test, and each fragment ran the exact overflowed-tile query.

The alpha cutout is constant per face, so the shared vertex stage now clips faces with alpha < 0.1. Neither fragment stage discards, and the early route forces early fragment tests on both backends. The Windows GL far-128 composite falls 95%, with pixels and tie owners unchanged. The controller now reads Metal's window-only composite row, so the Metal guard can run.

Screenshots

No visual change: the shipped production frame equals master's at exact RGB, 0 px changed, over the whole frame in all 5 IRCanvasStress diagnostic cases (row 3 below).

Acceptance evidence

Criterion Check run Observed
1. Hidden shading gone; caster group ≤ 1.25 per owned sample, shadowbox/filler 1.00 run_matrix.py witness --build debug --pre-tree <pre>/debug --variants production ablation 128-caster group: pre 13,568 / 106 = 128.0; shipped 106 / 106 = 1.00 in all 5 cases. Shadowbox 1200/1200 and filler 98566/98566 = 1.00 in both trees (windows-opengl-early-tests/debug/witness/summary.md)
2. GL cut, Debug: upper bound ≤ −50% run_matrix.py ab-timing --build debug --pre-tree <pre>/debug --cases far-128 (5 pairs, all CLEAN, quiet-guarded) far-128 63.213 → 3.339 ms, −94.7%, one-sided 95% upper bound −93.9%
2. GL cut, Release run_matrix.py ab-timing --build release --pre-tree <pre>/release --cases far-128 63.865 → 3.218 ms, −95.0%, upper bound −94.4%
3. Pixels unchanged run_matrix.py diagnose --build debug --pre-tree <pre>/debug production_matches_oracle: true in all 5 cases: 371 entered / 234 hit on the 4 exact-path cases, 0 / 0 on far-128-filler-first-frozen. production_matches_pre_tree: true with 0 px changed in receiver crop, stack crop and whole frame, all 5 cases
4. Contract: forced early tests, no discard, vertex clips alpha < 0.1 (GL + Metal), each with a rejected mutation python3 scripts/tests/test_render_source_face_early_depth.py Ran 4 tests … OK. Mutations rejected: drop_early_tests, early_tests_on_fallback, restore_discard, drop_alpha_cull, inclusive_alpha_cull, on both backends. The Metal check reads [[early_fragment_tests]] on the declaration ahead of fragment SourceFaceFragment
4. Source-face order python3 scripts/tests/test_render_source_face_order.py OK, glsl + metal exact_permutation=PASS sorted_keys=PASS guard=PASS
4. Controller python3 docs/perf/sun-overflowed-tile-query/test_controller.py Ran 42 tests … OK, including the Metal window-only fixture, the GL refusal of that row, the Metal guard and the early-tests refusal on the shipped tree
4. render-verify render-verify.py --target IRCanvasStress --no-build (shipped Debug) all 31 checks PASS (28 skipped — references pending). The skips are the cylinder_receiver* rows, which have no windows-debug reference. No failures, so there is nothing to grade against master
5. Metal guard (≤ 1.023× composite window and commandBufferSpans; diagnose oracle-match) run_matrix.py ab-timing --build debug --cases far-128 + diagnose --build debug on macOS unverifiable on windows: Metal backend. Routed through fleet:needs-macos-host. summary.md prints the metal_guard verdict. The plan-time probe of this exact change gave 0.983× / 0.994×
Reviewer notes

Plan departures

  • Criterion 2 "pre is the shipped branch's master merge-base": the pre trees are this commit with the three shader files checked out from master 00b5da049 (the merge-base). The change is shader-only, so both trees run one binary (Debug 320005d17eed…, Release a5b14aa2c7eb…). pre-tree/tree.diff is exactly the reversed shader diff.
  • Criterion 3 "equals master's at exact RGB": diagnose gained --pre-tree, which captures master's production frame per case in the same session. A comparison against the older committed captures would cross master's later lighting re-bless.
  • Criterion 5's 1.023× bound (plan correction 1) is executable as metal_guard in summarize_ab.
  • D2 placement: the GLSL layout(early_fragment_tests) in; sits in the shared fragment body under #if IR_SOURCE_FACE_EARLY_DEPTH, mirroring the Metal attribute, not in the wrapper. The early-tests control now refuses when that body already carries the line.

Notes for reviewer

  • The queryHierarchy = false post arm sits 0.07–0.08 ms above pre in both builds (Release lower bound +0.054 ms). That is about 1/800 of the saving and is not attributed.
  • windows-opengl-early-tests/.gitattributes marks witness.csv as -text. witness.json hashes the CRLF bytes the engine writes, and normalization would break that record. It also sets whitespace=cr-at-eol so the whitespace gate (git diff --check) accepts those CRLF endings without normalizing them; the older windows-opengl-mechanism/ CSVs already mismatch for this reason.
  • First-attempt retries: one witness launch was not CLEAN, and one Release arm found no quiet window in 8 attempts. Both were relaunched; finished work was re-validated, not re-run.
  • Metal compiles only on macOS; this host validated the GLSL in every CLEAN run.
  • fleet-pr-overlap: VERDICT: overlap. render: size per-axis stores from content height (#4960) #5101, docs: capture overflow-rejection camera ordering in docs/design/per-axis-trixel-canvas-rotation.md (#5086) #5124 and scripts: grade yaw crossings by cardinal-only pixels #5195 each edit docs/agents/VALIDATION-RENDER-FEATURES.md, and all three trial merges are clean. This PR changes only the source-face early-depth row.

Closes #4935

🤖 Generated with Claude Code

GL shaded every fragment of the 128 coincident caster canvases before
depth-testing them, because the early-route source-face fragment stage
could discard: 13,568 invocations for 106 owned samples, each one
running the exact overflowed-tile sun query. The alpha cutout is a
per-face constant (faceColor is flat), so the shared vertex stage now
clips any face with alpha < 0.1 to the route check's clipped position,
neither fragment stage discards, and the early route forces early
fragment tests (GLSL layout, Metal attribute). Pixels and tie owners
are unchanged.

Windows GL far-128 entityCanvasToFb: 63.2 -> 3.3 ms Debug and 63.9 ->
3.2 ms Release (one-sided 95% upper bound -93.9% / -94.4%). The witness
reads 1.00 invocations per owned sample; diagnose matches the oracle
and master's frame at exact RGB in all five cases. The controller now
reads Metal's window-only composite row and prints a Metal guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jakildev jakildev added fleet:author-claude Implementation last authored by Claude; route review to Codex fleet:needs-macos-host Remaining work needs a macOS host; non-mac panes skip (dispatch, claim, amending-claim) fleet:authored-on-windows PR was opened from a Windows (MSYS2) host labels Nov 19, 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: cull source-face alpha cutouts per face, force early tests

Verdict: needs-fix

The implementation and focused controller/source checks are sound, but the retained witness artifacts make the required whitespace check fail.

Needs-fix

  • docs/perf/sun-overflowed-tile-query/windows-opengl-early-tests/.gitattributes — every committed nested witness.csv is CRLF and fails git diff --check; the -text attribute preserves the byte-hashed evidence but does not disable the whitespace checker. Add the appropriate whitespace=-trailing-space exception for those CSVs (without normalizing them), then re-run the check. This is currently the PR's failing required whitespace CI job.

Acceptance (issue #4935)

4 of 5 established locally/from retained evidence; criterion 4 remains unmet until the required whitespace CI check passes. Criterion 5 is correctly routed to the macOS follow-up label and is not graded on this host.

Checked

  • Read the complete issue #4935 and PR #5198 discussion, PR head c1e62526c85644b343c279c98129fd02156b7d53, implementation shaders, controller changes, contract tests, and retained-evidence summaries.
  • python3 scripts/tests/test_render_source_face_early_depth.py — PASS (4 tests).
  • python3 scripts/tests/test_render_source_face_order.py — PASS.
  • python3 docs/perf/sun-overflowed-tile-query/test_controller.py — PASS (42 tests).
  • git diff --check origin/master...HEAD — FAIL: CRLF is reported as trailing whitespace across the new nested witness CSVs; git check-attr reports text: unset, whitespace: unspecified.
  • PR checks: whitespace fails; build, perf, fleet, and render-harness jobs were still pending when reviewed.

Test plan the author should run before merge

  • Add the narrowly scoped whitespace attribute, then confirm git diff --check origin/master...HEAD is clean and wait for the required CI checks.

🤖 Reviewed by Codex GPT-5 (review-pr skill)
Escalation: author-agent to address, then re-request review.
Opus recheck required: cross-backend fragment-depth state and the macOS guard need a final pass after the CI fix.

@jakildev jakildev added fleet:needs-fix Fleet reviewer found issues — author must address and removed fleet:reviewing-mac-pool-2 labels Nov 19, 2026
@jakildev jakildev removed the fleet:needs-fix Fleet reviewer found issues — author must address label Nov 19, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jakildev jakildev added fleet:changes-made Agent addressed human feedback — ready for human re-review and removed fleet:amending-mac-pool-2 labels Nov 19, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Addressed feedback:

  • needs-fix: nested witness.csv CRLF fails git diff --check: added whitespace=cr-at-eol to the existing **/witness.csv -text rule in windows-opengl-early-tests/.gitattributes (d742ad4). I used cr-at-eol instead of -trailing-space because it allows only the CR before each newline, so real trailing spaces in those files are still caught. The bytes are not normalized: all 20 CSVs still hash to the sha256 values recorded in the retained evidence. git diff --check origin/master...HEAD now exits 0 (it reported 77,920 lines before). The PR body's .gitattributes line now mentions the attribute.

— worker

@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: cull source-face alpha cutouts per face, force early tests

Verdict: approve

The re-review verifies the sole prior needs-fix: the CRLF exception is scoped to retained witness CSVs, preserves their byte-hash contract, and restores the required whitespace check.

Acceptance (issue #4935)

4 of 5 criteria are established by retained evidence and local contract checks.

Criterion Grade Basis
Hidden shading removed met Witness evidence reports 1.00 invocation per owned sample across all five cases.
Windows GL cut met Debug and Release upper bounds are -93.9% and -94.4%, exceeding the -50% requirement.
Pixels and exact-query behavior met Diagnose evidence reports oracle matches and exact-RGB pre-tree equality across all five cases.
Contract and controller regressions met The source-contract, source-order, and controller tests exist and pass locally.
Metal performance/correctness guard unverifiable The macOS/Metal-only shipped-head run remains routed to fleet:needs-macos-host.

Checked

  • Read the complete issue #4935 and PR #5198 threads, prior review, author response, current head d742ad4d967fca7621b9dc8c8f53606c80efe6bd, and current PR checks.
  • docs/perf/sun-overflowed-tile-query/windows-opengl-early-tests/.gitattributes limits whitespace=cr-at-eol to retained witness.csv files while retaining -text.
  • git check-attr text whitespace -- .../witness.csv reports text: unset and whitespace: cr-at-eol.
  • git diff --check origin/master...HEAD — PASS.
  • python3 scripts/tests/test_render_source_face_early_depth.py — PASS (4 tests).
  • python3 scripts/tests/test_render_source_face_order.py — PASS.
  • python3 docs/perf/sun-overflowed-tile-query/test_controller.py — PASS (42 tests).
  • PR checks: whitespace, shader parity, format, Python lint, header, and instruction checks pass; linux build, perf gate, render harness, and fleet tests are still running.

Test plan the author should run before merge

  • Let the remaining CI jobs complete successfully.
  • Complete the pending macOS guard and diagnose evidence on the assigned host.

🤖 Reviewed by Codex GPT-5 (review-pr skill)
Opus recheck required: this core cross-backend fragment-depth change and its pending macOS runtime guard require the final 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-2 labels Nov 19, 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: cull source-face alpha cutouts per face, force early tests

Verdict: approve

Sonnet flagged cross-backend fragment-depth state and the pending macOS guard. On closer read, I confirm the state transition is safe: face alpha is constant for the whole instance and clips every vertex together; only the no-depth-write/no-discard route forces early tests; and the fallback route remains late-tested and writes fragment depth.

Acceptance (issue #4935)

Criterion Result Evidence
Hidden shading is eliminated Met Retained 128x witness falls from 128 fragment invocations to 1.
Windows GL work is materially reduced Met Five paired arms report a -93.9% Debug and -94.4% Release median change.
Pixels and exact-query behavior are unchanged Met All five diagnostics retain exact path counts, and the full-frame pre/post images have zero RGB delta.
Shader contract and regression coverage are preserved Met Structural checks and mutations cover missing early tests, ungated early tests, restored discard, and dropped/inclusive face culling.
Metal performance/correctness guard Unverifiable here The shipped-head five-pair Metal timing guard and diagnose sequence remains assigned to the needs-macos-host lane.

Checks performed

  • Read the complete issue and PR threads and reviewed head d742ad4d967fca7621b9dc8c8f53606c80efe6bd.
  • Reviewed GLSL/Metal parity, depth-route selection, and Opus-only risks. The patch introduces no cross-frame resource ownership, lifetime, race, allocator, or cache changes.
  • test_render_source_face_early_depth.py: 4 passed; test_render_source_face_order.py: 1 passed; controller tests: 42 passed.
  • git diff --check origin/master...HEAD passed; retained CRLF witness data is covered by whitespace=cr-at-eol.
  • Inspected retained witness, paired timing, diagnostic, and exact screenshot-hash evidence.
  • fleet-build --target IRCanvasStress passed on macOS, and fleet-run IRCanvasStress --auto-screenshot 10 completed cleanly on M4 Max with runtime-compiled Metal shaders; the captured frame was visually clean.

CI and remaining host validation

  • render-harness-tests is red on an unrelated MetalRenderPassBindings compile failure also present on master; the changed source-face regression test passes locally.
  • fleet-tests is red on test_fleet_queue_list.sh, the same baseline failure seen on an earlier master revision; this PR does not modify the fleet implementation or tests. The aggregate gate reflects those two failures.
  • linux-build and perf-gate were still pending at review time.
  • The local Metal smoke proves compile/run correctness only. The needs-macos-host lane should still run the full five-pair performance guard and diagnose on regression.

Human merge authority is preserved.

🤖 Reviewed by Codex GPT-5 using the review-pr workflow

@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 19, 2026
@github-actions

Copy link
Copy Markdown

Perf gate

Head host slug: linux-x86_64-xeon-platinum-8573c-unknown

Perf gate — no class-matched baseline

No capture of linux-x86_64-xeon-platinum-8573c-unknown on the baseline branch is in this head's calibration class (head ref_ms 87.56; a capture qualifies within 1.20× of it, finished at most 14 days before this head started, same matrix and frame count, every cell measured). The next master push that lands on this runner class files one. Gate is informational this PR.

Captures considered:

  • a990fd60f603e872fc1f7886ba7fa10ac223d6fb ref_ms 77.66 — older than 14 days
  • 87c1d6067c42bbf4e5e83d720675c876bbacb0ab ref_ms 79.91 — older than 14 days
  • 8e87859c96d0510bdfabd97838c7dafa79fddd53 ref_ms 82.71 — older than 14 days
  • d94ace876538c293d6fe16f134022f618368d916 ref_ms 77.59 — older than 14 days
  • 0e104317362fae808ba4ee6996fc7279b75b5673 ref_ms 84.81 — older than 14 days
  • 37e07cfd9754389831781205fd3e25ae489c6975 ref_ms 90.72 — older than 14 days
  • 56dff05ff0e4a46f9e1e5f6879a5ee778b2ac615 ref_ms 81.92 — older than 14 days
  • d80f5f9a2abd2b83f5606ac278d0d82b95cdd172 ref_ms 81.54 — older than 14 days
  • 02153359a5e8fdf1429745f474758262c9e3c861 ref_ms 91.85 — older than 14 days
  • c3ea76d802943336f7cc9b92b5fafaa8e9ff3b59 ref_ms 75.28 — older than 14 days
  • 637bc06f012aafe1cb043130d648ae9f998ff558 ref_ms 91.11 — older than 14 days
  • 82cb65a30f95ca772a2f09a0eda5c0bc0239b5a2 ref_ms 87.83 — older than 14 days
  • 5f8a95c1d941d1d36ba7109f91e63563edc70b68 ref_ms 89.94 — older than 14 days

@jakildev jakildev added the fleet:needs-macos-smoke PR needs macos-debug build + smoke-run validation label Nov 19, 2026
@jakildev jakildev added fleet:verified-macos Cross-host smoke passed on macos-debug and removed fleet:needs-macos-smoke PR needs macos-debug build + smoke-run validation labels Nov 19, 2026
@jakildev

Copy link
Copy Markdown
Owner Author

Cross-host smoke OK on macos (fresh checkout + IRShapeDebug --auto-screenshot 10 — build clean, exit 0, ir-run RESULT=CLEAN, 22 screenshots, no shader/compile warnings). Note: the log carries one non-compile runtime line, tagGpuStage: unknown stage name "guiToScreen" (profiler stage registry), not a PR-attributable failure.

@github-actions

Copy link
Copy Markdown

Perf gate

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

perf comparison: 622ec2a → fb0be2f-ci

baseline: /home/runner/work/_temp/perf-baseline/history/linux-x86_64-xeon-6975p-c-03-0-vga/622ec2a4e3d8b8dffae4b249b935dcad3aee257a
head: /home/runner/work/IrredenEngine/IrredenEngine/save_files/perf/fb0be2fbe-ci

host calibration

  • host: linux-x86_64-xeon-6975p-c-03-0-vga (matches baseline)
  • ref_ms: head 70.42 vs baseline 69.88 (load_factor 1.01×)
  • calibration target: 50.00 ms (informational)
  • baseline capture: perf-baseline@622ec2a4e (branch tip); master 4c35a9da0, finished 2026-11-19T04:20:10Z, 0.2 d before the head run, ref_ms 69.88
  • weighting: raw (class-matched capture; load_factor 1.01×; no calibration-scaling entry)
  • attribution: no measured master improvement between capture master 4c35a9da0 and merge base 00b5da049 (5 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) 156637 → 156637 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 443.80 → 453.12 (+2.1%) 1181.69 → 1195.77 (+1.2%)
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 951.46 → 961.34 (+1.0%) 1722.43 → 1728.61 (+0.4%)
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 509.73 → 524.00 (+2.8%) 6897.09 → 6970.36 (+1.1%)
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 1346.20 → 1356.89 (+0.8%) 2038.19 → 2070.16 (+1.6%)

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.83→16.60 48.35→48.10 41.27→41.32 0.76→0.77 41.18→41.40 70.16→70.61 — 0.00→0.00 1.47→1.46 16.91→17.03 14.27→14.41 11.96→12.17 2.68→2.85 0.96→1.00 0.16→0.17 — 6.60→6.70
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1 17.18→17.48 240.15→239.99 179.81→180.44 2.99→3.06 170.41→170.77 113.95→113.42 — 0.00→0.00 1.32→1.30 29.35→29.69 12.71→12.78 10.65→10.15 4.76→4.82 1.02→1.05 0.16→0.16 — 6.31→6.35
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1 15.76→15.76 56.05→56.78 44.23→44.61 6.63→6.65 37.15→37.68 65.54→65.00 1.28→1.32 0.00→0.00 4.28→4.30 40.34→40.95 13.03→13.07 29.54→29.98 4.90→5.03 1.41→1.41 0.15→0.15 0.00→0.00 7.15→7.39
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1 16.32→16.73 389.15→391.25 290.61→293.33 4.67→4.73 267.17→269.81 126.93→127.66 1.33→1.33 0.00→0.00 1.32→1.34 38.50→38.31 13.89→14.21 11.22→11.00 4.18→4.42 1.17→1.18 0.14→0.15 0.00→0.00 6.09→6.27

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 220.332 → 220.488 (+0.1%)
RENDER ComputeLightVolume 25.801 → 26.146 (+1.3%)
RENDER CanvasToFramebuffer 14.533 → 14.813 (+1.9%)
RENDER ComputeSunShadow 12.367 → 12.436 (+0.6%)
UPDATE FogRevealEval 8.528 → 8.978 (+5.3%)
RENDER BakeSunShadowMap 5.893 → 5.938 (+0.8%)
UPDATE PropagateTransform 3.649 → 3.745 (+2.6%)
UPDATE LuaWaveStateToOffset 2.998 → 3.352 (+11.8%) ⚠

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 722.030 → 722.799 (+0.1%)
RENDER ComputeSunShadow 25.501 → 25.853 (+1.4%)
RENDER ComputeLightVolume 23.044 → 22.534 (-2.2%)
RENDER CanvasToFramebuffer 13.772 → 13.724 (-0.3%)
UPDATE FogRevealEval 7.590 → 8.205 (+8.1%)
RENDER ComputeVoxelAO 6.878 → 6.974 (+1.4%)
RENDER BakeSunShadowMap 5.167 → 5.161 (-0.1%)
RENDER LightingToTrixel 4.889 → 4.954 (+1.3%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 236.216 → 237.974 (+0.7%)
RENDER ComputeSunShadow 35.942 → 36.292 (+1.0%)
RENDER ComputeLightVolume 24.511 → 24.616 (+0.4%)
RENDER LightingToTrixel 18.975 → 19.446 (+2.5%)
RENDER CanvasToFramebuffer 14.572 → 15.023 (+3.1%)
RENDER BakeSunShadowMap 8.014 → 8.275 (+3.3%)
UPDATE FogRevealEval 7.175 → 7.783 (+8.5%)
UPDATE PropagateTransform 4.643 → 4.834 (+4.1%)

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

pipeline system avg ms (base→head)
RENDER SingleVoxelToCanvasFirst 1093.643 → 1102.508 (+0.8%)
RENDER ComputeSunShadow 34.490 → 34.192 (-0.9%)
RENDER ComputeLightVolume 24.729 → 24.788 (+0.2%)
RENDER CanvasToFramebuffer 13.456 → 13.715 (+1.9%)
UPDATE FogRevealEval 7.599 → 7.179 (-5.5%) ↓
RENDER ComputeVoxelAO 5.789 → 5.745 (-0.8%)
RENDER BakeSunShadowMap 5.163 → 5.254 (+1.8%)
UPDATE PropagateTransform 4.736 → 4.863 (+2.7%)

@evin-desktop-claude-app evin-desktop-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 19, 2026
@jakildev
jakildev merged commit 4739533 into master Nov 19, 2026
15 of 19 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-claude Implementation last authored by Claude; route review to Codex fleet:authored-on-windows PR was opened from a Windows (MSYS2) host fleet:checks-red Info only: approved PR whose head has a failed check of its own; reconcile R12 adds and removes it fleet:needs-macos-host Remaining work needs a macOS host; non-mac panes skip (dispatch, claim, amending-claim) fleet:verified-macos Cross-host smoke passed on macos-debug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

render: plan the GL exact overflowed-tile query cost (18-23x the Metal query term)

1 participant