forked from pool/vulkan-tools
This commit is contained in:
commit
bdaa0f218a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
@ -0,0 +1,46 @@
|
||||
From 334a87efcefbdee39a4b383a0807102d4e78387d Mon Sep 17 00:00:00 2001
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: Mon, 12 Nov 2018 18:32:06 +0100
|
||||
Subject: [PATCH] build: add missing wayland-client search path for mock_icd
|
||||
build
|
||||
References: https://github.com/KhronosGroup/Vulkan-Tools/pull/94
|
||||
|
||||
Fix issues #1444 and #1989 of Vulkan-LoaderAndValidationLayers **again**.
|
||||
|
||||
[ 82%] Building CXX object icd/CMakeFiles/VkICD_mock_icd.dir/mock_icd.cpp.o
|
||||
cd $HOME/Vulkan-Tools/icd && /usr/bin/c++
|
||||
-DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_WAYLAND_KHX
|
||||
-DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XCB_KHX
|
||||
-DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_KHX
|
||||
-DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVkICD_mock_icd_EXPORTS
|
||||
-I$HOME/Vulkan-Tools/icd -I$HOME/Vulkan-Tools -Wall -Wextra
|
||||
-Wno-unused-parameter -Wno-missing-field-initializers
|
||||
-fno-strict-aliasing -fno-builtin-memcmp -Wimplicit-fallthrough=0
|
||||
-std=c++11 -fno-rtti -fvisibility=hidden -Wpointer-arith
|
||||
-Wno-unused-function -Wno-sign-compare -fPIC -o
|
||||
CMakeFiles/VkICD_mock_icd.dir/mock_icd.cpp.o -c
|
||||
$HOME/Vulkan-Tools/icd/mock_icd.cpp
|
||||
In file included from /usr/include/vulkan/vk_icd.h:26,
|
||||
from $HOME/Vulkan-Tools/icd/mock_icd.h:29,
|
||||
from $HOME/Vulkan-Tools/icd/mock_icd.cpp:22:
|
||||
/usr/include/vulkan/vulkan.h:48:10: fatal error: wayland-client.h: No such file or directory
|
||||
#include <wayland-client.h>
|
||||
---
|
||||
icd/CMakeLists.txt | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/icd/CMakeLists.txt b/icd/CMakeLists.txt
|
||||
index 21abf1c3..b569ab35 100644
|
||||
--- a/icd/CMakeLists.txt
|
||||
+++ b/icd/CMakeLists.txt
|
||||
@@ -158,6 +158,7 @@ endif()
|
||||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${VulkanHeaders_INCLUDE_DIR}
|
||||
+ ${WAYLAND_CLIENT_INCLUDE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${PROJECT_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR})
|
||||
--
|
||||
2.19.1
|
||||
|
3
Vulkan-Tools-1.1.91.g3.tar.xz
Normal file
3
Vulkan-Tools-1.1.91.g3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:87a50835fc0df78a78a3e137ec867854a54638c74c8e0edfb98f729c1b0962b5
|
||||
size 203152
|
14
_service
Normal file
14
_service
Normal 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-Tools</param>
|
||||
<param name="revision">master</param>
|
||||
<param name="parent-tag">e4480fa9afd6f8cfc5579c7d24954f7030b180cf</param>
|
||||
<param name="versionformat">1.1.91.g@TAG_OFFSET@</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>
|
177
vulkan-tools.changes
Normal file
177
vulkan-tools.changes
Normal file
@ -0,0 +1,177 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
d874df5e vulkaninfo: Add core 1.1 extensions
|
||||
2a037f48 vulkaninfo: Add VK_KHR_maintenance3 support
|
||||
35288285 vulkaninfo: Add device+driver UUID/LUID/NodeMask
|
||||
31030a11 vulkaninfo: Add VK_KHR_8bit_storage support
|
||||
- Add 0001-build-add-missing-wayland-client-search-path-for-moc.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
65
vulkan-tools.spec
Normal file
65
vulkan-tools.spec
Normal file
@ -0,0 +1,65 @@
|
||||
#
|
||||
# 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.g3
|
||||
|
||||
Name: vulkan-tools
|
||||
Version: 1.1.91.g3
|
||||
Release: 0
|
||||
Summary: Reference ICD loader for Vulkan
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: http://www.khronos.org/
|
||||
#Git-URL: https://github.com/KhronosGroup/Vulkan-Tools
|
||||
Source: Vulkan-Tools-%version.tar.xz
|
||||
Patch1: 0001-build-add-missing-wayland-client-search-path-for-moc.patch
|
||||
BuildRequires: cmake >= 2.8.11
|
||||
BuildRequires: gcc-c++ >= 4.8
|
||||
BuildRequires: glslang-devel
|
||||
BuildRequires: pkgconfig(vulkan)
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
Obsoletes: vulkan < %version-%release
|
||||
Provides: vulkan = %version-%release
|
||||
|
||||
%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 Khronos official Vulkan tools and utilities.
|
||||
|
||||
%prep
|
||||
%setup -qn Vulkan-Tools-%version
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
mkdir -p glslang/bin
|
||||
ln -sv /usr/bin/glslangValidator glslang/bin/
|
||||
%cmake
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%_bindir/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user