virgl: Enable depth_clamp by lowering if the host is new enough.
authorGert Wollny <gert.wollny@collabora.com>
Thu, 25 Jul 2019 08:45:14 +0000 (10:45 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Thu, 1 Aug 2019 05:58:53 +0000 (05:58 +0000)
commit9de00e74fe0e0a4044635ddd0cd89188cbbd8c59
treefd53dd431e64de7c98b21b3bfdfe41aa51975dad
parentb2e92c45ce30f1aa039cf1ca72c4869992c77ae3
virgl: Enable depth_clamp by lowering if the host is new enough.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_screen.c