runtime_lane::attachment_reads:
- Moved counts attachment_read_clears; check() takes a cleared copy for a
read after a barrier, as a split or a snapshot, and asks for a shadow copy
only where none of those served it.
- a_draw_after_a_barrier_at_the_pass_start_reads_the_clear: the texture of
its own image, a whole one-level, one-slice texture the pass clears in
place to whole codes, reads its copy cleared to the clear in the pass's one
instance (one cleared copy, no split, one instance begun) wherever the
device does not snapshot it.
- a_draw_after_one_that_wrote_behind_a_pass_start_barrier_reads_what_it_wrote
(new): the barrier, draw A over [8, 16)^2, then the read through READ_AREA:
A's red inside A's block, the clear around it, and no cleared copy, as the
copy after the instance A drew in holds. A cleared copy would read the
clear inside A's block, so this is the negative control of the rule that a
copy is cleared only before any draw of the pass.
- started_pass takes the optional draw A.
runtime_lane::attachment_read_costs::pass_start_clear_read_costs (new,
ignored, release): 60 passes in one command buffer over a 3840x2400 private
BGRA8Unorm target, each loading Clear and storing, its first command a
render-target barrier from the fragment stage to the fragment stage, then a
quad over a quarter of the target sampling it (psb_sample) and three blended
quads sampling other textures; prints GPU and CPU time per pass and per pass
the splits, instances begun and texels copied in. It reads no counter the
tree before the runtime change lacks, so it runs on both.
Unverified: not built or run yet (potluck jobs next).
(cherry picked from commit 0a45d4a84cdf34cad9f11d235025df3d561151a2)