SHA256
1
0
forked from pool/Mesa

Accepting request 893063 from X11:XOrg

- reenabled build of device-select and overlay vulkan layers

OBS-URL: https://build.opensuse.org/request/show/893063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=405
This commit is contained in:
Dominique Leuenberger 2021-05-15 21:21:08 +00:00 committed by Git OBS Bridge
commit 92d601c95d
4 changed files with 22 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 14 03:24:24 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- reenabled build of device-select and overlay vulkan layers
-------------------------------------------------------------------
Thu May 6 19:00:36 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 14 03:24:24 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- reenabled build of device-select and overlay vulkan layers
-------------------------------------------------------------------
Thu May 6 19:00:36 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -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