vrend: test for EXT_texture_mirror_clamp_to_edge

This extension is needed to get GL 4.4 in the guest when we
run on a GLES host.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Lepton Wu <lepton@chromium.org>
macos/master
Gert Wollny 4 years ago committed by Gert Wollny
parent 9954c2e392
commit c7c102bab3
  1. 3
      src/vrend_renderer.c

@ -9782,7 +9782,8 @@ static void vrend_renderer_fill_caps_v1(int gl_ver, int gles_ver, union virgl_ca
caps->v1.bset.transform_feedback_overflow_query = 1; caps->v1.bset.transform_feedback_overflow_query = 1;
if (epoxy_has_gl_extension("GL_EXT_texture_mirror_clamp") || if (epoxy_has_gl_extension("GL_EXT_texture_mirror_clamp") ||
epoxy_has_gl_extension("GL_ARB_texture_mirror_clamp_to_edge")) { epoxy_has_gl_extension("GL_ARB_texture_mirror_clamp_to_edge") ||
epoxy_has_gl_extension("GL_EXT_texture_mirror_clamp_to_edge")) {
caps->v1.bset.mirror_clamp = true; caps->v1.bset.mirror_clamp = true;
} }

Loading…
Cancel
Save