diff mbox series

[meta-oe,67/72] vulkan-cts: upgrade 1.4.5.2 -> 1.4.7.1

Message ID 20261130084643.1500716-68-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upgrades, tip updates, removals and build fixes | expand

Commit Message

Khem Raj Nov. 30, 2026, 8:46 a.m. UTC
1.4.6.0 adds tests for VK_EXT_shader_long_vector,
VK_EXT_ray_tracing_invocation_reorder, VK_EXT_texture_compression_astc_3d,
VK_EXT_shader_subgroup_partitioned, VK_KHR_internally_synchronized_queues,
VK_EXT_map_memory_placed, VK_KHR_device_address_commands,
VK_EXT_descriptor_heap, VK_KHR_device_fault and Roadmap 2026.

1.4.7.0 adds tests for VK_KHR_maintenance11, VK_KHR_shader_abort,
VK_KHR_shader_constant_data, VK_KHR_opacity_micromap,
VK_KHR_extended_flags, VK_KHR_video_encode_feedback2,
VK_EXT_primitive_restart_index, VK_EXT_shader_split_barrier,
VK_EXT_multisampled_render_to_swapchain and
VK_EXT_shader_ocp_microscaling_types.

1.4.7.1 fixes mesh shader, stencil write, R64 vertex buffer,
memory decompression, protected memory and cooperative matrix tests.

Refresh vulkan-cts-sources.inc with generate-srcuri.py; it now includes
VulkanSC-pcutil.

Vulkan-Video-Samples now builds shaderc from source with FetchContent,
which is not in fetch_sources.py. Fetch shaderc v2026.1 (the
SHADERC_VERSION of FindShaderc.cmake) and point
FETCHCONTENT_SOURCE_DIR_SHADERC at it.

Build only deqp-vk. deqp-vksc (Vulkan SC) now needs VulkanSC-pcutil,
whose update_deps.py clones and fetches six more repositories at build
time and builds them without the cross toolchain file.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../vk-gl-cts/vulkan-cts-sources.inc          | 21 ++++++++++---------
 ...n-cts_1.4.5.2.bb => vulkan-cts_1.4.7.1.bb} |  9 ++++++--
 2 files changed, 18 insertions(+), 12 deletions(-)
 rename meta-oe/recipes-graphics/vk-gl-cts/{vulkan-cts_1.4.5.2.bb => vulkan-cts_1.4.7.1.bb} (54%)
diff mbox series

Patch

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 6ebb9c18db..9be5f4a3ed 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,19 +6,20 @@ 
 RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri"
 
 python __anonymous() {
-    if d.getVar("PV") != "1.4.5.2":
+    if d.getVar("PV") != "1.4.7.1":
         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=8a67272ca6c266b21dd0a9548471756a237ebbef \
-    git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=7a47e2531cb334982b2a2dd8513dca0a3de4373d \
-    git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=b824a462d4256d720bebb40e78b9eb8f78bbb305 \
-    git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=60a4ad187cf3be4ede658f0fae7dd392192a314b \
-    git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=0a11cf1257471c22b9e7d620ab48057fb2f53cf9 \
-    git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=9482448393f3f1f75067cc6ba8ad77fda48691c6 \
-    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/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=aaf915a0e08d679d1e8b835c30e6a346ab0c7ad2 \
-    git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \
+    git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=1d0401cd2b68ae34cda9ff625bedd1be4ed6214a \
+    git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=2ff6f609379ce43c4291c732cf6a19dd2461a680 \
+    git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=cb42dec3830d3ac67fa449ecdc0c0f73d5e74498 \
+    git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=01aaacd99480487bf63830959513c5ca8ceb996d \
+    git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=1a06355117c974d9d8034e27e08e45f96b80b24f \
+    git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=c9f1e2871ccbb0b0564c4a33e359801144f6b7c1 \
+    git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=89e2973c754a9c02a49974d839779b151e95afd6 \
+    git://github.com/KhronosGroup/VulkanSC-pcutil.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkansc-pcutil/src;rev=f67d9e8e1c04f179ebeb837d21ab06192ad43fa0 \
+    git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=a193f6496760d69afcd39eab4ae63bf32ec8b5e1 \
+    git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=fc9c40136a8ca36706f138b9e3d67a0cbac25767 \
 "
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.5.2.bb b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.7.1.bb
similarity index 54%
rename from meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.5.2.bb
rename to meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.7.1.bb
index 0dd78620fb..63827ac6a1 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.5.2.bb
+++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.7.1.bb
@@ -2,10 +2,14 @@  DESCRIPTION = "Vulkan CTS"
 
 require khronos-cts.inc
 
-SRCREV_vk-gl-cts = "a02761593aedeb1d3941ddd344ca35d7a2f9de46"
+SRCREV_vk-gl-cts = "0d18b347943e5e843529a05c95220e27fe30c538"
 
 require vulkan-cts-sources.inc
 
+# shaderc for Vulkan-Video-Samples' FetchContent (FindShaderc.cmake SHADERC_VERSION, not in fetch_sources.py)
+SRC_URI += "git://github.com/google/shaderc.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/shaderc/src;rev=301b4ede53d59b68bf55f95bb26412d9233c8187"
+EXTRA_OECMAKE += "-DFETCHCONTENT_SOURCE_DIR_SHADERC=${S}/external/shaderc/src"
+
 # Workaround an optimization bug that breaks createMeshShaderMiscTestsEXT
 OECMAKE_CXX_FLAGS:remove:toolchain-gcc = "-O2"
 
@@ -14,7 +18,8 @@  inherit features_check
 
 DEPENDS += " vulkan-loader"
 
-EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="deqp-vk deqp-vksc""
+# deqp-vksc (Vulkan SC) needs VulkanSC-pcutil, whose update_deps.py fetches at build time
+EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS=deqp-vk"
 
 do_install() {
 	install -d ${D}/${CTSDIR}/mustpass