Skip to content

panfrost: Support multi-sampled image load/store on Midgard and Bifrost

panfrost: Support multi-sampled image load/store on Midgard and Bifrost

The Panfrost hardware treats multi-sampled images in a very similar way to
3D textures, so take advantage of this by adding a new lowering pass
to make multi-sampled imageLoad/imageStore look like 3D accesses.

(Tested on Midgard and Bifrost. Probably works on Valhall as well, but not yet tested there.)

Signed-off-by: Eric R. Smith <eric.smith@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Edited by Eric Smith

Merge request reports