upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-27 11:05:37 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-27 11:05:37 -0500
commit4a7ba3fa52cb33dea2200653eb22b5856122e14a (patch)
tree9367464d4c31a25105bf345f6c900cd4026bea57 /tests/test_run_gpu_tests_python_assembler.py
parentd011282a7da22d56cd687b48be262a2993a51f47 (diff)
Title waits for shader writes: left out where the list has nothing to wait for (LEONIDA_BARRIER_MERGE=1, off by default)
A title barrier on a buffer, its barrier groups and its pipeline syncs each become a barrier on every resource in the host list: the title's buffers have host copies that no host barrier can name. The card may take each for a full wait, also between passes that only draw into their targets. With the switch such a wait is not recorded where the host list has had one and nothing recorded since can write through unordered access: no compute pipeline bound for a dispatch, no pipeline with a stage that stores to a buffer or a texture (or whose code is not known), no clamp of ours, no upscale; the first one in every host list is always recorded. Translated shaders say whether their code has an image store or atomic (Translated::writes). The frame line counts the waits recorded, those left out, and with the switch off those that could be: one run without it tells what there is to gain. LEONIDA_AB can name the switch. After felicienradio/cold-project-vi 1141d35 and 5044b98 (vitutu, from ZigZagBoi1/ScarlettPort; GPL-3.0-or-later): VICTORY_BARRIER_MERGE and its image_stores. That tree gives no frame time for this change alone (its whole pack: 10-14 fps on a Ryzen 7 9800X3D and RTX 4070 SUPER), so it is off by default here. Test: the decision, and that a new list, a clamp and a reset are waited for again. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions