Add Virtio vulkan driver

This commit is contained in:
Nianqing Yao 2024-11-18 17:35:28 +08:00
parent e2f9152bea
commit a6aff9b6c7

View file

@ -63,7 +63,7 @@
%bcond_with valgrind %bcond_with valgrind
%endif %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 Name: mesa
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
@ -691,6 +691,8 @@ popd
%files vulkan-drivers %files vulkan-drivers
%{_libdir}/libvulkan_lvp.so %{_libdir}/libvulkan_lvp.so
%{_datadir}/vulkan/icd.d/lvp_icd.*.json %{_datadir}/vulkan/icd.d/lvp_icd.*.json
%{_libdir}/libvulkan_virtio.so
%{_datadir}/vulkan/icd.d/virtio_icd.*.json
%{_libdir}/libVkLayer_MESA_device_select.so %{_libdir}/libVkLayer_MESA_device_select.so
%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json %{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
%if 0%{?with_vulkan_hw} %if 0%{?with_vulkan_hw}