diff options
| -rw-r--r-- | meta-oe/recipes-graphics/vk-gl-cts/files/0001-decode-fix-build-on-ARMv7-targets.patch | 33 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc | 15 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.4.0.bb (renamed from meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.3.3.bb) | 4 |
3 files changed, 43 insertions, 9 deletions
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-decode-fix-build-on-ARMv7-targets.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-decode-fix-build-on-ARMv7-targets.patch new file mode 100644 index 0000000000..d8680a292b --- /dev/null +++ b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-decode-fix-build-on-ARMv7-targets.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 16d72de3280410b185f33e489727761096a2e6e4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | ||
| 3 | Date: Wed, 22 Oct 2025 14:34:22 +0300 | ||
| 4 | Subject: [PATCH] decode: fix build on ARMv7 targets | ||
| 5 | |||
| 6 | Building NEON code on ARMv7 fails with the following error: | ||
| 7 | |||
| 8 | ...../src/NextStartCodeNEON.cpp:39:57: error: cannot convert 'uint8x8_t' to 'uint64x1_t' | ||
| 9 | |||
| 10 | Add missing vreinterpret call in order to fix that error. | ||
| 11 | |||
| 12 | Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | ||
| 13 | Upstream-Status: Submitted [https://github.com/KhronosGroup/Vulkan-Video-Samples/pull/109] | ||
| 14 | --- | ||
| 15 | vk_video_decoder/libs/NvVideoParser/src/NextStartCodeNEON.cpp | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/vk_video_decoder/libs/NvVideoParser/src/NextStartCodeNEON.cpp b/vk_video_decoder/libs/NvVideoParser/src/NextStartCodeNEON.cpp | ||
| 19 | index f1a3381d7122..2c695a924ebd 100644 | ||
| 20 | --- a/vk_video_decoder/libs/NvVideoParser/src/NextStartCodeNEON.cpp | ||
| 21 | +++ b/vk_video_decoder/libs/NvVideoParser/src/NextStartCodeNEON.cpp | ||
| 22 | @@ -36,7 +36,7 @@ size_t VulkanVideoDecoder::next_start_code<SIMD_ISA::NEON>(const uint8_t *pdatai | ||
| 23 | #if defined (__aarch64__) || defined(_M_ARM64) | ||
| 24 | uint64_t resmask = vmaxvq_u8(vmask); | ||
| 25 | #else | ||
| 26 | - uint64_t resmask = vget_lane_u64(vmax_u8(vget_low_u8(vmask), vget_high_u8(vmask)), 0); | ||
| 27 | + uint64_t resmask = vget_lane_u64(vreinterpret_u64_u8(vmax_u8(vget_low_u8(vmask), vget_high_u8(vmask))), 0); | ||
| 28 | #endif | ||
| 29 | if (resmask) | ||
| 30 | { | ||
| 31 | -- | ||
| 32 | 2.51.0 | ||
| 33 | |||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc index 6a8d781447..a403278699 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc +++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc | |||
| @@ -6,20 +6,19 @@ | |||
| 6 | RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" | 6 | RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" |
| 7 | 7 | ||
| 8 | python __anonymous() { | 8 | python __anonymous() { |
| 9 | if d.getVar("PV") != "1.4.3.3": | 9 | if d.getVar("PV") != "1.4.4.0": |
| 10 | bb.warn("-sources.inc out of date, run refresh_srcuri task") | 10 | bb.warn("-sources.inc out of date, run refresh_srcuri task") |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | SRC_URI += " \ | 13 | SRC_URI += " \ |
| 14 | https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ | 14 | https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ |
| 15 | git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=f06e0f3d2e5acfe4b14e714e4103dd1ccdb237e5 \ | 15 | git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=b8b90dba56eb8c75050a712188d662fd51c953df \ |
| 16 | git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=963588074b26326ff0426c8953c1235213309bdb \ | 16 | git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=38f6708b6b6f213010c51ffa8f577a7751e12ce7 \ |
| 17 | git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=6d0784e9f1ab92c17eeea94821b2465c14a52be9 \ | 17 | git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=97e96f9e9defeb4bba3cfbd034dec516671dd7a3 \ |
| 18 | git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=112aee75d162412a4623e7d22a3de52e0233cbf5 \ | 18 | git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=9c6d565f72ba6929c239c3e20f90b6375acad3bd \ |
| 19 | git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=6ae58a2b17b2bcebdc5377995007391b85ffa10f \ | 19 | git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=68e4cdd8269c2af39aa16793c9089d1893eae972 \ |
| 20 | git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=57ba1ca211b6f4890c013dcf42cb16069ae916dd \ | 20 | git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=57ba1ca211b6f4890c013dcf42cb16069ae916dd \ |
| 21 | git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ | 21 | git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ |
| 22 | git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ | 22 | git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=56a40ba4199e5500b2a7540c15dc139fc4b19595 \ |
| 23 | git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=a22e0084e6f38a16dc0dcebb4c19a14651a6665b \ | ||
| 24 | git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ | 23 | git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ |
| 25 | " | 24 | " |
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.3.3.bb b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.4.0.bb index ca653aad13..465ac981f9 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.3.3.bb +++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.4.0.bb | |||
| @@ -2,10 +2,12 @@ DESCRIPTION = "Vulkan CTS" | |||
| 2 | 2 | ||
| 3 | require khronos-cts.inc | 3 | require khronos-cts.inc |
| 4 | 4 | ||
| 5 | SRCREV_vk-gl-cts = "f36967dd19034bdfe30e5cb21544079078c154d1" | 5 | SRCREV_vk-gl-cts = "03c0746a55b78eab63c664a11948b52419e1f309" |
| 6 | 6 | ||
| 7 | require vulkan-cts-sources.inc | 7 | require vulkan-cts-sources.inc |
| 8 | 8 | ||
| 9 | SRC_URI:append = " file://0001-decode-fix-build-on-ARMv7-targets.patch;patchdir=external/vulkan-video-samples/src" | ||
| 10 | |||
| 9 | # Workaround an optimization bug that breaks createMeshShaderMiscTestsEXT | 11 | # Workaround an optimization bug that breaks createMeshShaderMiscTestsEXT |
| 10 | OECMAKE_CXX_FLAGS:remove:toolchain-gcc = "-O2" | 12 | OECMAKE_CXX_FLAGS:remove:toolchain-gcc = "-O2" |
| 11 | 13 | ||
