[Mesa-dev] [PATCH 2/2] gallium: always build glsl for gallium

Alex Deucher alexdeucher at gmail.com
Tue Jan 12 11:58:27 PST 2016


On Tue, Jan 12, 2016 at 2:46 PM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Jammy Zhou <Jammy.Zhou at amd.com>
>
> It is needed if the GL/ES build is disabled. Otherwise, there will
> be an error that nir_opcodes.h is missing. The motivation is to allow
> building Gallium VDPAU/OMX/VA without OpenGL.
>
> For example:
> ./autogen.sh --enable-vdpau --disable-opengl --disable-gles1 \
>   -disable-gles2 --with-gallium-drivers=radeonsi --with-dri-drivers= \
>   --disable-egl --disable-xvmc --disable-dri
>
> Signed-off-by: Jammy Zhou <Jammy.Zhou at amd.com>
> Acked-by: Michel Dänzer <michel.daenzer at amd.com>
> Signed-off-by: Marek Olšák <marek.olsak at amd.com>

Series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  src/Makefile.am | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 0d49bcd..081c392 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -44,6 +44,9 @@ SUBDIRS += egl
>  endif
>
>  if HAVE_GALLIUM
> +if !NEED_OPENGL_COMMON
> +SUBDIRS += glsl
> +endif
>  SUBDIRS += gallium
>  endif
>
> --
> 2.1.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list