Every list that read a title-written texture through a table recorded the copy of its staging buffer into the host texture, changed or not: run perf7 counted 3,195 texture copy commands in one frame for 149 textures (a 64x64x32 R16 array 24 times, a 512x512 BC7 18 times), 17 ms of GPU time, the largest single GPU item. A list now only defers the texture (staging and host texture). At submission the textures of all its lists are brought up to date once, and those whose memory changed are copied by the submission's own upload list (the one heap-indexed textures already had), which runs first. For memory the change journal follows, a flagged page uploads the texture only if the texture's own bytes changed (a 64 KiB page holds other data too). As for heap-indexed textures, a title copy into texture memory recorded in the same submission shows from the next one on. Test: two lists of one submission upload a texture once, the next submission not at all, and again once the title writes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23a4b62bbb
·
2026-11-25 06:34:36 +01:00
History