Files
metal2vulkan/crates
Anees Iqbal afa0046e9e rt test: a kernel writes an exported surface plane through a ShaderWrite R8Uint view
A guard, not red. For each row the device exports (the VA-API dma-buf row, the NVIDIA
opaque-handle row and the copy-form row), on the 1080p picture, a surface whose luma has
ShaderRead, ShaderWrite, RenderTarget and PixelFormatView usage; an R8Uint view of the luma
that fpv_rgbx_write_uint writes from a buffer of values; then the surface's buffer, copied
whole to a Shared buffer, holds each written texel at the luma's offset and pitch as the
export states them. In place, a device whose linear image takes no storage usage may answer
Gap::SurfaceUsage at the make, or Gap::TextureView of SurfacePixelFormat at the view, each
printed.

This is the consumer's form for the exported planes a guest writes (row 5): the plane's own
image, viewed, with no storage shape and no copy. The row 5 format queries
(5080 m3-max-81308, 2080 81309, Iris Xe 81310, 780M 81314, 3090 81318, RX 550 81322) found
storage offered on the plane's linear and DRM_FORMAT_MOD_LINEAR images on every card, and
the layout unchanged by it; surface.rs already adds storage where the query offers it.
2026-12-02 19:11:30 -08:00
..