For the consumer: a same-format view of a texture in place over a buffer of the runtime's own
memory, whose linear image takes no colour attachment usage, is no longer refused as a resolve
target with Gap::RenderPass{ResolveUsage}. Measured on the RTX 3090 and KosmicKrisp, where the
linear tiling renders no format, that is every texture in place. The view resolves as its texture
does: into the texture's resolve image, then the pass's end copies it into the buffer. A view of
another pixel format of such a texture stays refused, a known gap.
Why: the runtime refuses only what the device lacks, and the device lacks nothing for this view. A
texture over a buffer has one level and one slice, so a view of it covers the same texel bytes in
the same buffer place. A view of the same Vulkan format resolves into the same image, through the
same identity view.
How: resolve_attachment no longer requires the texture to be no view. The view's image is its
parent's, which carries the Resolving, and its Named holds the parent's one place. It now refuses
only a view whose Vulkan format is not the resolve image's (object.format != plan.format). The
copy is the same, from the view's Named, which is the parent's place. That is 3 product lines.
Where the linear image takes the usage, a view already resolves in place through attachment_view
(7193df2244).
Docs: the runtime README's two Render encoders paragraphs, RenderPassKind::ResolveUsage and
resolve_attachment's doc now name only a view of another format as refused. docs/REFUSALS.md and
the signatures table do not change.
Test: every_device_resolves_a_loaded_pass_into_a_shader_read_texture_over_a_buffer now does more
on each in-place row:
- After the host refills the buffer with 0xee, it resolves the guest's pass into a same-format
view of the texture (new_texture_view, 2D, level 0, slice 0).
- The buffer reads the clear within one code, and 0 bytes past the texels change.
- The resolve copies count 1 through the resolve image (the RTX 3090 and KosmicKrisp), and 0
where the view resolves in place (where the linear image takes the usage).