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

Emil Velikov emil.l.velikov at gmail.com
Fri Jan 22 08:39:58 PST 2016


On 12 January 2016 at 21:46, 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.
>
Unless I'm mistaken NIR is required by the aux/ttn module which is
used only by a few gallium drivers ? I'm leaning that a better option
would be to have a "NEED_NIR" conditional.

Regardless I'll kindly request that we hold his off for a couple more
days, as it will have a nasty interaction with my "move glsl/nir to
compiler" series. With that one in place we'll be building glsl/nir
even in the above mentioned case (to be tweaked as needed).

Thanks
Emil


More information about the mesa-dev mailing list