A block that asks whether its IOSurface needs a device cache was answered
from the runtime's in-place report, parsed as text: the check's verdicts
alone. What only the texture's making decides never reached the answer: rows
at a pitch no linear image of the GPU's takes, a place or import no image
takes, texels past the pages. Such surfaces stayed over their pages, and each
of their textures was the runtime's shadow, copied in at every command
buffer's first use and merged back after its writes.
A probe walk on the 780M (um870, macOS 26.7.2, m3-max-24453) logged 428
surface textures refused for pitch, over 110 blocks answered in place: RADV
lays a linear image's rows at multiples of 256 bytes, CoreAnimation's are
multiples of 64 (3904, 3552, 640) and CoreVideo's 1920 and 1984. A device
cache, laid out at the GPU's pitch, holds them in place.
The answer over the view is now the runtime's own placement for each plane
(Buffer::texture_placement_with_iosurface_plane, the making's decision):
a texture over the plane that only reads, and one that takes every access.
The layout gives no texel width, so each plane is asked as each of Metal's
widths its rows' texels divide into. It takes a cache where no width lies in
place, none is pending, and some width's texture is a shadow a cache holds
in place. A texture the device makes no image in place of over any memory
(its format and usage, more levels than one) leaves the surface over its
pages. The two paths that answer before any import keep the report's
verdicts until the runtime answers there too.
What the guest sees changes only in speed: more surfaces take the device
caches they already took where the verdicts refused.