summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/vulkan/vulkan-samples
Commit message (Collapse)AuthorAgeFilesLines
* vulkan-samples: Upgrade to latest tip of trunkKhem Raj2025-05-272-56/+0
| | | | | | | | | | Drop backports available in latest sources (From OE-Core rev: 0c8b692b4831529ad56b24224cec520bf7cd0973) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: rewrite and submit reproducubility patch upstreamAlexander Kanavin2025-04-103-44/+31
| | | | | | | | | | | | At some point the problematic define ceased to be used anywhere, and so we can simply patch it out (and remove the associated option setting from the recipe). (From OE-Core rev: 4acbb1b92b9e51d6a741458d6cbd0c48ab55f6ca) 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>
* vulkan-samples: Fix build with GCC-15Khem Raj2025-03-272-0/+54
| | | | | | | | | | Include cstdint for uint32_t definition Update to tip if trunk as it helps with GCC-15 fixes (From OE-Core rev: 1db86a3381c94951de44bb2b6ec840fd99a7d4be) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: update to latest revisionAlexander Kanavin2024-12-051-52/+0
| | | | | | | | | | 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>
* vulkan-samples: update to latest revisionAlexander Kanavin2024-08-283-197/+0
| | | | | | | | | | | | | Drop backports. This has again regressed on 32 bit x86, and as no one cares upstream and the 32 bit x86 platform really isn't relevant for vulkan, let's just disable it there. (From OE-Core rev: 0f1968aeb5035d434e2494f71f3260b6b6b17b8d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: fix do_compile error when -Og enabledChangqing Li2024-07-101-0/+52
| | | | | | | | | | | | | | | | | | | | | | When debug build is enabled(-Og is used), vulkan-samples do_compile failed with error: In function 'ZSTD_compressBlock_lazy_generic', 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: 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 | FORCE_INLINE_TEMPLATE size_t ZSTD_HcFindBestMatch_selectMLS ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 | size_t const ml2 = searchMax(ms, ip, iend, &offsetFound); Refer [1], always_inline is not suggested to use with indirect function call, replace always_inline with inline to fix the issue [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 (From OE-Core rev: 246de52fe59de0612d1145357c5e904a51363c8c) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: drop PE, PR from /usr/src/debug pathsMartin Jansa2023-11-201-1/+1
| | | | | | | | (From OE-Core rev: 23c40b46af0ede566b854fdeaeae9675c2f48549) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: convert debugfix.patch to git format patchJulien Stephan2023-08-291-5/+17
| | | | | | | | | | | | | | | | | | | | devtool modify on vulkan-samples fails to apply the debugfix.patch because it is not in one of git's known formats. Here is the error: ERROR: Applying patch 'debugfix.patch' on target directory '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-38uz7jyq/workdir/git' CmdError("sh -c 'git add -f -A .'", 0, 'stdout: stderr: fatal: not a git repository (or any of the parent directories): .git ') Also, rename debugfix.patch to something more meaningfull (From OE-Core rev: c05c508cf3141a6923d87e1d04f7387ce3c91a9d) Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: fix build on 32-bit platformsRoss Burton2023-06-061-0/+101
| | | | | | | | | | Backport a patch from upstream to fix the build on 32-bit platforms, and remove the COMPATIBLE_HOST restriction. (From OE-Core rev: f4f693ac3ba46373103f749f028ab296e6aeb085) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: update to latest revisionAlexander Kanavin2023-02-201-37/+0
| | | | | | | | | | Drop patch as it's merged upstream. (From OE-Core rev: fd1f4035fef30782f9e07a778fa63b78fab89102) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: Include missing header cstdint for uint32_tKhem Raj2023-01-241-0/+37
| | | | | | | | (From OE-Core rev: 47f6a75960b3af2be7f45fd06e2fb73549b6933b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: Drop using u8string_viewKhem Raj2023-01-201-0/+59
| | | | | | | | | | | Its deprecated in upstream fmt as well. Moreover it helps compile with latest compiler (From OE-Core rev: 01ef766ada47cd845643c632160e1808fa237d1c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: Update to the tip of trunkKhem Raj2023-01-162-434/+0
| | | | | | | | | Drop backported patches (From OE-Core rev: bfbbade9a993fe1f39f41b81708a8a92e45b65f1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: Do not use LFS64 APIs in spdlogKhem Raj2022-12-311-0/+37
| | | | | | | (From OE-Core rev: cac83db8486943f013c5d33be2a353b492f20fd5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: update to latest revisionAlexander Kanavin2022-08-211-27/+0
| | | | | | | | | | Drop upstreamed patch. (From OE-Core rev: b88edd42ac9bfd38153f6178d782936b52542f31) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: Qualify move as std::moveKhem Raj2022-08-171-0/+405
| | | | | | | | | Fixes build with clang (From OE-Core rev: 848551e59ce5d8d11cffc51b62b3665913cf166e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: update to latest revisionAlexander Kanavin2022-07-231-0/+27
| | | | | | | | (From OE-Core rev: 3d55944b1c31f8f56ea098889a62f6276358662e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: update to latest revisionAlexander Kanavin2022-02-182-73/+0
| | | | | | | (From OE-Core rev: ea18d074a89f22460fb4e943df652e668a03a792) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: Fix cmake errors about plain signatureKhem Raj2021-11-152-0/+73
| | | | | | | | | Fix some typecasting errors seen on 32bit platforms with clang (From OE-Core rev: f37d209220e2393384facf676f33fb7c68ab11e6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: update to latest revisionAlexander Kanavin2021-02-091-117/+0
| | | | | | | | | Drop patch merged upstream. (From OE-Core rev: 4ca7c5435a379160fb9ac2d2d9d7aa5550632f65) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: Fix reproducibility issueRichard Purdie2021-01-151-0/+31
| | | | | | | | | | | | | | There is code to remove the prefix CMAKE_SOURCE_DIR from __FILENAME__ paths used for logging with LOGE() in the code. We need to make this match the value we use in the debug source remapping from CFLAGS. If we don't, the code is firstly removing the incorrect prefix and possibly moving outside the string, secondly, it causes a reproducibility issue depending on the length of path the build happens in. Add a small patch and configuration to avoid the issue. (From OE-Core rev: 410dbfd1f82b4862ced6fca88789edf0fd9d65df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: fix do_compile failureChangqing Li2020-11-241-0/+117
| | | | | | | | | | | | | | fix error: | framework/lib/ppc/libframework.a(device.cpp.o): in function `std::__atomic_base<unsigned long long>::load(std::memory_order) const': | /usr/include/c++/10.2.0/bits/atomic_base.h:426: undefined reference to `__atomic_load_8' some arch don't have built-in atomic, so need to link it explicitly (From OE-Core rev: 65410c5ff4f9c34758d1e2270132c631166e7d1a) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: replace vulkan-demosAlexander Kanavin2020-11-031-0/+29
vulkan-samples is the official collection, and vulkan-demos author has stated that he will be mostly contributing there: https://github.com/SaschaWillems/Vulkan#Khronossamples (From OE-Core rev: 76a25391d09de06f832c1053d3dbc901dee3b912) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>