diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2023-11-21 13:29:47 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-23 12:46:42 +0000 |
| commit | 97170cf8ea1b5ff509c78b85a1c9f1039e8895bf (patch) | |
| tree | 2f9670da8010d4fc92963a5c41b00653a9ed5573 /meta/recipes-graphics/vulkan | |
| parent | 541868630f0beae4644046393ffc4c394292fdd5 (diff) | |
| download | poky-97170cf8ea1b5ff509c78b85a1c9f1039e8895bf.tar.gz | |
vulkan: upgrade 1.3.261.1 -> 1.3.268.0
* Allow glslang to find external spirv-tools to build.
* Vulkan-validation-layers has been split. So a new recipe
Vulkan-Utility-Libraries has been added and vulkan-validation-layers now
depends on it.
(From OE-Core rev: 63bdeb74b133840f9d6f55093bf16f5a8a5d0ab7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/vulkan')
| -rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-headers_1.3.268.0.bb (renamed from meta/recipes-graphics/vulkan/vulkan-headers_1.3.261.1.bb) | 5 | ||||
| -rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-loader_1.3.268.0.bb (renamed from meta/recipes-graphics/vulkan/vulkan-loader_1.3.261.1.bb) | 7 | ||||
| -rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-tools_1.3.268.0.bb (renamed from meta/recipes-graphics/vulkan/vulkan-tools_1.3.261.1.bb) | 3 | ||||
| -rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-utility-libraries_1.3.268.0.bb | 33 | ||||
| -rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.268.0.bb (renamed from meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.261.1.bb) | 9 |
5 files changed, 47 insertions, 10 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-headers_1.3.261.1.bb b/meta/recipes-graphics/vulkan/vulkan-headers_1.3.268.0.bb index 01eb14b9fb..a1a83317da 100644 --- a/meta/recipes-graphics/vulkan/vulkan-headers_1.3.261.1.bb +++ b/meta/recipes-graphics/vulkan/vulkan-headers_1.3.268.0.bb | |||
| @@ -11,7 +11,7 @@ LICENSE = "Apache-2.0 & MIT" | |||
| 11 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1bc355d8c4196f774c8b87ed1a8dd625" | 11 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1bc355d8c4196f774c8b87ed1a8dd625" |
| 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Headers.git;branch=main;protocol=https" | 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Headers.git;branch=main;protocol=https" |
| 13 | 13 | ||
| 14 | SRCREV = "85c2334e92e215cce34e8e0ed8b2dce4700f4a50" | 14 | SRCREV = "7b3466a1f47a9251ac1113efbe022ff016e2f95b" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 17 | 17 | ||
| @@ -21,7 +21,8 @@ FILES:${PN} += "${datadir}/vulkan" | |||
| 21 | RDEPENDS:${PN} += "python3-core" | 21 | RDEPENDS:${PN} += "python3-core" |
| 22 | 22 | ||
| 23 | # These recipes need to be updated in lockstep with each other: | 23 | # These recipes need to be updated in lockstep with each other: |
| 24 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools | 24 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools, |
| 25 | # vulkan-validation-layers, vulkan-utility-libraries. | ||
| 25 | # The tags versions should always be sdk-x.y.z, as this is what | 26 | # The tags versions should always be sdk-x.y.z, as this is what |
| 26 | # upstream considers a release. | 27 | # upstream considers a release. |
| 27 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 28 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
diff --git a/meta/recipes-graphics/vulkan/vulkan-loader_1.3.261.1.bb b/meta/recipes-graphics/vulkan/vulkan-loader_1.3.268.0.bb index 01cbeafa3e..5a5749d40c 100644 --- a/meta/recipes-graphics/vulkan/vulkan-loader_1.3.261.1.bb +++ b/meta/recipes-graphics/vulkan/vulkan-loader_1.3.268.0.bb | |||
| @@ -9,8 +9,8 @@ SECTION = "libs" | |||
| 9 | 9 | ||
| 10 | LICENSE = "Apache-2.0" | 10 | LICENSE = "Apache-2.0" |
| 11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac" | 11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac" |
| 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=main;protocol=https" | 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=vulkan-sdk-1.3.268;protocol=https" |
| 13 | SRCREV = "afdd025ead2b63b2c73d900ab128a2d3b512cdf0" | 13 | SRCREV = "f4c838e2e7358fc450f8112119bbdbb5b03e03fa" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 16 | 16 | ||
| @@ -36,7 +36,8 @@ PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SU | |||
| 36 | RRECOMMENDS:${PN} = "mesa-vulkan-drivers" | 36 | RRECOMMENDS:${PN} = "mesa-vulkan-drivers" |
| 37 | 37 | ||
| 38 | # These recipes need to be updated in lockstep with each other: | 38 | # These recipes need to be updated in lockstep with each other: |
| 39 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools | 39 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools, |
| 40 | # vulkan-validation-layers, vulkan-utility-libraries. | ||
| 40 | # The tags versions should always be sdk-x.y.z, as this is what | 41 | # The tags versions should always be sdk-x.y.z, as this is what |
| 41 | # upstream considers a release. | 42 | # upstream considers a release. |
| 42 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 43 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
diff --git a/meta/recipes-graphics/vulkan/vulkan-tools_1.3.261.1.bb b/meta/recipes-graphics/vulkan/vulkan-tools_1.3.268.0.bb index 7a7edc9ebd..78bd9b0e04 100644 --- a/meta/recipes-graphics/vulkan/vulkan-tools_1.3.261.1.bb +++ b/meta/recipes-graphics/vulkan/vulkan-tools_1.3.268.0.bb | |||
| @@ -7,7 +7,7 @@ SECTION = "libs" | |||
| 7 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 9 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=main;protocol=https" | 9 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=main;protocol=https" |
| 10 | SRCREV = "a7da7027ca9fd0901639f02619c226da9c6036f1" | 10 | SRCREV = "1532001f7edae559af1988293eec90bc5e2607d5" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 13 | 13 | ||
| @@ -31,6 +31,7 @@ PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SU | |||
| 31 | 31 | ||
| 32 | # These recipes need to be updated in lockstep with each other: | 32 | # These recipes need to be updated in lockstep with each other: |
| 33 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools | 33 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools |
| 34 | # vulkan-validation-layers, vulkan-utility-libraries. | ||
| 34 | # The tags versions should always be sdk-x.y.z, as this is what | 35 | # The tags versions should always be sdk-x.y.z, as this is what |
| 35 | # upstream considers a release. | 36 | # upstream considers a release. |
| 36 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 37 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
diff --git a/meta/recipes-graphics/vulkan/vulkan-utility-libraries_1.3.268.0.bb b/meta/recipes-graphics/vulkan/vulkan-utility-libraries_1.3.268.0.bb new file mode 100644 index 0000000000..fee4ba6cc9 --- /dev/null +++ b/meta/recipes-graphics/vulkan/vulkan-utility-libraries_1.3.268.0.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | SUMMARY = "Vulkan Utility Libraries" | ||
| 2 | DESCRIPTION = "Common libraries created to share code across various \ | ||
| 3 | Vulkan repositories, solving long standing issues for Vulkan SDK \ | ||
| 4 | developers and users." | ||
| 5 | HOMEPAGE = "https://www.khronos.org/vulkan/" | ||
| 6 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Utility-Libraries" | ||
| 7 | SECTION = "libs" | ||
| 8 | |||
| 9 | LICENSE = "Apache-2.0" | ||
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=4ca2d6799091aaa98a8520f1b793939b" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Utility-Libraries.git;branch=main;protocol=https" | ||
| 13 | SRCREV = "c9ca4ac620a238a93c65d864f2eaa33954d74509" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
| 18 | |||
| 19 | DEPENDS = "vulkan-headers" | ||
| 20 | |||
| 21 | EXTRA_OECMAKE = "\ | ||
| 22 | -DBUILD_TESTS=OFF \ | ||
| 23 | " | ||
| 24 | |||
| 25 | inherit cmake features_check pkgconfig | ||
| 26 | |||
| 27 | # These recipes need to be updated in lockstep with each other: | ||
| 28 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, | ||
| 29 | # vulkan-validation-layers, spirv-headers, spirv-tools, | ||
| 30 | # vulkan-utility-libraries. | ||
| 31 | # The tags versions should always be sdk-x.y.z, as this is what | ||
| 32 | # upstream considers a release. | ||
| 33 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | ||
diff --git a/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.261.1.bb b/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.268.0.bb index 1e2a0acedb..6c2715b041 100644 --- a/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.261.1.bb +++ b/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.268.0.bb | |||
| @@ -8,14 +8,14 @@ SECTION = "libs" | |||
| 8 | LICENSE = "Apache-2.0 & MIT" | 8 | LICENSE = "Apache-2.0 & MIT" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd3c0bc366cd9b6a906e22f0bcb5910f" | 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd3c0bc366cd9b6a906e22f0bcb5910f" |
| 10 | 10 | ||
| 11 | SRC_URI = "git://git@github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=sdk-1.3.261;protocol=https" | 11 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=vulkan-sdk-1.3.268;protocol=https" |
| 12 | SRCREV = "628cd310bef6d54b4e6b25b5ac2ed013473409d6" | 12 | SRCREV = "3c64adb4e052062fc60b6580c365429fddfbcfbf" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
| 15 | 15 | ||
| 16 | REQUIRED_DISTRO_FEATURES = "vulkan" | 16 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 17 | 17 | ||
| 18 | DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang" | 18 | DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang vulkan-utility-libraries" |
| 19 | 19 | ||
| 20 | # BUILD_TESTS - Not required for OE builds | 20 | # BUILD_TESTS - Not required for OE builds |
| 21 | # USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms. | 21 | # USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms. |
| @@ -42,7 +42,8 @@ FILES_SOLIBSDEV = "" | |||
| 42 | 42 | ||
| 43 | # These recipes need to be updated in lockstep with each other: | 43 | # These recipes need to be updated in lockstep with each other: |
| 44 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, | 44 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, |
| 45 | # vulkan-validation-layers, spirv-headers, spirv-tools | 45 | # vulkan-validation-layers, spirv-headers, spirv-tools, |
| 46 | # vulkan-utility-libraries. | ||
| 46 | # The tags versions should always be sdk-x.y.z, as this is what | 47 | # The tags versions should always be sdk-x.y.z, as this is what |
| 47 | # upstream considers a release. | 48 | # upstream considers a release. |
| 48 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | 49 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
