SHA256
1
0
forked from pool/Mesa

- Add vulkan device selection layer and vulkan overlay layer

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=986
This commit is contained in:
Stefan Dirsch 2020-08-25 09:37:06 +00:00 committed by Git OBS Bridge
parent eba5637e23
commit ccbef1ebb7
4 changed files with 78 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 25 06:32:03 UTC 2020 - Aaron Dominick <aaron.zakhrov@gmail.com>
- Add vulkan device selection layer and vulkan overlay layer
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 25 05:30:39 UTC 2020 - Stefan Dirsch <sndirsch@suse.com> Tue Aug 25 05:30:39 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -131,6 +131,7 @@ BuildRequires: bison
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: flex BuildRequires: flex
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: glslang-devel
BuildRequires: imake BuildRequires: imake
BuildRequires: libtool BuildRequires: libtool
BuildRequires: meson BuildRequires: meson
@ -645,6 +646,24 @@ Requires: libvulkan_radeon = %{version}
%description -n Mesa-libVulkan-devel %description -n Mesa-libVulkan-devel
This package contains the development files for Mesa's Vulkan implementation. This package contains the development files for Mesa's Vulkan implementation.
%package -n Mesa-vulkan-device-select
Summary: Vulkan layer to select Vulkan devices provided by Mesa
Group: System/Libraries
Requires: libvulkan_intel = %{version}
Requires: libvulkan_radeon = %{version}
%description -n Mesa-vulkan-device-select
This package contains the VK_MESA_device_select Vulkan layer
%package -n Mesa-vulkan-overlay
Summary: Mesa Vulkan Overlay layer
Group: System/Libraries
Requires: libvulkan_intel = %{version}
Requires: libvulkan_radeon = %{version}
%description -n Mesa-vulkan-overlay
This package contains the VK_MESA_Overlay Vulkan layer
%package -n libxatracker2 %package -n libxatracker2
Version: 1.0.0 Version: 1.0.0
Release: 0 Release: 0
@ -743,6 +762,8 @@ egl_platforms=x11,drm,surfaceless,wayland
%endif %endif
%if 0%{with_vulkan} %if 0%{with_vulkan}
-Dvulkan-drivers=intel,amd \ -Dvulkan-drivers=intel,amd \
-Dvulkan-device-select-layer=true \
-Dvulkan-overlay-layer=true \
%else %else
-Dvulkan-drivers= \ -Dvulkan-drivers= \
%endif %endif
@ -1091,6 +1112,19 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%files -n Mesa-libVulkan-devel %files -n Mesa-libVulkan-devel
%dir %{_includedir}/vulkan %dir %{_includedir}/vulkan
%{_includedir}/vulkan/* %{_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 %endif
%changelog %changelog

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 25 06:32:03 UTC 2020 - Aaron Dominick <aaron.zakhrov@gmail.com>
- Add vulkan device selection layer and vulkan overlay layer
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 25 05:30:39 UTC 2020 - Stefan Dirsch <sndirsch@suse.com> Tue Aug 25 05:30:39 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -130,6 +130,7 @@ BuildRequires: bison
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: flex BuildRequires: flex
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: glslang-devel
BuildRequires: imake BuildRequires: imake
BuildRequires: libtool BuildRequires: libtool
BuildRequires: meson BuildRequires: meson
@ -644,6 +645,24 @@ Requires: libvulkan_radeon = %{version}
%description -n Mesa-libVulkan-devel %description -n Mesa-libVulkan-devel
This package contains the development files for Mesa's Vulkan implementation. This package contains the development files for Mesa's Vulkan implementation.
%package -n Mesa-vulkan-device-select
Summary: Vulkan layer to select Vulkan devices provided by Mesa
Group: System/Libraries
Requires: libvulkan_intel = %{version}
Requires: libvulkan_radeon = %{version}
%description -n Mesa-vulkan-device-select
This package contains the VK_MESA_device_select Vulkan layer
%package -n Mesa-vulkan-overlay
Summary: Mesa Vulkan Overlay layer
Group: System/Libraries
Requires: libvulkan_intel = %{version}
Requires: libvulkan_radeon = %{version}
%description -n Mesa-vulkan-overlay
This package contains the VK_MESA_Overlay Vulkan layer
%package -n libxatracker2 %package -n libxatracker2
Version: 1.0.0 Version: 1.0.0
Release: 0 Release: 0
@ -742,6 +761,8 @@ egl_platforms=x11,drm,surfaceless,wayland
%endif %endif
%if 0%{with_vulkan} %if 0%{with_vulkan}
-Dvulkan-drivers=intel,amd \ -Dvulkan-drivers=intel,amd \
-Dvulkan-device-select-layer=true \
-Dvulkan-overlay-layer=true \
%else %else
-Dvulkan-drivers= \ -Dvulkan-drivers= \
%endif %endif
@ -1090,6 +1111,19 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%files -n Mesa-libVulkan-devel %files -n Mesa-libVulkan-devel
%dir %{_includedir}/vulkan %dir %{_includedir}/vulkan
%{_includedir}/vulkan/* %{_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 %endif
%changelog %changelog