summaryrefslogtreecommitdiff
path: root/vulkan-validation-layers
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2021-09-24 22:34:20 +1000
committerDanny Rawlins <contact@romster.me>2021-09-24 22:34:20 +1000
commitb308707c68a719da22663162d2a6caa3005205b5 (patch)
tree7339164c5a72b39b6094b8affbf1d74d79a9e4da /vulkan-validation-layers
parent68922170b38435ca7a0f6631e822e865a3ce5678 (diff)
downloadopt-b308707c68a719da22663162d2a6caa3005205b5.tar.gz
opt-b308707c68a719da22663162d2a6caa3005205b5.tar.xz
vulkan-validation-layers: 1.2.182 -> 1.2.189.1
Diffstat (limited to 'vulkan-validation-layers')
-rw-r--r--vulkan-validation-layers/.signature8
-rw-r--r--vulkan-validation-layers/Pkgfile27
2 files changed, 20 insertions, 15 deletions
diff --git a/vulkan-validation-layers/.signature b/vulkan-validation-layers/.signature
index 67ff99f37..eca77f021 100644
--- a/vulkan-validation-layers/.signature
+++ b/vulkan-validation-layers/.signature
@@ -1,8 +1,8 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/Yos3oZMs4ZW8Wf3Db6fL4bMdSdGfsnuh4dEHq1mxDeUt5fSpzLakflLGo85Scyo89sB2D15fgT2jMRVMvy+LgA=
-SHA256 (Pkgfile) = a5be9f32dde8df0c7e617bea0c81b3c3a8aeb12251fb1ab20cea7ca455bc94cc
+RWSE3ohX2g5d/b/qxTjYUZpEh0ecBRs12vCQBK+W4Jeln96/HtorK+oF002jJq1OfJ7WEWsWMchp8MmSNDhavXodE5Eb6quakgo=
+SHA256 (Pkgfile) = b09ac8974fc9817445b70da6371fcabefd3dbf2cf3184b1604fcabf6437f9ffc
SHA256 (.footprint) = 66e56224031ef22f7a9d7a66474b1c11317ff7ff78775daa1763b3e360e91e01
-SHA256 (Vulkan-ValidationLayers-1.2.182.tar.gz) = 5a1f7027c06a8e5ae777d9053b5ce46f10ca623806a43332eb2da06fe46476d4
-SHA256 (SPIRV-Headers-07f259e68af3a540038fa32df522554e74f53ed5.tar.gz) = ce7d299c9e688fe536e106605235dbb7f81613daa7995d4d99d002c808f126f8
+SHA256 (Vulkan-ValidationLayers-1.2.189.1.tar.gz) = d169ae71ae3ba12159df355b58f86f5635062c695d1deac9b97d5653561d517d
+SHA256 (SPIRV-Headers-449bc986ba6f4c5e10e32828783f9daef2a77644.tar.gz) = a8156db21c4c9d956b80b4620c6fede30d44c4f3a897434c341da8991c986288
SHA256 (robin-hood-hashing-3.11.3.tar.gz) = dcf2b7fa9ef9dd0c67102d94c28e8df3effbe1845e0ed1f31f4772ca5e857fc4
SHA256 (known_good.py.in) = f5e5330201ab5686a84d9ff65fd372af510d564aa6eb2d3c332d59a6e69ce2e3
diff --git a/vulkan-validation-layers/Pkgfile b/vulkan-validation-layers/Pkgfile
index 2e8ef2dea..fefcb02c9 100644
--- a/vulkan-validation-layers/Pkgfile
+++ b/vulkan-validation-layers/Pkgfile
@@ -5,29 +5,34 @@
# Optional: wayland
name=vulkan-validation-layers
-version=1.2.182
-_spirv_headers=07f259e68af3a540038fa32df522554e74f53ed5
+version=1.2.189.1
+_spirv_headers=449bc986ba6f4c5e10e32828783f9daef2a77644
_robin_hood=3.11.3
release=1
-source=(https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/v$version/Vulkan-ValidationLayers-$version.tar.gz
+source=(https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/sdk-$version/Vulkan-ValidationLayers-$version.tar.gz
https://github.com/KhronosGroup/SPIRV-Headers/archive/$_spirv_headers/SPIRV-Headers-$_spirv_headers.tar.gz
https://github.com/martinus/robin-hood-hashing/archive/$_robin_hood/robin-hood-hashing-$_robin_hood.tar.gz
known_good.py.in)
build() {
- mkdir -p Vulkan-ValidationLayers-$version/headers/external/spirv-headers \
- Vulkan-ValidationLayers-$version/robin_hood/external/robin-hood-hashing
- cp -r SPIRV-Headers-$_spirv_headers/* Vulkan-ValidationLayers-$version/headers/external/spirv-headers
- cp -r robin-hood-hashing-$_robin_hood/* Vulkan-ValidationLayers-$version/robin_hood/external/robin-hood-hashing
- sed -e "s|@SRC@|$SRC/Vulkan-ValidationLayers-$version|" $SRC/known_good.py.in > $SRC/known_good.py
+ (
+ cd Vulkan-ValidationLayers-sdk-$version
+ mkdir -p \
+ headers/external/spirv-headers \
+ robin_hood/external/robin-hood-hashing
+ cp -r $SRC/SPIRV-Headers-$_spirv_headers/* headers/external/spirv-headers
+ cp -r $SRC/robin-hood-hashing-$_robin_hood/* robin_hood/external/robin-hood-hashing
+ )
+
+ sed -e "s|@SRC@|$SRC/Vulkan-ValidationLayers-sdk-$version|" $SRC/known_good.py.in > $SRC/known_good.py
chmod u+x $SRC/known_good.py
$SRC/known_good.py
prt-get isinst ninja && PKGMK_VULKAN_VALIDATION_LAYERS+=' -G Ninja'
prt-get isinst wayland || PKGMK_VULKAN_VALIDATION_LAYERS+=' -D BUILD_WSI_WAYLAND_SUPPORT=OFF'
- cmake -S Vulkan-ValidationLayers-$version -B build $PKGMK_VULKAN_VALIDATION_LAYERS \
+ cmake -S Vulkan-ValidationLayers-sdk-$version -B build $PKGMK_VULKAN_VALIDATION_LAYERS \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
@@ -35,8 +40,8 @@ build() {
-D BUILD_TESTS=OFF \
-D BUILD_LAYER_SUPPORT_FILES=ON \
-D GLSLANG_INSTALL_DIR:PATH='/usr/include/glslang' \
- -D ROBIN_HOOD_HASHING_INSTALL_DIR:PATH="$SRC/Vulkan-ValidationLayers-$version/robin_hood/external/robin-hood-hashing" \
- -D SPIRV_HEADERS_INSTALL_DIR:PATH="$SRC/Vulkan-ValidationLayers-$version/headers/external/spirv-headers" \
+ -D ROBIN_HOOD_HASHING_INSTALL_DIR:PATH="$SRC/Vulkan-ValidationLayers-sdk-$version/robin_hood/external/robin-hood-hashing" \
+ -D SPIRV_HEADERS_INSTALL_DIR:PATH="$SRC/Vulkan-ValidationLayers-sdk-$version/headers/external/spirv-headers" \
-Wno-dev
cmake --build build

Generated by cgit