mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-01-27 16:14:03 +08:00
vdpau: allow building vdpau st with virgl only
Fixes: 6b5aecb195
("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>
This commit is contained in:
parent
9e9b8dc7f8
commit
8560ce28c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user