The resolve image moves away from UNDEFINED at each pass, so whatever it held from an earlier pass
is discarded. The copy back must therefore cover only the pass's render area, or it would write
stale texels over the buffer. It does: the region is Pass::reach from the origin, where the
resolve writes every texel.
every_device_resolves_a_loaded_pass_into_a_shader_read_texture_over_a_buffer now checks this on
every row:
- The host refills the buffer with 0xee, and a 300 x 300 pass (renderTargetWidth and Height)
resolves into the texture.
- The 320 x 320 texels of Vulkan's render area (300 rounded up to pass::REACH) read the clear
within one code.
- Every other texel byte, and every byte past the rows, keeps 0xee.
- Through the resolve image, the copy is 409,600 bytes.
Docs: the README's two Render encoders paragraphs, RenderPassKind::ResolveUsage and
resolve_attachment's doc now say exactly which view stays refused. It is a view of a texture in
place whose linear image takes no attachment usage. Where the linear image takes the usage (the
first fix, 7193df2244), resolve_attachment views the view's texels through attachment_view on the
parent's linear image, so a view resolves in place as its texture does.