vdpau: allow building vdpau st with virgl only
authorJan Palus <jpalus@fastmail.com>
Thu, 1 Dec 2022 17:32:53 +0000 (18:32 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 12 Dec 2022 22:01:27 +0000 (22:01 +0000)
Fixes: 6b5aecb1955 ("virgl: add support for hardware video acceleration")

Signed-off-by: Jan Palus <jpalus@fastmail.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20108>

meson.build

index 6766852..8cc6c0f 100644 (file)
@@ -679,9 +679,10 @@ elif not [
            with_gallium_r300,
            with_gallium_r600,
            with_gallium_radeonsi,
+           with_gallium_virgl,
          ].contains(true)
   if _vdpau == 'enabled'
-    error('VDPAU state tracker requires at least one of the following gallium drivers: r300, r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video).')
+    error('VDPAU state tracker requires at least one of the following gallium drivers: r300, r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video, virgl).')
   else
     _vdpau = 'disabled'
   endif