virgl: resolve to correct level during texture read

Graphics / Mesa 3D Graphics Library / Mesa - Chia-I Wu [gmail.com] - 4 June 2019 21:37 EDT

When PIPE_TRANSFER_READ requires a resolve, we blit from the host storage to a temporary storage, and do a format conversion from the temporary storage to the guest storage. This change makes sure we convert to the correct level of the guest storage.

65439291a02 virgl: resolve to correct level during texture read
src/gallium/drivers/virgl/virgl_texture.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share