summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/vk-gl-cts
Commit message (Collapse)AuthorAgeFilesLines
* opengl-es-cts: Use -march=armv8-aKhem Raj40 hours1-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opengl-es-cts: Allow to build with CMake 4+Moritz Haase9 days1-1/+3
| | | | | | | | | | | Latest HEAD supports builds with CMake 4+, but the corresponding patch at [0] is considered to be too invasive to backport. Instead, apply the 'minimum policy version' override. [0]: https://github.com/KhronosGroup/Vulkan-Video-Samples/commit/ab3b3b37dc120b383922dde9850cee8d185b45f3 Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-cts: upgrade 1.4.2.1 -> 1.4.3.1Moritz Haase13 days5-42/+15
| | | | | | | | | | | | | | | | New version includes support to build against CMake 4+. Release notes are available at [0]. The SRC_URI update helper script required adaptations, as it was broken by recent Poky changes. The SRC_URI entries were only updated manually back then via [1]. [0]: https://github.com/KhronosGroup/VK-GL-CTS/releases [1]: https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc?h=master-next&id=fc78d37ff0ce9e0d60455465851dbe4e86d7a8b3 Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-253-23/+22
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-cts: update to 1.4.2.1Dmitry Baryshkov2025-05-102-8/+8
| | | | | | | Upgrade Vulkan CTS to the latest release, 1.4.2.1. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opengl-es-cts: install mustpass listsDmitry Baryshkov2025-05-101-0/+1
| | | | | | | | Follow the Vulkan CTS example and install mustpass lists together with the testsuite. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opengl-es-cts: Workaround gcc-15 segfault on aarch64Khem Raj2025-05-051-0/+2
| | | | | | | | | We are seeing a compile failure due to g++ sefaulting on one compile unit It seems a GCC 15 bug [1] [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-cts-sources: fix build with gcc-15Martin Jansa2025-04-232-0/+48
| | | | | | | | | | | | | Fixes: http://errors.yoctoproject.org/Errors/Details/852849/ In file included from TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.cc:15: TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.h:56:39: error: 'uint32_t' has not been declared 56 | static bool IsInt8(FormatMode mode, uint32_t num_bits) { | ^~~~~~~~ Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opengl-es-cts: upgrade to 3.2.12Dmitry Baryshkov2025-04-102-9/+11
| | | | | | | Upgrade OpenGL ES CTS to the latest release. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-cts: upgrade to 1.4.1.0Dmitry Baryshkov2025-04-103-12/+15
| | | | | | | Upgrade Vulkan CTS to the latest release. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vk-gl-cts: don't require networking to configureRoss Burton2024-12-106-55/+205
| | | | | | | | | | | | | | The CMakeLists in this package go and download a number of packages at configure time, which is bad practise for us. Instead, use a script to parse the fetching tool and generate SRC_URI fragments that can be included in the recipe. This refresh_srcuri task will need to be reran on upgrades to ensure that it is up to date: the fragment will warn if the version doesn't match and devtool will do that automatically. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vk-gl-cts: control what targets get builtRoss Burton2024-12-102-0/+4
| | | | | | | | | | Explicitly build the targets that are normally build. This seems like a no-op, but had the advantage of not pulling in vulkan-validationlayers which causes more fetches at configure time, and is only actually used by the developers of the test suite. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vk-gl-cts: use cmake-qemuRoss Burton2024-12-101-13/+1
| | | | | | | Don't configure qemu+cmake manually, use the cmake-qemu class. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vk-gl-cts: set the git tag regex for release checkingRoss Burton2024-12-101-0/+2
| | | | | | | | Add BPN to the tag name to differentiate vulkan-cts and opengl-es-cts releases. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vk-gl-cts: fix EXTRA_OECMAKERoss Burton2024-12-101-2/+5
| | | | | | | | | | | | | There are no native/nativesdk builds of this recipe, so there's no need to use a separate class-target assignment. We should pass AMBER_DISABLE_WERROR in all builds, not just target. Setting -DUPDATE_DEPS=OFF isn't functional as the CMakeLists explictly set that to ON, so remove it. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opengl-es-cts,vulkan-cts: Upgrade recipes to 3.2.11.0 and 1.3.9.2Khem Raj2024-09-0913-398/+199
| | | | | | | | - Drop patches which are upstreamed. - Move common patches to files/ dir - Use gcc to compile for now as it does not work with clang+libc++ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-cts: add workaround for createMeshShaderMiscTestsEXTRandolph Sapp2024-06-181-0/+3
| | | | | | | | | | | | | | | | | Remove the CXX flag "-O2" for GCC 13 and 14. There's a bug with ARM GCC that breaks the iteration of "types" in the createMeshShaderMiscTestsEXT function. This issue is not present for clang or x86_64 GCC 14. It seems that the array is not initialized before the first iteration. In testing this can result in a random value being used. This can manifest in LINES type being processed twice, resulting in the following error: FATAL ERROR: Failed to initialize dEQP: Test case with non-unique name 'no_lines' added to group 'misc'. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opengl-es-cts: remove unused patchMaxin John2024-03-081-34/+0
| | | | | | | 0001-Remove-dead-variable-984.patch was a backport patch that was dropped after upgrade to version:3.2.9.3. Remove it as part of cleanup Signed-off-by: Maxin John <maxin.john@gmail.com>
* vulkan-cts: Upgrade to 1.3.7.3Khem Raj2024-01-277-87/+139
| | | | | | | | Adjust for different patches between vulkan-cts and opengl-es-cts Use gcc to compile vulkan-cts for now, it does not like libc++ headers from clang-18 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vk-gl-cts: Disable Werror on amber external moduleKhem Raj2024-01-271-1/+1
| | | | | | | | | | | | | When compiling with clang-18 it finds more warnings which becomes errors so disable the warnings as errors in this module for now. Fixes /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/opengl-es-cts/3.2.9.3/git/external/amber/src/src/engine.cc:35:3: error: 'switch' missing 'default' label [-Werror,-Wswitch-default] 35 | switch (type) { | ^ 1 error generated. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* khronos-cts.inc: respect MLPREFIX when appending DEPENDS with anonymous pythonMartin Jansa2023-09-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * this causes 2 issues: lib32-opengl-es-cts depending on 64bit wayland and wayland-protocols: $ bitbake-getvar -r lib32-opengl-es-cts DEPENDS # # $DEPENDS [14 operations] # set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:309 # "" # set /OE/build/oe-core/openembedded-core/meta/conf/documentation.conf:137 # [doc] "Lists a recipe's build-time dependencies (i.e. other recipe files)." # :prepend /OE/build/oe-core/openembedded-core/meta/classes-global/base.bbclass:57 # "${BASEDEPENDS} " # :prepend /OE/build/oe-core/openembedded-core/meta/classes-recipe/pkgconfig.bbclass:7 # "pkgconfig-native " # :prepend /OE/build/oe-core/openembedded-core/meta/classes-recipe/cmake.bbclass:10 # "cmake-native " # :append /OE/build/oe-core/openembedded-core/meta/classes-recipe/python3native.bbclass:11 # " python3-native " # append /OE/build/oe-core/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc:28 # "python3-lxml-native libpng zlib virtual/libgles2 qemu-native" # :append[libc-musl] /OE/build/oe-core/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc:38 # " libexecinfo" # rename (to) classextend.py:108 [map_depends_variable] # "DEPENDS_NONML" # set classextend.py:109 [map_depends_variable] # "${@oe.classextend.get_depends('DEPENDS', d)}" # append classextend.py:110 [map_depends_variable] # [vardeps] " DEPENDS_NONML" # append cmake.bbclass:25 [__anon_30__OE_build_oe_core_openembedded_core_meta_classes_recipe_cmake_bbclass] # " ninja-native" # append khronos-cts.inc:77 [__anon_80__OE_build_oe_core_meta_openembedded_meta_oe_recipes_graphics_vk_gl_cts_khronos_cts_inc] # " wayland-native wayland wayland-protocols" # append khronos-cts.inc:79 [__anon_80__OE_build_oe_core_meta_openembedded_meta_oe_recipes_graphics_vk_gl_cts_khronos_cts_inc] # " virtual/libx11 virtual/egl " # pre-expansion value: # "${@oe.classextend.get_depends('DEPENDS', d)} ninja-native wayland-native wayland wayland-protocols virtual/libx11 virtual/egl " DEPENDS="cmake-native lib32-libpng pkgconfig-native python3-lxml-native python3-native qemu-native virtual/lib32-arm-oemllib32-linux-gnueabi-compilerlibs virtual/arm-oemllib32-linux-gnueabi-gcc virtual/lib32-libc virtual/lib32-libgles2 lib32-zlib ninja-native wayland-native wayland wayland-protocols virtual/libx11 virtual/egl " * lib32-opengl-es-cts-dev runtime depending on 64bit wayland-dev wayland-protocols-dev as caught by multilib QA check: ERROR: QA Issue: lib32-opengl-es-cts package lib32-opengl-es-cts-dev - suspicious values 'wayland-dev wayland-protocols-dev' in RRECOMMENDS [multilib] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-212-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opengl-es-cts: 3.2.8.0 -> 3.2.9.3Randolph Sapp2023-06-143-14/+18
| | | | | | | | | | | | | Bump the opengl-es-cts version to latest since this package is currently incompatible with Weston 10 due to changes in wayland-protocols. I would bump the vulkan-cts test revision here as well, but unfortunately newer versions of vulkan-cts add video encode/decode tests from Nvidia that break on any arch other than amd64 in their current format. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* khronos-cts: Replace wayland feature dependancy with vulkanLinus Jacobson2023-04-141-1/+1
| | | | | | | | | | | | | | | | Khronos-cts.inc is used for building vulkan-cts or opengl-es-cts. Even though vulkan-cts depends on vulkan-loader, which automatically requires vulkan distro feature, it is more explicitly stated if written here next to opengl. Some systems do not support a windowing service (like wayland) but still might use standard khronos GPU libraries. For these cases, wayland dependancy is invalid. Patch replaces the invalid wayland distro feature dependancy with vulkan for clarity. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-cts: Rename patch to avoid problems on case insensitive filesytemsKhem Raj2023-02-052-1/+1
| | | | | | | see https://github.com/openembedded/meta-openembedded/commit/a493debe11e2e2d100fceac1cc64069f5d85390b#commitcomment-99397029 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-cts,opengl-es-cts: Fix build with gcc-13Khem Raj2023-01-257-43/+134
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* khronos-cts: fix build when python3-build-native is presentRoss Burton2023-01-132-0/+21
| | | | | | | | | | | This recipe has a python script which *appends* a local directory to sys.path and then tries to include a local module called build. However if python3-build-native is present that is included instead. Fix by prepending the local directory to sys.path instead. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-cts,opengl-es-cts: Upgrade to1.3.3.1 and 3.2.8 respectivelyKhem Raj2022-09-1110-240/+161
| | | | | | | | | | | | | | | | | | | Add needed depednency on vulkan-docs, jsoncpp and python3-xml-native as they are added newly in these versions. Delete patches already applied in this release Backport one amber patch to fix compile with clang Forward port the remaining patches Add mechanism to run target test binaries using qemu usermode Override WAYLAND_SCANNER and WAYLAND_PROTOCOLS_DIR Let these variables be set via cmake cmdline before enquiring via pkg-config Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-3/+3
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vk-gl-cts: fix soname linkingTrevor Woerner2021-09-242-0/+127
| | | | | | | | | The code/build explicitly links to the GL library names instead of their sonames. Update the names that are used for linking so the libraries are found at runtime. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vk-gl-cts: allow the user to specify the targetTrevor Woerner2021-09-241-3/+26
| | | | | | | | | | | | | | When building opengl-es-cts (for example), instead of hard-coding a specific target to build (surfaceless), leave the choice empty by default which instructs the package's build system to search the sysroot and try to determine which target to use (i.e. the "Default" target). Provide overrides (in the form of PACAKGECONFIGs) to allow the user to specify a specific target to build (if they don't want the target selected automatically). Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-032-6/+6
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* vk-gl-cts: Fix O_TRUNC conflict with fcntl.hKhem Raj2021-06-012-0/+41
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vk-gl-cts: Fix build with GCC 11Khem Raj2021-04-298-60/+189
| | | | | | | Add patches to fix with c++17 Forward port musl patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opengl-es-cts: Disable -Wuninitialized for external/amberKhem Raj2021-03-032-0/+30
| | | | | | | | | | | the code in verifier.cc needs to be ported to use enums or memcpy as it violates aliasing rules. Until then disable the warning HexFloat16ToFloat, HexFloat10ToFloat, HexFloat11ToFloat are the functions to be reworked in external/amber/src/src/verifier.cc Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
* opengl-es-cts: Disable LTOKhem Raj2020-11-091-0/+2
| | | | | | It needs upstream support Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-cts: Update to 1.2.3.2Khem Raj2020-08-253-4/+6
| | | | | | | | | Expand SRCREV_FORMAT to cover all repos in SRC_URI Drop using tags since they force bitbake to enquire remote, use corresponding SRCREV instead Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
* opengl-es-cts: Use SECURITY_NOPIE_CFLAGSKhem Raj2020-08-171-0/+2
| | | | | | | | | | | Fixes ERROR: opengl-es-cts-3.2.6.1-r0 do_package_qa: QA Issue: opengl-es-cts: ELF binary /usr/lib/opengl-es-cts/deqp-gles3 has relocations in .text opengl-es-cts: ELF binary /usr/lib/opengl-es-cts/cts-runner has relocations in .text opengl-es-cts: ELF binary /usr/lib/opengl-es-cts/glcts has relocations in .text opengl-es-cts: ELF binary /usr/lib/opengl-es-cts/deqp-gles2 has relocations in .text opengl-es-cts: ELF binary /usr/lib/opengl-es-cts/de-internal-tests has relocations in .text [textrel] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: opengl-es-cts install deqp test runnersAníbal Limón2020-08-041-0/+7
| | | | | Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* khronos-cts: add opengl to REQUIRED_DISTRO_FEATURESMartin Jansa2020-07-281-1/+3
| | | | | | | | | | | * depends on virtual/libgles2, virtual/egl and in DISTROs without opengl causes: ERROR: Nothing PROVIDES 'virtual/libgles2' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb DEPENDS on or otherwise requires it) ERROR: Nothing PROVIDES 'virtual/egl' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb DEPENDS on or otherwise requires it) ERROR: Nothing RPROVIDES 'opengl-es-cts-dev' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb RDEPENDS on or otherwise requires it) ERROR: Nothing RPROVIDES 'opengl-es-cts' (but meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb RDEPENDS on or otherwise requires it) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes-graphics: add Khronos OpenGL ES and Vulkan CTS recipesDmitry Baryshkov2020-07-165-0/+117
Add recipes packaging OpenGL ES and Vulkan conformance test suite recipes. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>