Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2509"
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-27T21:40:12Z.
A merge bundle asked for by @aslan2142: eight open runtime PRs merged onto
main39f52f39cin one branch, with their conflicts fixed, so they can be reviewed and merged together. No new code beyond the conflict resolutions. Each PR keeps its own commits and authors (merge commits, no squash).Claims: this bundles the PRs' own items, it claims nothing new: RT-PLACED-DEFER-STAGED (#2020), RT-TITLE-PARTIAL-MIPS (#2166), RT-HOST-IMAGE-COPY-SWITCH (#1851), RT-TITLE-WINDOW-RETIRE (#2465), RT-TITLE-HASH-WC-STREAM (#1705), RT-CONSOLE-VSHARP-MEMO (#2117), RT-TITLE-TEXTURE-REFRESH-ENVELOPE-AND-WRAP (#2012), STAGED-COPY-OWN-WAIT (#407).
Depends on: #2020, #2166, #1851, #2465, #1705, #2117, #2012, #407 (merging this one merges them; the separate PRs can then be closed).
What was merged, in order
LEONIDA_HOST_IMAGE_COPYswitch, auto off on NVIDIAruntime/CMakeLists.txtruntime/shims/d3d12_vulkan_device.cpp(3)How the conflicts were fixed
runtime/CMakeLists.txt: it and #1851 each add a test at the same place (title_texture_refresh_test,host_image_copy_policy_test). Both are kept.d3d12_vulkan_device.cpp, three places:DeviceStatefields: main'stitle_upload/title_upload_mutexare kept, next to #407'sstaging_queueand newstaging_copy_queue, with #407's comment above the staging fields.Resource::staged_copy: #407's queue choice (copy family for colour, the graphics family's last VkQueue otherwise) and itswait_submitted()instead ofidle(). main had made its staging queue synchronous (make_synchronous(), from #2098): both new queues keep that, so a copy is still submitted inline and then waited for, now on its own submission only.title_upload) is kept, and both staging queues are reset.Tests
On an RTX 4070 Laptop GPU 8 GB (NVIDIA 621.40, Windows 11), RelWithDebInfo, Ninja:
ctest, all 509 tests (-j 4): 506 pass, 3 fail. None of the 3 comes from this bundle:dxgi_waitable_latencypasses when run alone (-j 1): a timing test disturbed by the parallel run.xbox_presentandd3d12_set_descriptor_heapsfail the same way on plainmain(built from the same tree without the bundle). They were already failing before it (MEASURED).d3d12_existing_heap(#2020, #1705),xg_xs(#2166),host_image_copy_policy(#1851),title_texture_refresh(#2012),d3d12_staged_copy_wait(#407),d3d12_unmapped_vsharp(#2117), the title-window tests of #2465.python -I scripts/check_no_game_data.pyon the 27 changed files: clean.mainae19dea64; the 12 newermaincommits touch nothing underruntime/shimsorruntime/src) ran a 900 s world run with the same recipe and caches as a plain-maincontrol:gpu-stalllines (GPU work over 4 s) went from 0 to 30 in the same window, 13 with #407 alone. That fits the GPU becoming the limit once the CPU waits are gone, but is not settled yet (n=1 each).AI-assisted (Claude Code, Claude Opus 5.5). Tested on an RTX 4070 Laptop GPU 8 GB, NVIDIA 621.40, Windows 11.
🤖 Generated with Claude Code