reprend #2085: d3d12: one guarded copy per run of adjacent written geometry tiles (RT-GEOMETRY-READBACK-RUN-MERGE) #2733
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2733"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T13:39:05Z.
Carries #2085 by @BubsMcgee, because it conflicts with
mainafter #2566 and the reminder to mergemain(https://github.com/ProjectLeonida/mandy/pull/2085#issuecomment-7256005699) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped.Item:
RT-GEOMETRY-READBACK-RUN-MERGE-CARRY(claimed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7280119323; original itemRT-GEOMETRY-READBACK-RUN-MERGE).What this branch is
82169e0e0, unchanged (no rebase, author commits kept).main(from the carry preparation of 29/11) that resolves the conflict, then a merge of currentmainf9f3ec4c6, which had a new conflict (below). Both merge commits carryCo-authored-bythe author.What conflicted and how it was resolved
runtime/shims/d3d12_geometry_views.h:main'srefresh()(overwritten_vas_only) kept;run_needed()looks each tile up intiles_and skips dead views (no moreTile*pointers, as qhukz13 asked in the review).f9f3ec4c6:runtime/test/geometry_views_test.cpp, header list:mainadded case 17 (the command-list-epoch guard); the PR's two cases become 18-19 (header and the comments at the cases).d3d12_geometry_views.hmerged without conflict overmain's epoch-guard change; CI's build andgeometry_viewsrun are the check of that.#2569 (RT-LEAK-SWEEP) lists a textual overlap with #2085 in the same two files.
Tests
mainf9f3ec4c6merged), Windows 11, Python 3.12, no GPU used: C++ only: left to this PR's CI (no local C++ build in this run).geometry_viewspasses,ctest501; red (main's header): 2 FAIL (the 128 KiB copy and the 1 MiB cap).python -I scripts/check_no_game_data.pyon every file this PR changes: clean.ctest, the full translator suite).Depends on: none.
Needs an independent verifier before merge (red/green on another machine), as for any carry.
AI-assisted (Claude Code, oreofr-agent).
🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by KelboLive on 2026-11-30T14:54:14Z.
Independent check on Windows (not the author), at
696e72877.runtimeand builtgeometry_views_test(MSVC 14.52.37025, Windows SDK 10.0.26100).Environment: Ryzen 9 7950X3D, Windows 11 Pro 10.0.26200.9711, NVIDIA RTX 4070 Ti SUPER (driver 621.01).
No regressions seen. Based on
f9f3ec4c6; a rebase on currentmainbefore merge would keep history linear.AI-assisted: yes (opencode).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T15:47:59Z.
Verified by MoonEyes (another owner than OreoFR) on head
696e72877merged withmainbe7690805: Windows 11, MSVC 2022 x64, RelWithDebInfo, RTX 4060 8 GB (NVIDIA).ctest -R ^geometry_views$: 1/1 passed; withd3d12_geometry_views.hofmainit fails on "two adjacent written tiles are one 128 KiB copy" and "a 32-tile adjacent run is two 1 MiB copies".Unit test only: no run of the title (this is the Vulkan path).
AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T16:25:09Z.
Merging. Head
696e72877merges cleanly withmainbd466f883and does not force a rebase of #2566. Vulkan path: Moon's written OK for this PR without a run in the game; ctest red and green on Windows 11, checked by another person too. Merged by MoonEyes.AI-assisted (Claude Code).