|
Line
Link Here
|
| 0 |
-- a/vulkan.spec |
0 |
++ b/vulkan.spec |
|
Lines 15-20
Source1: vulkan-headers.tar
Link Here
|
| 15 |
Source2: vulkan-tools.tar |
15 |
Source2: vulkan-tools.tar |
| 16 |
# https://github.com/KhronosGroup/Vulkan-ValidationLayers |
16 |
# https://github.com/KhronosGroup/Vulkan-ValidationLayers |
| 17 |
Source3: vulkan-layers.tar |
17 |
Source3: vulkan-layers.tar |
|
|
18 |
Patch1: alt-pthreads.patch |
| 18 |
|
19 |
|
| 19 |
BuildRequires: bison chrpath |
20 |
BuildRequires: bison chrpath |
| 20 |
BuildRequires(pre): cmake gcc-c++ rpm-build-python3 |
21 |
BuildRequires(pre): cmake gcc-c++ rpm-build-python3 |
|
Lines 101-106
verify their applications correct use of the Vulkan API.
Link Here
|
| 101 |
%prep |
102 |
%prep |
| 102 |
%setup -n %name-loader -b0 -b1 -b2 -b3 |
103 |
%setup -n %name-loader -b0 -b1 -b2 -b3 |
| 103 |
pushd ../vulkan-layers |
104 |
pushd ../vulkan-layers |
|
|
105 |
%patch1 -p1 |
| 104 |
# sigh inttypes |
106 |
# sigh inttypes |
| 105 |
sed -i 's/inttypes.h/cinttypes/' layers/*.{cpp,h} |
107 |
sed -i 's/inttypes.h/cinttypes/' layers/*.{cpp,h} |
| 106 |
popd |
108 |
popd |