upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorOreoFR <29048345+OreoFR@users.noreply.github.com>2026-11-27 14:04:00 +0100
committerOreoFR <29048345+OreoFR@users.noreply.github.com>2026-11-27 14:24:29 +0100
commitd42c37335b2f10e39b3e06dbc8cffe00e5178b52 (patch)
tree227af49c085eee3fca19b6692bbf9813729a6c6a /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parentec91d695ca5ffebbf327c2127ea49d89547a4e81 (diff)
d3d12: LEONIDA_ASYNC_MIN_BYTES_GRAPHICS, a separate async threshold for graphics (RT-ASYNC-MIN-BYTES-GRAPHICS)
With LEONIDA_ASYNC_PIPELINES=1, graphics and mesh pipelines (all their stages) now take LEONIDA_ASYNC_MIN_BYTES_GRAPHICS when it is set, and LEONIDA_ASYNC_MIN_BYTES otherwise, so nothing changes while it is unset. Compute keeps LEONIDA_ASYNC_MIN_BYTES. 0 makes every graphics pipeline asynchronous. One startup line states both thresholds; text that is not a number is ignored with a log line. Thread dumps from a retail run showed the draw thread building lazy graphics variants under the 1 MiB threshold in place, 2.5-11 s each, back to back, with no present for about 100 s. A skipped draw costs one draw. The image needs the small lighting and post compute programs, and those are still built in place. Tests: async_pipeline_size_test covers the per-kind decision and the unset fallback; d3d12_pipeline_workers_test --async-graphics-zero / --async-graphics-unset (new ctests) hold the compile worker with compute over its threshold. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions