Files
reims-vgpu/docs
Anees Iqbal 96cd80e053 🆕 Name a host command buffer's images and blit sources at a loss
A device loss's lines called a command buffer of the host's own just that,
with its encoders' kinds: no blit operand was recorded and no host image named,
so a report (issue 173, an RX 6600 XT whose lost command buffer was a host blit
or render at the display's start, its fault address in no rt range) could not
tell a window swapchain's image from an image of rt's own.

Objects now carry a role beside their guest id: the platform names a window
swapchain's image, and the host names the scanout's import, a presented
surface's texture and the display's view of it, the display colour's table and
ramps, the cursor's glyph, the overlay's image and a host read's target. In a
command buffer of the host's own, each encoder names its operands: a blit what
its copies read and what its copies, fills and mipmap generations write; a
render encoder the textures it binds. The list of command buffers in flight
says, for each of the host's own, what each encoder renders into, binds, reads
and writes, by role or guest id ("render into colour 0 a window's swapchain
image, blit from the scanout's import into a window's swapchain image"); the
oldest's attachments and lists name roles where there is no guest id; and the
line of a host command buffer lost in flight names its encoders the same way.

A window swapchain's clear at its retire, committed on rt outside the
platform's command buffers, is now on that list from before its commit until
its wait returns, named as such. It holds no index given back: the commit order
the platform's own indices wait on passes over it, as before it was listed.

Diagnostics only: nothing the guest or the C API sees changes, and nothing is
committed differently or at another time.
2026-11-25 19:17:48 -08:00
..