virgl: fix texture resolving with compressed formats

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

util_format_translate_3d expects the source box to be aligned to the block size. When resolving, make sure the size of the staging buffer is aligned to the block size.

067018d4e74 virgl: fix texture resolving with compressed formats
src/gallium/drivers/virgl/virgl_texture.c | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share