From cdaf3abcbf91322092730fc09217ee501db9f9f9ff4df13ce71e9e2e1458c3c2 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 14 May 2021 03:51:13 +0000 Subject: [PATCH] - reenabled build of device-select and overlay vulkan layers OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1038 --- Mesa-drivers.changes | 5 +++++ Mesa-drivers.spec | 10 ++++++---- Mesa.changes | 5 +++++ Mesa.spec | 10 ++++++---- 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 2527db1..90d1be4 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 14 03:24:24 UTC 2021 - Stefan Dirsch + +- reenabled build of device-select and overlay vulkan layers + ------------------------------------------------------------------- Thu May 6 19:00:36 UTC 2021 - Stefan Dirsch diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 62c109e..288757b 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -778,8 +778,7 @@ egl_platforms=x11,wayland %endif %if 0%{with_vulkan} -Dvulkan-drivers=intel,amd \ - -Dvulkan-device-select-layer=true \ - -Dvulkan-overlay-layer=true \ + -Dvulkan-layers=device-select,overlay \ %else -Dvulkan-drivers= \ %endif @@ -863,8 +862,6 @@ rm -f %{buildroot}/%{_libdir}/vdpau/libvdpau_gallium.so # dropped with Mesa 21.1.0 mkdir -p -m 755 %{buildroot}/%{_includedir}/vulkan -mkdir -p -m 755 %{buildroot}/%{_datadir}/vulkan/implicit_layer.d -mkdir -p -m 755 %{buildroot}/%{_datadir}/vulkan/explicit_layer.d %else @@ -1139,12 +1136,17 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %dir %{_includedir}/vulkan %files -n Mesa-vulkan-device-select +%{_libdir}/libVkLayer_MESA_device_select.so %dir %{_datadir}/vulkan %dir %{_datadir}/vulkan/implicit_layer.d +%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json %files -n Mesa-vulkan-overlay +%{_bindir}/mesa-overlay-control.py +%{_libdir}/libVkLayer_MESA_overlay.so %dir %{_datadir}/vulkan %dir %{_datadir}/vulkan/explicit_layer.d +%{_datadir}/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json %endif %changelog diff --git a/Mesa.changes b/Mesa.changes index 2527db1..90d1be4 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 14 03:24:24 UTC 2021 - Stefan Dirsch + +- reenabled build of device-select and overlay vulkan layers + ------------------------------------------------------------------- Thu May 6 19:00:36 UTC 2021 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index 8c8e65a..adcfec1 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -777,8 +777,7 @@ egl_platforms=x11,wayland %endif %if 0%{with_vulkan} -Dvulkan-drivers=intel,amd \ - -Dvulkan-device-select-layer=true \ - -Dvulkan-overlay-layer=true \ + -Dvulkan-layers=device-select,overlay \ %else -Dvulkan-drivers= \ %endif @@ -862,8 +861,6 @@ rm -f %{buildroot}/%{_libdir}/vdpau/libvdpau_gallium.so # dropped with Mesa 21.1.0 mkdir -p -m 755 %{buildroot}/%{_includedir}/vulkan -mkdir -p -m 755 %{buildroot}/%{_datadir}/vulkan/implicit_layer.d -mkdir -p -m 755 %{buildroot}/%{_datadir}/vulkan/explicit_layer.d %else @@ -1138,12 +1135,17 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %dir %{_includedir}/vulkan %files -n Mesa-vulkan-device-select +%{_libdir}/libVkLayer_MESA_device_select.so %dir %{_datadir}/vulkan %dir %{_datadir}/vulkan/implicit_layer.d +%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json %files -n Mesa-vulkan-overlay +%{_bindir}/mesa-overlay-control.py +%{_libdir}/libVkLayer_MESA_overlay.so %dir %{_datadir}/vulkan %dir %{_datadir}/vulkan/explicit_layer.d +%{_datadir}/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json %endif %changelog