Skip to content

docs(prds): PRD-538 shadow maps redraw only what streamed in - #460

Closed
jonit-dev wants to merge 3 commits into
developfrom
docs/prd-shadow-partial-redraw
Closed

jonit-dev wants to merge 3 commits into
developfrom
docs/prd-shadow-partial-redraw

Conversation

@jonit-dev

@jonit-dev jonit-dev commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

TL;DR: Streaming invalidations re-render Machinefall's whole 4096² shadow map 200–280 times per walk (against 5 window moves), which keeps PRD-478's walking GPU p95 at 9–12 ms early in the route. This PRD redraws only the dirty pages an invalidation names, with depth identical to a full redraw.

PRD: docs/PRDs/open-world/PRD-538-shadow-maps-redraw-only-what-streamed-in.md · PRD-478 (#437) AC-2 depends on it.

Checklist

  • Phase 1: dirty pages from invalidateRegion; stats report pages redrawn.
  • Phase 2: partial redraw (setViewOffset, viewport, scissor, depth reset, sub-frustum culling); native proof.
  • Phase 3: Machinefall timing pairs and blind A/B plus pop series.
  • AC-1 depth equivalence · AC-2 shadow GPU p95 falls · AC-3 no visual loss.

Checks run: pnpm check:docs exit 0; doc-link and evidence specs pass. Pushed with TN_SKIP_PREPUSH=1: fresh worktree with no package dist; Markdown only.

Streaming invalidations re-render Machinefall's whole 4096 shadow map
200-280 times per walk, which keeps PRD-478's walking GPU p95 above
8.3 ms early in the route. Redraw only the dirty pages instead.
@jonit-dev jonit-dev mentioned this pull request Oct 8, 2026
2 tasks done
@jonit-dev

Copy link
Copy Markdown
Contributor Author

Merged into #464

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant