On Tue, Jan 12, 2016 at 2:46 PM, Marek Olšák <[email protected]> wrote: > From: Jammy Zhou <[email protected]> > > 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 <[email protected]> > Acked-by: Michel Dänzer <[email protected]> > Signed-off-by: Marek Olšák <[email protected]>
Series is: Reviewed-by: Alex Deucher <[email protected]> > --- > 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 > [email protected] > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
