[Mesa-dev] [PATCH] XXXgallium/common_dri: fix the scons build

Eric Anholt eric at anholt.net
Fri Sep 27 17:36:49 PDT 2013


Emil Velikov <emil.l.velikov at gmail.com> writes:

> * clone the drienv to driswenv and adjust approapriately
> * export driswenv and use it in dri-swrast
> * ensure __NOT_HAVE_DRM_H is defined for drisw, similar
> to all other common_drisw users
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>
> With this patch building dri-swrast, dri-i915 and dri-vmware
> build correctly. Not a scons expect here, so there may be a
> better way to do this.
>
> Eric
> With combining both dri_util and drisw_util, now swrast
> driver(s) can query options from drirc, thus having an
> extra dependency on expat. Is that intentional, or did
> you fell that adding a dozen of #if DRI_BACKEND was a bit
> of an overkill, same as me? 

swrast should probably have driconf support just like other drivers --
the GLSL extensions workarounds in particular are something I think it
wants.

Thanks for the fix!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130927/a1acccbb/attachment.pgp>


More information about the mesa-dev mailing list