[virglrenderer-devel] [PATCH 1/4] vrend: set texture buffer offset alignment to 0
Elie Tournier
tournier.elie at gmail.com
Tue May 22 13:33:53 UTC 2018
On Fri, May 18, 2018 at 12:10:18PM +1000, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> Until we support ARB_texture_buffer_range we shouldn't report
> this value as mesa will enable the extension.
For the series,
Reviewed-by: Elie Tournier <elie.tournier at collabora.com>
> ---
> src/vrend_renderer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c
> index 614b5ce..930dede 100644
> --- a/src/vrend_renderer.c
> +++ b/src/vrend_renderer.c
> @@ -7139,7 +7139,7 @@ void vrend_renderer_fill_caps(uint32_t set, uint32_t version,
> glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, &caps->v2.uniform_buffer_offset_alignment);
>
> if (gl_ver >= 43) {
> - glGetIntegerv(GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT, &caps->v2.texture_buffer_offset_alignment);
> + caps->v2.texture_buffer_offset_alignment = 0;
> glGetIntegerv(GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT, &caps->v2.shader_buffer_offset_alignment);
> }
>
> --
> 2.14.3
>
> _______________________________________________
> virglrenderer-devel mailing list
> virglrenderer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/virglrenderer-devel
More information about the virglrenderer-devel
mailing list