diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 17:21:25 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 17:21:25 -0500 |
| commit | bffc6395b11afb042c9d3c69c282f3729206f9b6 (patch) | |
| tree | 0933ea2a1673aeeea6e005c3e885b1af7dd842a5 /runtime/test/gameinput_test.cpp | |
| parent | 9f98dcc617df5b21eb66b48a289914b551769029 (diff) | |
| parent | d3b8251bc390418cdbc1f2d30727b6b31d889cfa (diff) | |
Merge main into RT-POST-LOAD-GPU-MEMORY (#2098)
main d3b8251bc brings #1889 (large compiles within a memory budget), #1987 (unbound T# reasons), #1759, #1860
and others under this branch. Conflicts:
- d3d12_vulkan_device.cpp, includes: both (pipeline_cache_journal.h and large_module_gate.h).
- d3d12_vulkan_device.cpp, fix_console_slot's T# branch: main's form (counts refused_reasons, #1987), with this
branch's comment on why a slot that is no T# is nulled. The same reason count is added to console_tsharp_check,
the GPU console-heap path's T# registration, so its log line has the reasons too.
- d3d12_vulkan_device.cpp, the heap log: both blocks (the release filter / GPU heap lines and main's "unbound T#s by
reason" line).
- d3d12_vulkan_device.cpp, PipelineState::build_compute: this branch's body (build_compute_pipeline, journal, compile
helper) behind main's entry: the `Work` argument and enter_build, so a large module takes its place at
big_compile_gate() before variants_mutex_, as #1889 requires (a thread that waits for memory holds no PSO lock).
build_compute_pipeline's own big_compile mutex now follows main's BigCompiles: taken only with
LEONIDA_SERIAL_BIG_COMPILES=1 (it was on by default here), so the default is main's budget, not one at a time.
- d3d12_vulkan_device.cpp, queue_locked: this branch's Build-state jobs (claim, defer, finish). main's
`requested_`/`publication` mechanism they replace is not kept. build_variant passes Work::speculative for a
"warmup" build and Work::demand otherwise, as main's queue_build did.
- vulkan_replay.h, ComputePipeline: main's comment on `large`, and this branch's `await`.
- vulkan_backend.h: this branch's LEONIDA_SUBMIT_ASYNC block, with main's lock order in the state_mutex_ comment
(state_mutex_ -> pipeline_mutex_ -> resource_mutex_ -> tracker_mutex_ -> submit_mutex_).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions