virgl: Do not expose EXT_texture_mirror_clamp when using a GLES host
authorCorentin Noël <corentin.noel@collabora.com>
Tue, 29 Aug 2023 14:06:26 +0000 (16:06 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 30 Aug 2023 12:57:58 +0000 (12:57 +0000)
commit9c39ea796cd689670ab17e0c5dcc0c0b76db2cb4
tree28836c877a7f66ec235226ecd68e8527491d9ca2
parent1c367933ba2cf927773c72129f18eae22f99db2d
virgl: Do not expose EXT_texture_mirror_clamp when using a GLES host

The GL_MIRROR_CLAMP_EXT wrap parameter is never available in GLES.

This fixes the `spec@!opengl 1.1@texwrap 2d proj` piglit test when using a GLES
host.

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Reviewed-by: Filip Gawin <filip.gawin@collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24935>
src/gallium/drivers/virgl/virgl_screen.c