meson: add with_gallium_virgl to allow it as VA backend driver
So that no longer needs other driver such as radeonsi as backend to enable VA. Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18424>
This commit is contained in:
@@ -824,9 +824,9 @@ if not system_has_kms_drm
|
||||
else
|
||||
_va = 'disabled'
|
||||
endif
|
||||
elif not (with_gallium_r600 or with_gallium_radeonsi or with_gallium_nouveau or with_gallium_d3d12_video)
|
||||
elif not (with_gallium_r600 or with_gallium_radeonsi or with_gallium_nouveau or with_gallium_d3d12_video or with_gallium_virgl)
|
||||
if _va == 'enabled'
|
||||
error('VA state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video).')
|
||||
error('VA state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video), virgl.')
|
||||
else
|
||||
_va = 'disabled'
|
||||
endif
|
||||
|
Reference in New Issue
Block a user