1
0
forked from pool/vulkan-loader
Jan Engelhardt 2018-11-12 15:58:37 +00:00 committed by Git OBS Bridge
commit 8644a75ce1
6 changed files with 308 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57f01ffb839aab4618c9269aad644a669006a66107094181c835173356ff1e15
size 1222084

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/KhronosGroup/Vulkan-Loader</param>
<param name="revision">6b6b0cf381226bbf4aa39ba8c7cf3ceb463acf04</param>
<param name="parent-tag">6b6b0cf381226bbf4aa39ba8c7cf3ceb463acf04</param>
<param name="versionformat">1.1.91</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

172
vulkan-loader.changes Normal file
View File

@ -0,0 +1,172 @@
-------------------------------------------------------------------
Mon Nov 12 15:14:33 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Split vulkan SRPM -> vulkan-loader SRPM following a
repository split upstream.
- Update to new snapshot 1.1.91
-------------------------------------------------------------------
Sat Aug 25 17:16:08 UTC 2018 - jengelh@inai.de
- Update to new snapshot 1.1.73
* layers: Removed obsolete (and duplicate) VUIDs
* layers: Make unique_objects ID map global
* layers: Add VUIDs for VK_KHR_incremental_present
* layers: Add canonical/unique ID to pipeline layout
* layers: Add support for StorageBuffer storage class
* loader: Add new core 1.1 entry points
* loader: Update loader for Vulkan 1.1
* vulkaninfo: Add core 1.1 extensions
-------------------------------------------------------------------
Fri Mar 9 20:19:15 UTC 2018 - crrodriguez@opensuse.org
- Skip building tests that are neither packaged nor ran.
-------------------------------------------------------------------
Fri Mar 9 19:49:50 UTC 2018 - crrodriguez@opensuse.org
- vulkan-devel has missing dependencies, this causes further
confusion down the dependency chain, fix it by adding
the required X and wayland components
-------------------------------------------------------------------
Wed Mar 7 23:59:37 UTC 2018 - jengelh@inai.de
- Update to new snapshot 1.1.70
* Support for Vulkan 1.1 (Subgroup operations)
-------------------------------------------------------------------
Wed Feb 7 23:19:20 UTC 2018 - jengelh@inai.de
- Update to new snapshot 1.0.68
* layers: add image layout validation to vkCmdBlitImage()
* layers: Add VK_EXT_validation_cache implementation for shaders
* layers: Add layer metadata for EXT_validation_cache extension
* layers: Add descriptor limit checks to vkCreatePipelineLayout()
* layers: Create instance & device extension lists
- Add no-git.diff
-------------------------------------------------------------------
Wed Jan 10 14:18:49 UTC 2018 - jengelh@inai.de
- Drop ImageMagick build-time requirement
-------------------------------------------------------------------
Thu Nov 16 11:49:28 UTC 2017 - jengelh@inai.de
- Update to new snapshot 1.0.65
* The VK_EXT_global_priority extension extends the concept of
device-scope queue priorities to now be a system-wide scope.
The global/system-wide priority level takes priority over the
per-process queue priorities.
* New extension VK_KHR_bind_memory2: This extension allows
vkBindBufferMemory and vkBindImageMemory to support multiple
bindings to be performed at once while also being more
extensible.
* New extension VK_KHR_image_format_list: Provides a list of
all formats that can be used with a Vulkan image when it is
created.
* New extension VK_KHR_maintenance2: Adds in various changes
that were left out of Vulkan previously. These maintenance
updates allow implementations to express clipping behavior of
points, creating images with usage flags that may not be
supported for the base image's format, creating uncompressed
image views of compressed images, two new image layouts for
depth stencil images, and other minor changes.
* New extension VK_KHR_sampler_ycbcr_conversion: Support to
perform specified color space conversions during texture
sampling operations.
- Drop 0001-cmake-GH1444-add-wayland-include-dir-to-cmake.patch
(included upstream)
-------------------------------------------------------------------
Sat Aug 12 07:32:07 UTC 2017 - jengelh@inai.de
- Update to new upstream release 1.0.57.0
* loader: Do not enumerate extensions from disabled implicit
layers
* layers:Handle ALL_*_BIT pipe stage barrier validation
* LVL: Add validation check for CreateImageView
* loader: Remove executable stack from libvulkan.so
* layers: Fix mismatched new[] / delete
* layers: Add new PV ranged enum validation function
* layers: Don't do bogus transitions in invalidateCommandBuffers
-------------------------------------------------------------------
Mon Aug 7 17:11:42 UTC 2017 - jengelh@inai.de
- Update to new upstream release 1.0.54
* Fix a few potential overruns
* Configurable fallback search paths
* Validate device features: imageCubeArray, dualSrcBlend,
multiDrawIndirect, depthClamp, depthBounds, alphaToOne,
samplerAnisotropy.
* Add compressed texture query utils
* Add feature checks for textureCompressionETC2,
textureCompressionASTC_LDR, textureCompressionBC,
sparseBinding device, sparseResidencyBuffer,
sparseResidencyAliased, depthBiasClamp.
* Remove deprecated KHX extension from OT/PV
* Support CapabilityGeometryShaderPassThroughNV and
CapabilitySampleMaskOverrideCoverage.
* Support the viewport_array2, shader_subgroup_ballot and
shader_subgroup_vote ext shader caps.
* Change size of X8_D24_UNORM_PACK32 and D32_SFLOAT_S8_UINT
- Add 0001-cmake-GH1444-add-wayland-include-dir-to-cmake.patch
-------------------------------------------------------------------
Mon Feb 20 15:06:23 UTC 2017 - jengelh@inai.de
- Update to new upstream release 1.0.41
* layers: Move image struct into cv_types header
* layers: Move CreateImage validation into core_val
* layers: Move DestroyImage code into buffer module
* layers: Move CreateRenderPass format check to PV
* layers: Rename misleading renderpass structure var
* layers:Move gfx pipe check to create time
* layers: Move image validation support to buffer_val
* layers: Add enable for NV_GLSL_SHADER extension
- Add baselibs.conf [needed by libgtk-4-0]
-------------------------------------------------------------------
Mon Jan 30 19:48:33 UTC 2017 - jengelh@inai.de
- Update to new upstream release 1.0.39.1
* layers: Add tracking for VK_KHR_display extension in PV
* layers: Add null checks to RetireWorkOnQueue
* vulkaninfo: fix segfault when DISPLAY is not set
* layers: Complete support for VK_KHR_Display ext
-------------------------------------------------------------------
Mon Oct 31 22:42:42 UTC 2016 - jengelh@inai.de
- Update to 1.0.32.g28
* vkjson: Rename VkJsonAllProperties to VkJsonDevice
* loader: Fix json output of escape chars
* loader: Fix segfault in vulkaninfo
* Add vulkan C++ header
- Remove 0001-layers-Install-to-CMAKE_INSTALL_LIBDIR.patch,
0001-loader-Add-install-rule.patch,
0001-vkjson-don-t-clobber-cflags-or-you-ll-lose-fPIC.patch
(upstreamed).
-------------------------------------------------------------------
Mon Jun 13 12:27:45 UTC 2016 - jengelh@inai.de
- Update to new snapshot 1.0.3.g5493
* Added helpers: getSwapchainNode(), getSwapchainFromImage(),
getImageNode(), getImageViewData(), getSamplerNode(),
getBufferViewInfo(), getBufferNode().
- Resolve build failure stemming from new glslang version
- Add 0001-layers-Install-to-CMAKE_INSTALL_LIBDIR.patch,
0001-loader-Add-install-rule.patch,
0001-vkjson-don-t-clobber-cflags-or-you-ll-lose-fPIC.patch.
These were in a prior tarball made from a Fedora git,
but we since switched to the upstream git.
-------------------------------------------------------------------
Wed Feb 17 16:22:36 UTC 2016 - jengelh@inai.de
- Initial package (version 1.0.3.g19) for build.opensuse.org

95
vulkan-loader.spec Normal file
View File

@ -0,0 +1,95 @@
#
# spec file for package vulkan
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define version_unconverted 1.1.91
Name: vulkan-loader
%define lname libvulkan1
Version: 1.1.91
Release: 0
Summary: Reference ICD loader for Vulkan
License: MIT
Group: Development/Libraries/C and C++
Url: http://www.khronos.org/
Source: Vulkan-Loader-%version.tar.xz
BuildRequires: cmake >= 2.8.11
BuildRequires: gcc-c++ >= 4.8
BuildRequires: vulkan-headers >= %version
BuildRequires: pkgconfig(pciaccess)
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
%description
Vulkan is a 3D graphics and compute API providing cross-platform
access to modern GPUs with low overhead and targeting realtime
graphics applications such as games and interactive media.
This package contains the reference ICD loader for Vulkan.
%package -n %lname
Summary: The Vulkan 3D graphics and compute API
Group: System/Libraries
Requires: %name
%description -n %lname
Vulkan is a 3D graphics and compute API providing cross-platform
access to modern GPUs with low overhead and targeting realtime
graphics applications such as games and interactive media.
%package -n vulkan-devel
Summary: Vulkan development package
Group: Development/Libraries/C and C++
Requires: %lname = %version-%release
Requires: vulkan-headers >= %version
%description -n vulkan-devel
Vulkan is a 3D graphics and compute API providing cross-platform
access to modern GPUs with low overhead and targeting realtime
graphics applications such as games and interactive media.
This subpackage contains the development headers for packages wanting
to make use of Vulkan.
%prep
%setup -qn Vulkan-Loader-%version
%build
%cmake \
-DVulkanHeaders_INCLUDE_DIR:PATH="%_includedir" \
-DVulkanRegistry_DIR:PATH="%_datadir/vulkan/registry" \
-DCMAKE_INSTALL_SYSCONFDIR="%_sysconfdir"
make %{?_smp_mflags}
%install
%cmake_install
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n libvulkan1
%doc LICENSE.txt
%_libdir/libvulkan.so.1*
%files -n vulkan-devel
%_libdir/libvulkan.so
%_libdir/pkgconfig/vulkan.pc
%changelog