virgl: support emulating planar image sampling

Graphics / Mesa 3D Graphics Library / Mesa - David Stevens [chromium.org] - 8 November 2019 17:06 EST

Mesa emulates planar format sampling with per-plane samplers. Virgl now supports this by allowing the plane index to be passed when creating a sampler view from a planar image. With this change, mesa now passes that information to virgl.

0466239aae7 virgl: support emulating planar image sampling
src/gallium/drivers/virgl/virgl_encode.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share