virgl: don't allow vertex input arrays on GLES hosts
authorGert Wollny <gert.wollny@collabora.com>
Thu, 24 Mar 2022 11:39:40 +0000 (12:39 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 20 Jun 2023 11:50:37 +0000 (11:50 +0000)
commitbd93d6b2fba4a9e78d12fc9c6cd2df4d2216dfbe
treeddbade289828bdd833199451418a7bceca3b4fff
parenta2d40c09b72374db5d2dd4115c1ea51b2543f515
virgl: don't allow vertex input arrays on GLES hosts

v2: - use new HOST_IS_GLES flag (Corentin)
    - drop stray fprintf (Emma)
    - reorder cases to avoid code replication

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15550>
src/gallium/drivers/virgl/virgl_screen.c