Similar to e387116, we also need to report this for GLES hosts. Signed-off-by: Erik Faye-Lund <erik.faye-l...@collabora.com> ---
Without this, there's no chance for GLES hosts to get GLES3.1 support. src/vrend_renderer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 9fb2f92..405993a 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -7396,6 +7396,9 @@ static void vrend_renderer_fill_caps_gles(uint32_t set, UNUSED uint32_t version, if (gles_ver >= 31) glGetIntegerv(GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT, (GLint*)&caps->v2.shader_buffer_offset_alignment); + if (gles_ver >= 31) + glGetIntegerv(GL_MAX_VERTEX_ATTRIB_STRIDE, (GLint*)&caps->v2.max_vertex_attrib_stride); + /* Not available on GLES */ caps->v2.texture_buffer_offset_alignment = 0; -- 2.18.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev