From 1f57080923e52e2d900d0ed325e4dc6a5c52e7d7 Mon Sep 17 00:00:00 2001 From: Nianqing Yao Date: Mon, 18 Nov 2024 17:35:28 +0800 Subject: [PATCH] Add Virtio vulkan driver --- mesa.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mesa.spec b/mesa.spec index 2fd6b64..843b671 100644 --- a/mesa.spec +++ b/mesa.spec @@ -63,7 +63,7 @@ %bcond_with valgrind %endif -%global vulkan_drivers swrast%{?base_vulkan}%{?intel_platform_vulkan}%{?extra_platform_vulkan}%{?with_nvk:,nouveau} +%global vulkan_drivers swrast,virtio%{?base_vulkan}%{?intel_platform_vulkan}%{?extra_platform_vulkan}%{?with_nvk:,nouveau} Name: mesa Summary: Mesa graphics libraries @@ -691,6 +691,8 @@ popd %files vulkan-drivers %{_libdir}/libvulkan_lvp.so %{_datadir}/vulkan/icd.d/lvp_icd.*.json +%{_libdir}/libvulkan_virtio.so +%{_datadir}/vulkan/icd.d/virtio_icd.*.json %{_libdir}/libVkLayer_MESA_device_select.so %{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json %if 0%{?with_vulkan_hw}