[Mesa-dev] [PATCH] gles: report maximum vertex-attrib stride to guest
Erik Faye-Lund
erik.faye-lund at collabora.com
Thu Jul 19 15:59:04 UTC 2018
Sorry, send wrong. Please ignore.
On 19. juli 2018 17:58, Erik Faye-Lund wrote:
> Similar to e387116, we also need to report this for GLES hosts.
>
> Signed-off-by: Erik Faye-Lund <erik.faye-lund at 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;
>
More information about the mesa-dev
mailing list