meson considers classic swrast to be a dri driver, I know it's not exactly accurate, but, at least for me, it made the build system easier to reason about.
Quoting Adam Jackson (2018-01-12 09:06:37) > On Fri, 2018-01-12 at 13:18 +0000, Jon Turney wrote: > > 'meson -Ddri-drivers= -Dgallium-drivers=swrast -Dglx=dri' fails with 'dri > > based GLX requires at least one DRI driver' > > > > Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> > > --- > > meson.build | 2 +- > > src/glx/meson.build | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/meson.build b/meson.build > > index 77e4e894b23..dd8e6145edb 100644 > > --- a/meson.build > > +++ b/meson.build > > @@ -323,7 +323,7 @@ if with_glx != 'disabled' > > if with_dri > > error('xlib conflicts with any dri driver') > > endif > > - elif with_glx == 'dri' and not with_dri > > + elif with_glx == 'dri' and not (with_dri or with_gallium) > > error('dri based GLX requires at least one DRI driver') > > We should just remove this check. libGL doesn't actually require a DRI > driver, and at least on OSX there's no DRI driver you could possibly > build. > > - ajax > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
signature.asc
Description: signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev