upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/opus_decoder/src
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 18:05:25 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 18:05:25 -0500
commitb83ae01f5c16165a27c345adab88c8e189a6408a (patch)
tree75020bf7ddc849d5fe0853772d188dffea2a9e1c /runtime/opus_decoder/src
parentd86ac9813370b06493286ba3c6f33d438ccc89e9 (diff)
Build pipelines through main's PipelineCompiles path again, not #2098's pre-pass
At the maintainers' decision, main's compile path wins over #2098's second one. #2098 made every lazy PSO asynchronous (async_build = true) and built what a submission needs in a pre-pass of VulkanQueue::execute, one pipeline after another on the submitting thread, with a per-variant state machine (replay_get / replay_await) and a wait budget (LEONIDA_PIPELINE_WAIT_MS, LEONIDA_PIPELINE_WAIT_FRAME_MS). That bypassed PipelineCompiles and PipelineWorkers (parallel compiles with resource_mutex_ released, #1742) and the LargeModuleGate budget (#1889), which d3d12_pipeline_workers(_eager) and d3d12_big_compute_* check. Removed: the pre-pass (collect_pipeline_awaits, await_pipelines, PipelineAwait, ComputePipeline/GraphicsPipeline:: await), PipelineState's Build states, replay_get/replay_await, set_pipeline_build_hook, the wait budget and its 10 s line, and d3d12_pipeline_wait_test, which tested only that. PipelineState is wired as on main again: async_build = LEONIDA_ASYNC_PIPELINES, queue_build for asynchronous builds, build_compute / variant through PipelineCompiles otherwise. Kept from #2098, adapted to main's path: - the record-time build request (request_pipeline_build): queue_build without counting a skip; - compile-helper deferral: a compute build the helper is still making publishes nothing, so its next use asks again; - big warm-ups left to their first use while the title submits (LEONIDA_COMPUTE_WARMUP_LIVE_MAX_BYTES): src/pipeline_wait.h keeps only the last-submission time this reads, noted by VulkanQueue::execute. docs/d3d12_vulkan.md, "Pipelines still being built", says what is left. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/opus_decoder/src')
0 files changed, 0 insertions, 0 deletions