]> git.pld-linux.org Git - packages/Mesa.git/blob - vdpau-virgl-only.patch
for %{arm} with hardfloat pass -mfloat-abi=hard to clang invoked by bindgen
[packages/Mesa.git] / vdpau-virgl-only.patch
1 From 38acfe2b413242e436a2a715aa0071650d7bbd96 Mon Sep 17 00:00:00 2001
2 From: Jan Palus <jpalus@fastmail.com>
3 Date: Thu, 1 Dec 2022 18:32:53 +0100
4 Subject: [PATCH] vdpau: allow building vdpau st with virgl only
5
6 Fixes: 6b5aecb1955 ("virgl: add support for hardware video acceleration")
7
8 Signed-off-by: Jan Palus <jpalus@fastmail.com>
9 ---
10  meson.build | 4 ++--
11  1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/meson.build b/meson.build
14 index 0118fdb9708..e636caa88f9 100644
15 --- a/meson.build
16 +++ b/meson.build
17 @@ -666,9 +666,9 @@ elif not with_platform_x11
18      _vdpau = 'disabled'
19    endif
20  elif not (with_gallium_r300 or with_gallium_r600 or with_gallium_radeonsi or
21 -          with_gallium_nouveau or with_gallium_d3d12_video)
22 +          with_gallium_nouveau or with_gallium_d3d12_video or with_gallium_virgl)
23    if _vdpau == 'enabled'
24 -    error('VDPAU state tracker requires at least one of the following gallium drivers: r300, r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video).')
25 +    error('VDPAU state tracker requires at least one of the following gallium drivers: r300, r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video, virgl).')
26    else
27      _vdpau = 'disabled'
28    endif
29 -- 
30 2.38.1
31
This page took 0.26538 seconds and 3 git commands to generate.