[virglrenderer-devel] [PATCH 1/6] add support for ARB_texture_mirror_clamp_to_edge.
Dave Airlie
airlied at gmail.com
Mon May 21 06:09:32 UTC 2018
From: Dave Airlie <airlied at redhat.com>
This just exposes the cap to the host, the renderer already
supports it.
---
src/vrend_renderer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c
index 57271ee..6781ac3 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -6962,7 +6962,8 @@ void vrend_renderer_fill_caps(uint32_t set, uint32_t version,
caps->v1.bset.has_cull = 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")) {
caps->v1.bset.mirror_clamp = true;
}
--
2.14.3
More information about the virglrenderer-devel
mailing list