summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/vk-gl-cts
Commit message (Collapse)AuthorAgeFilesLines
* 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>