gallium/pipe: Add a GALLIUM_PIPE_SEARCH_DIR override env var
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 18 Aug 2020 16:59:19 +0000 (11:59 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 7 Oct 2020 21:03:11 +0000 (16:03 -0500)
commit449f1fee9e921fac4741f32d046693b536bd7563
treeb856f22b7502d0d3754258d7994d0296a73769fe
parent1d3600c156fa48e745d6174ff90ee39df2ff9ee6
gallium/pipe: Add a GALLIUM_PIPE_SEARCH_DIR override env var

This can be useful if you rsync an install between two machines and the
paths don't perfectly match up.  OpenGL drivers already work fine but
anything which uses pipe-loader has a compile-time path.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7047>
docs/envvars.rst
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c