Skip to contentSkip to conversation

vulkan-cts: upgrade 1.4.3.3 -> 1.4.4.0

PATCH In review Dmitry Baryshkov 2 participants 4 messages Oct 22, 2025 – Oct 28, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 vulkan-cts: upgrade 1.4.3.3 -> 1.4.4.0

Upgrade Vulkan CTS in order to pick up tests for new extension and also some fixes or old tests.

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

I'm seeing compile issues with this version bump patch on 32bit builds.

.../work/armv7at2hf-vfp-oe-linux-gnueabi/vulkan-cts/1.4.4.0/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/15.2.0/include/arm_neon.h:11019:1: error: inlining failed in call to 'always_inline' 'uint8x16_t vld1q_u8(const uint8_t*)': target specific option mismatch 11019 | vld1q_u8 (const uint8_t * __a)

      | ^~~~~~~~
.../work/armv7at2hf-vfp-oe-linux-gnueabi/vulkan-cts/1.4.4.0/sources/vulkan-cts-1.4.4.0/external/vulkan-video-samples/src/vk_video_decoder/libs/NvVideoParser/src/NextStartCodeNEON.cpp:22:36: note: called from here
   22 |         uint8x16_t vdata = vld1q_u8(pdatain);
      |                            ~~~~~~~~^~~~~~~~~

A bunch of these errors.

I've been staring at it and looking at the header and the source and cannot for the life of me see what the compiler is complaining about...

If I revert this patch, the previous version (1.4.3.3) still builds fine.

Quoted 115 lines · Dmitry Baryshkov via lists.openembedded.org

Upgrade Vulkan CTS in order to pick up tests for new extension and also some fixes or old tests.

---
  ...01-decode-fix-build-on-ARMv7-targets.patch | 33 +++++++++++++++++++
  .../vk-gl-cts/vulkan-cts-sources.inc          | 15 ++++-----
  ...n-cts_1.4.3.3.bb => vulkan-cts_1.4.4.0.bb} |  4 ++-
  3 files changed, 43 insertions(+), 9 deletions(-)

create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-decode-fix-build-on-ARMv7-targets.patch rename meta-oe/recipes-graphics/vk-gl-cts/{vulkan-cts_1.4.3.3.bb => vulkan-cts_1.4.4.0.bb} (80%)

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

Links: You receive all messages sent to this group.
View/Reply Online (#120894): https://lists.openembedded.org/g/openembedded-devel/message/120894
Mute This Topic: https://lists.openembedded.org/mt/115890764/6551054
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#2 lore raw
Quoted 9 lines · Ryan Eatmon

I'm seeing compile issues with this version bump patch on 32bit builds.

.../work/armv7at2hf-vfp-oe-linux-gnueabi/vulkan-cts/1.4.4.0/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/15.2.0/include/arm_neon.h:11019:1:
error: inlining failed in call to 'always_inline' 'uint8x16_t
vld1q_u8(const uint8_t*)': target specific option mismatch
11019 | vld1q_u8 (const uint8_t * __a)

Quoted 8 lines
       | ^~~~~~~~
.../work/armv7at2hf-vfp-oe-linux-gnueabi/vulkan-cts/1.4.4.0/sources/vulkan-cts-1.4.4.0/external/vulkan-video-samples/src/vk_video_decoder/libs/NvVideoParser/src/NextStartCodeNEON.cpp:22:36:
note: called from here
    22 |         uint8x16_t vdata = vld1q_u8(pdatain);
       |                            ~~~~~~~~^~~~~~~~~

A bunch of these errors.

What is your target machine? I tested this with qemuarm, there are no build errors.

Quoted 5 lines

I've been staring at it and looking at the header and the source and cannot for the life of me see what the compiler is complaining about...

If I revert this patch, the previous version (1.4.3.3) still builds fine.

Signature · 2 lines
With best wishes
Dmitry
#3 lore raw
Quoted 17 lines · Dmitry Baryshkov
Quoted 16 lines · Ryan Eatmon

I'm seeing compile issues with this version bump patch on 32bit builds.

.../work/armv7at2hf-vfp-oe-linux-gnueabi/vulkan-cts/1.4.4.0/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/15.2.0/include/arm_neon.h:11019:1:
error: inlining failed in call to 'always_inline' 'uint8x16_t
vld1q_u8(const uint8_t*)': target specific option mismatch
11019 | vld1q_u8 (const uint8_t * __a)

        | ^~~~~~~~
.../work/armv7at2hf-vfp-oe-linux-gnueabi/vulkan-cts/1.4.4.0/sources/vulkan-cts-1.4.4.0/external/vulkan-video-samples/src/vk_video_decoder/libs/NvVideoParser/src/NextStartCodeNEON.cpp:22:36:
note: called from here
     22 |         uint8x16_t vdata = vld1q_u8(pdatain);
        |                            ~~~~~~~~^~~~~~~~~
Quoted 4 lines
Quoted 1 line

A bunch of these errors.

What is your target machine? I tested this with qemuarm, there are no build errors.

meta-ti-bsp, am57xx-evm is what I was testing with, but it's occurring with all of our 32 bit platforms.

Quoted 7 lines
Quoted 5 lines

I've been staring at it and looking at the header and the source and cannot for the life of me see what the compiler is complaining about...

If I revert this patch, the previous version (1.4.3.3) still builds fine.

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS