A storage is one Vulkan image and its memory, with what the guest's layout of it is: its address, its levels and
layers, each level's block height, the layer stride, the pitch of a pitch linear one, the sample layout and the
scale. It holds the layout and the last stage and access of each subresource (a level of a layer), where a Surf
holds one for the whole image now. It counts the views that use it.
A Surf (a texture, a render target, a storage image) is a view of a storage: its first level and their
number, its first layer and their number, and its view format. Its attachment view (att) and its sampled views are
views of that range of the storage's image. What the code asks of a Surf now (its address, its size, wgen, its
memory checks) stays on the Surf. What is the image's (img, mem, layout, stage, access, the takes) moves
to the storage.
At first each Surf has a storage of its own, so the step that brings the storage in changes no behavior.
Made from docs/dev/one-image.md at 69237645142c. GPL-3.0-or-later.