virgl: report actual max-texture sizes
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 14 Aug 2018 12:06:02 +0000 (13:06 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 15 Aug 2018 16:48:16 +0000 (18:48 +0200)
commit98b3b6367a919990bc2832183fdcf285ffeb4b8a
treef8d564c45584a7982c2aae86c2f5a3922ce90523
parent825aaeae3942effc29aba6ae182146c0f97d277c
virgl: report actual max-texture sizes

Instead of doing conservative guesses, we should report the max levels
based on the max sizes we get from GL on the host.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Jakob Bornecrantz <jakob@collabora.com>
src/gallium/drivers/virgl/virgl_hw.h
src/gallium/drivers/virgl/virgl_screen.c