upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/xma2_decoder.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-28 04:49:02 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-28 04:49:02 -0500
commitef6498046d2914696c2fc350222ab068475e69c6 (patch)
tree0bb46097693590f217000efc3fb7b4a259cf6252 /runtime/src/xma2_decoder.cpp
parent42ff296c071de0a5a39bb15a68b9cbec89369288 (diff)
Diagnostics for the card's time: programs left out in turns, the batch pass as a command of its own and without its wait, dispatches by size, more kinds listed
- LEONIDA_AB=<s>,LEONIDA_SKIP_TRY_A[,_B,_C] with LEONIDA_SKIP_TRY_A=<hashes>: the pipelines of those shaders are left out while the switch is on, so one run says what they cost in the frame. A timing run cannot: a command's time there runs from the end of the command before it. - The pass that clamps a batch of indirect records is a command of its own in a timing run ("clamp batch"); its time was the next execution's. - LEONIDA_AB=<s>,LEONIDA_EXP_BATCH_NO_WAIT and ..._WAIT_SOURCES: that pass without its wait for every earlier shader write, or waiting only for the buffers it reads (timing only). - A line with the title's direct dispatches by the groups they run, and LEONIDA_GPU_TIMING_KINDS=<n> lists so many kinds instead of forty. What they measured (RTX 4060 Ti, Series X profile, 1440p, standing at the waterside save; A/B in turns of 3.5 s, fitted with a level for every stretch of one view of the idle camera): - left out, CS_ProjDecalReduceClassification_Scalarized 1f1fbd86759b3da2 makes the frame 2.3 ms shorter (+-0.55; its line of the timing runs 2.9 and 3.1 ms), the two CS_ShadowRenderTiledCascades programs be6ce5d849d51127 and 922e1d0ee1e19a85 together 2.9 ms (+-0.56; lines 2.5), CS_ProjDecalResolve c4183d3cbee28e8e with CS_GenerateShadowMasks_HairOnly 0a5ecfee6b79e13b 0.45 ms (+-0.57; lines 1.0): for these the lines are what they cost; - 1,150 batch passes a frame take 4.8 ms of a timing run's frame; without the wait +0.3 ms (+-0.3), waiting for the sources only -0.1 (+-0.3): the wait is not what a pass costs; - 1,520 to 1,660 direct dispatches a frame: 46 % of one group, 19 % of 2 to 16, 19 % of 17 to 256, 12 % of 257 to 4,096, 4 % of more; 82 % with a program that can store to buffers. In a timing run the 830 that take under 5 us each are 0.9 ms together, the 15 kinds over 200 us 6.6 ms. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions