gallium/dri: set LIBVA_DRIVERS_PATH in devenv

We're setting this in the non-DRI codepath, but this was missed when we
started embedding the VA driver into libgallium. This means we no longer
were able to use VA-API from meson devenv, like we could before.

Fixes: 212d57f7e6 ("targets/va: Build va driver into libgallium when building with dri")
(cherry picked from commit 7e4744909b)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40359>
This commit is contained in:
Erik Faye-Lund 2026-02-27 09:57:21 +01:00 committed by Eric Engestrom
parent 6f28830365
commit 6e5d08c8e5
2 changed files with 3 additions and 1 deletions

View file

@ -4394,7 +4394,7 @@
"description": "gallium/dri: set LIBVA_DRIVERS_PATH in devenv",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "212d57f7e6701a4f307c2c049a0e3eccfce58965",
"notes": null

View file

@ -79,6 +79,8 @@ if with_gallium_va
endif
endforeach
devenv.set('LIBVA_DRIVERS_PATH', meson.current_build_dir())
if va_drivers.length() > 0
meson.add_install_script(
install_megadrivers,