[Mesa-dev] [PATCH 4/9] prog; add weak _mesa_error_no_memory() symbol and add it to libglsl_util

Matt Turner mattst88 at gmail.com
Wed Apr 15 10:33:02 PDT 2015


On Wed, Apr 15, 2015 at 7:08 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Rather than forcing everyone to provide their own definition of the symbol
> provide a common weak one, which anyone can override if needed.
>
> This resolved the build of the standalone pipe-drivers, as it provides a
> default symbol which was missing previously.
>
> Cc: Rob Clark <robclark at freedesktop.org>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/Makefile.am                        |  3 ++-
>  src/glsl/SConscript                    |  2 ++
>  src/mesa/Android.libmesa_glsl_utils.mk |  6 ++++--
>  src/mesa/program/weak_errors.c         | 30 ++++++++++++++++++++++++++++++

Is program/ really the right place for this? (maybe main/ instead?)


More information about the mesa-dev mailing list