rt README: the Iris Xe lays a linear image's rows at the row itself

The known gap on textures over buffers named NVIDIA's (128 bytes) and AMD's (256) linear row
rounding. bugcheck measured the Iris Xe (ms01, ANV, not exclusive): a raw LINEAR
R8G8B8A8_UNORM image of SAMPLED|STORAGE has rowPitch 9792 at 2448x3264 and 15536 at 3884x2576,
the row itself (m3-max-61686), and the runtime's own linear image, under each usage the answer
tries (read, read+render target, read+write), pitches at the row at every width from 1 to 8192
(m3-max-61688), so minimum_linear_texture_alignment(RGBA8Unorm) answers 4 there. A pitch
rounded past the row is copied on that device; the sentence says so.

Doc only.
This commit is contained in:
Anees Iqbal committed 2026-11-20 21:44:38 -08:00
1 parent 06a35ed9e4
commit 36e763e80e
1 file changed
+3 -1
+3 -1
View File
@@ -1443,7 +1443,9 @@ made, with no lock, and never rewritten for layouts.
Metal does not make, counted (`Metrics::over_copies`). A program that rounds its pitch past the
device's own (`Device::minimum_linear_texture_alignment`), or offsets its texture off the
image's memory alignment, takes them: NVIDIA lays a linear image's rows at the row
rounded to 128 bytes, AMD to 256, so a pitch rounded to 256 is copied on NVIDIA. A render
rounded to 128 bytes, AMD to 256, so a pitch rounded to 256 is copied on NVIDIA; the Iris Xe
lays them at the row itself (the answer is the texel's bytes), so a pitch rounded past the row
is copied there. A render
target over a buffer is copied on NVIDIA, whose linear tiling does not take it in place. A
render target whose advertised subresource ends past its own rows or its buffer is copied too:
llvmpipe (lavapipe) advertises a linear image's height rounded up to 4 rows and stores whole