Runtime docs: the RADV partial-copy gap names where its cells lay and the other sizes measured

The known gap of a copy from a buffer into part of a texture on a Radeon 780M under RADV
(Mesa 26.2.6) now says where the stale 4 x 2 cells lay at 1920 x 1080, in its own numbers:
refilling rows 864 to 1079, rows 1026 to 1058 (through the runtime, job m3-max-76165, both
archives; the plain Vulkan repro, job m3-max-76256: rows 1042 to 1058). It adds the plain Vulkan
repro's other sizes, the bottom 216 rows refilled 4,000 times each (job m3-max-76256): at
1920 x 1088, 4 stale in rows 882 to 890; at 1024 x 1024, 3 in rows 818 to 826; at 2048 x 2048,
none.

The form's steady price, measured in the rung-1 timed check (copy_from_buffer of a whole
1920 x 1080 level, 16 a command buffer, its GPU span; replace_region of a whole Shared
texture, 16 a command buffer, its upload's GPU time; old form against new, alternated in one
job), which the form's commit, already made, does not carry:
- RTX 3090: every row within 0.3% (job m3-max-76188).
- Iris Xe: every row within its spread; the RGBA8 upload's p10, its noisiest row, 132.75 us
  against 132.78, 0.02% (job m3-max-76213, 4 pairs of 200 rounds).
- Radeon 780M (job m3-max-76214, 4 pairs of 200 rounds, mean of each pair's p10): R8 upload
  95.05 us against 96.55, +1.6% (about 1.5 us, slower in every pair); RGBA8 copy 216.9 against
  219.1, +1.0%, slower in every pair; RGBA8 upload +0.7%; R8 copy +0.2%. All within 3%.

README only.
This commit is contained in:
Anees Iqbal committed 2026-11-27 00:29:20 -08:00
1 parent bfbc89b585
commit 779fd31192
1 file changed
+7 -4
+7 -4
View File
@@ -3053,10 +3053,13 @@ while the driver's exit handler waited on a lock, with every runtime thread alre
buffer into part of a one-sample colour texture (`copy_from_buffer`; `replace_region` of part
of a texture records the same copy, not measured) can leave one aligned 4 x 2 cell of the
texture's earlier contents, in about 4 of 1,000 copies whose region covers the texture's last
56 rows. A copy of a whole level and slice does not, as it discards the earlier contents first.
A driver fault: the same copy in plain Vulkan does it, and the validation layer, with its
synchronization checks, reports nothing on the same calls refilling the whole texture. Other
sizes and formats of partial copies are not measured.
56 rows; refilling rows 864 to 1079, the cells lay in rows 1026 to 1058. A copy of a whole
level and slice does not, as it discards the earlier contents first. A driver fault: the same
copy in plain Vulkan does it, and the validation layer, with its synchronization checks, reports
nothing on the same calls refilling the whole texture. At 1920 x 1088 and 1024 x 1024, refills
of the bottom 216 rows left such a cell 10 to 18 rows below the band's top in 4 and 3 of 4,000;
at 2048 x 2048, in none of 4,000 (the plain Vulkan repro). Other sizes and formats of partial
copies are not measured.
## Compute pipeline states