Files
reims-vgpu/crates
Anees Iqbal 3ab03545a0 🐛 Correctness fix: a widened shape keeps the fill it owes
A shape in place over a surface's pages owes a fill from the cache's buffer
once a write through another shape of its plane reaches the buffer, which then
holds bytes the pages lack. A texture made over such a shape with a usage its
image in place lacks moves it onto an image of the platform's own (a widen),
and the widen copied the image in place into the new image and promoted it as
copied, which cleared the fill the shape owed: the new image held the pages'
older bytes, and the shape's textures read texels without that write until
another write covered them, with nothing refused or counted.

A widen of a shape owing a fill now takes no copy of its image in place and
leaves the new image owing the fill, which the shape's next use makes from the
buffer. For the guest: after a write through one texture of a surface's plane,
a texture of another shape of that plane, in place and then widened by a
texture of a new usage, reads the write. Shapes lie in place on hosts of one
memory (the M3, Iris). Found by reading (audit Z1); the fake platform's test
writes through the plane's storage shape, widens its in-place shape, and finds
the next use filling the moved image from the buffer, with no copy of the
image in place.
2026-12-03 02:33:18 -08:00
..