mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #2098] [MERGED] Improve post-load GPU memory and pipeline handling (RT-POST-LOAD-GPU-MEMORY) #2105
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2105
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2098
Author: @Moriz82
Created: 11/25/2026
Status: ✅ Merged
Merged: 11/26/2026
Merged by: @aslan2142
Base:
main← Head:pr/upstream-1125📝 Commits (10+)
9f98dccImprove post-load GPU memory and pipeline handling (RT-POST-LOAD-GPU-MEMORY)bffc639Merge main into RT-POST-LOAD-GPU-MEMORY (#2098)86554c8Fix the build of three test targets and a BOM in a translator test6100d3cruntime/README.md: name the 29 switches #2098 readsd86ac98Fill a never-filled mapped texture before its first submission (async refresh)b83ae01Build pipelines through main's PipelineCompiles path again, not #2098's pre-pass7b1d71eLeave the layer's below-arena V#s alone in the table scanfb60a1cd3d12_big_compute_warmup: run without the live warm-up limit1f64d91xg_xs_test: a render target without a mode takes main's general layout model75f6890Keep the storage view's pNext chain alive for the 2D-array mirror view📊 Changes
113 files changed (+16735 additions, -972 deletions)
View changed files
📝
docs/buffer_bounds.md(+5 -0)📝
docs/d3d12_vulkan.md(+165 -9)📝
docs/design.md(+3 -2)📝
docs/gameinput.md(+2 -1)📝
docs/shader_library.md(+17 -4)📝
runtime/CMakeLists.txt(+74 -5)📝
runtime/README.md(+30 -0)📝
runtime/shims/d3d12_com.cpp(+181 -20)📝
runtime/shims/d3d12_com.h(+15 -0)➕
runtime/shims/d3d12_compile_helper.h(+443 -0)📝
runtime/shims/d3d12_compute_input_probe.h(+13 -3)📝
runtime/shims/d3d12_geometry_views.h(+3 -0)📝
runtime/shims/d3d12_pipeline_compile.h(+161 -25)➕
runtime/shims/d3d12_precompile.h(+45 -0)📝
runtime/shims/d3d12_title_buffer_windows.h(+40 -0)📝
runtime/shims/d3d12_title_image_upload.h(+7 -3)📝
runtime/shims/d3d12_vulkan_device.cpp(+3379 -229)📝
runtime/shims/d3d12_xs_alloc_size.h(+48 -2)📝
runtime/shims/d3d12_xs_device.cpp(+244 -65)📝
runtime/shims/d3d12_xs_list_values.h(+3 -1)...and 80 more files
📄 Description
This draft follows #1723. When the shared Vulkan buffer arena fills, an eligible committed buffer can now use a dedicated allocation. An earlier Proton run stopped during upscaler initialization when no arena slice fit the requested buffer.
Claimed as RT-POST-LOAD-GPU-MEMORY. Coordination issue
Changes
Independent review work overlaps the fixed-count and counted indirect mesh paths and pipeline compile workers. Fixed-count mesh dispatches · Count-buffer mesh dispatches · Pipeline compile workers
Verification
db1a22d29, LinuxThe public commit still needs a title boot. Native Windows and playable world rendering remain unverified.
GPU used for the source integration was an NVIDIA GeForce RTX 4070 on Linux under Proton. Public-head runtime checks are in progress.
Contributors include Plaaasma and ivanepsilondelta. AI-assisted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.