Commit 77d26818 authored by David Stevens's avatar David Stevens Committed by Lepton Wu

vrend: support emulating planar image sampling

Mesa emulates planar format sampling with per-plane samplers. With this
change, the guest can pass the plane index when creating a sampler view
from a virgl resource to create a per-plane sampler view. The index can
be passed in place of the texture layer, as that will always be 0 for
planar images.
Signed-off-by: David Stevens's avatarDavid Stevens <stevensd@chromium.org>
Reviewed-by: Lepton Wu's avatarLepton Wu <lepton@chromium.org>
parent cf423460
Pipeline #77701 passed with stages
in 30 minutes and 57 seconds