diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2024-12-04 07:49:11 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-05 17:07:10 +0000 |
| commit | 17b49cd08935acdaced6df27f24782afc47925dc (patch) | |
| tree | 9edeb1c490478ac3c8ad07b312c6eb8757701c96 | |
| parent | 40d694694516de7a304a07e4858a1d3985d30f2f (diff) | |
| download | poky-17b49cd08935acdaced6df27f24782afc47925dc.tar.gz | |
vulkan-samples: update to latest revision
Drop patch as issue fixed upstream.
(From OE-Core rev: c893fe8844c84ef5f7be1e014e36a28c964c5b6f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-samples/0001-zstd.c-replace-FORCE_INLINE_TEMPLATE-with-inline.patch | 52 | ||||
| -rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 3 |
2 files changed, 1 insertions, 54 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-samples/0001-zstd.c-replace-FORCE_INLINE_TEMPLATE-with-inline.patch b/meta/recipes-graphics/vulkan/vulkan-samples/0001-zstd.c-replace-FORCE_INLINE_TEMPLATE-with-inline.patch deleted file mode 100644 index 22538d4119..0000000000 --- a/meta/recipes-graphics/vulkan/vulkan-samples/0001-zstd.c-replace-FORCE_INLINE_TEMPLATE-with-inline.patch +++ /dev/null | |||
| @@ -1,52 +0,0 @@ | |||
| 1 | From a7bfe82a311c713b12bb83b8488574ad5c784f89 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Changqing Li <changqing.li@windriver.com> | ||
| 3 | Date: Tue, 9 Jul 2024 04:29:11 +0000 | ||
| 4 | Subject: [PATCH] zstd.c: replace FORCE_INLINE_TEMPLATE with inline | ||
| 5 | |||
| 6 | Refer [1], always-inline is not suggested to be used if you have indirect | ||
| 7 | +calls. so replace FORCE_INLINE_TEMPLATE with inline to fix error: | ||
| 8 | In function 'ZSTD_compressBlock_lazy_generic', | ||
| 9 | inlined from 'ZSTD_compressBlock_greedy' at TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21914:12: | ||
| 10 | TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21551:30: error: inlining failed in call to 'always_inline' 'ZSTD_HcFindBestMatch_selectMLS': function not considered for inlining | ||
| 11 | | FORCE_INLINE_TEMPLATE size_t ZSTD_HcFindBestMatch_selectMLS ( | ||
| 12 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 13 | TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21736:32: note: called from here | ||
| 14 | | size_t const ml2 = searchMax(ms, ip, iend, &offsetFound); | ||
| 15 | |||
| 16 | Upstream-Status: Inappropriate [ Latest upstream ktx don't have this part code ] | ||
| 17 | |||
| 18 | Has report this issue to upstream Vulkan-Samples, refer [2] | ||
| 19 | |||
| 20 | [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 | ||
| 21 | [2] https://github.com/KhronosGroup/Vulkan-Samples/issues/1089 | ||
| 22 | |||
| 23 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
| 24 | --- | ||
| 25 | lib/basisu/zstd/zstd.c | 4 ++-- | ||
| 26 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 27 | |||
| 28 | diff --git a/lib/basisu/zstd/zstd.c b/lib/basisu/zstd/zstd.c | ||
| 29 | index eaf13738..423f149e 100644 | ||
| 30 | --- a/lib/basisu/zstd/zstd.c | ||
| 31 | +++ b/lib/basisu/zstd/zstd.c | ||
| 32 | @@ -21548,7 +21548,7 @@ size_t ZSTD_HcFindBestMatch_generic ( | ||
| 33 | } | ||
| 34 | |||
| 35 | |||
| 36 | -FORCE_INLINE_TEMPLATE size_t ZSTD_HcFindBestMatch_selectMLS ( | ||
| 37 | +static inline size_t ZSTD_HcFindBestMatch_selectMLS ( | ||
| 38 | ZSTD_matchState_t* ms, | ||
| 39 | const BYTE* ip, const BYTE* const iLimit, | ||
| 40 | size_t* offsetPtr) | ||
| 41 | @@ -21596,7 +21596,7 @@ static size_t ZSTD_HcFindBestMatch_dedicatedDictSearch_selectMLS ( | ||
| 42 | } | ||
| 43 | |||
| 44 | |||
| 45 | -FORCE_INLINE_TEMPLATE size_t ZSTD_HcFindBestMatch_extDict_selectMLS ( | ||
| 46 | +static inline size_t ZSTD_HcFindBestMatch_extDict_selectMLS ( | ||
| 47 | ZSTD_matchState_t* ms, | ||
| 48 | const BYTE* ip, const BYTE* const iLimit, | ||
| 49 | size_t* offsetPtr) | ||
| 50 | -- | ||
| 51 | 2.44.0 | ||
| 52 | |||
diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb index 06e996d243..2dd4bba523 100644 --- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb +++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb | |||
| @@ -7,11 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=48aa35cefb768436223a6e7f18dc2a2a" | |||
| 7 | 7 | ||
| 8 | SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=main;protocol=https;lfs=0 \ | 8 | SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=main;protocol=https;lfs=0 \ |
| 9 | file://0001-vulkan-samples-Fix-reproducibility-issue.patch \ | 9 | file://0001-vulkan-samples-Fix-reproducibility-issue.patch \ |
| 10 | file://0001-zstd.c-replace-FORCE_INLINE_TEMPLATE-with-inline.patch;patchdir=third_party/ktx \ | ||
| 11 | " | 10 | " |
| 12 | 11 | ||
| 13 | UPSTREAM_CHECK_COMMITS = "1" | 12 | UPSTREAM_CHECK_COMMITS = "1" |
| 14 | SRCREV = "fdce530c029514e2f66296288f9ee26a05058ec1" | 13 | SRCREV = "4838e02a4b08236931bec0532fc26ee3871b466a" |
| 15 | 14 | ||
| 16 | UPSTREAM_CHECK_GITTAGREGEX = "These are not the releases you're looking for" | 15 | UPSTREAM_CHECK_GITTAGREGEX = "These are not the releases you're looking for" |
| 17 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
