upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-30 07:14:11 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-30 07:14:11 -0500
commit716fc15d796281d0c8370b981ffa8af7f9eb08eb (patch)
treefe1f552d4ccbcdf00dc0ad47c7675e80df13fe71 /runtime/src/main.cpp
parentec1d858463d01a2e81dc38a2e7e228066dda005a (diff)
The texture queue keeps its slots by the frame they fall due: a pass takes those without a walk over all
A heap keeps some 25,000 slots waiting for their memory in the queue of textures picked by index, of which 100 to 470 fall due a frame, and every pass walked all of them twice under the queue's lock (the due ones, then the census for the frame line): 2.6 % of the thread that records the list ahead of each frame, more than any other function of its textures' part (profile ahead-d214, the merged build). The queue now keeps a set by due frame with every change of a slot's due frame, and the counts of slots waiting for their memory and uploaded in part with every change of what a slot waits as; the order a pass serves them in is the writes' as before. AI-assisted (Claude). Tested on an RTX 4060 Ti, driver 616.64 (Windows 11): descriptor::host::tests (49) and the queue tests pass; the pass's time is read in a standing run next. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions