Skip to contentSkip to conversation

vulkan-cts: Upgrade to 1.3.7.3

PATCH New Khem Raj 1 participant 1 message Jan 26, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 vulkan-cts: Upgrade to 1.3.7.3

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

---
 ...LAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch | 20 ++----
 .../files/0001-include-missing-cstdint.patch  | 61 -------------------
 .../vk-gl-cts/khronos-cts.inc                 |  3 +-
 ...0001-use-library-sonames-for-linking.patch |  0
 .../vk-gl-cts/opengl-es-cts_3.2.9.3.bb        |  4 ++
 ...0001-use-library-sonames-for-linking.patch |  4 +-
 ...n-cts_1.3.3.1.bb => vulkan-cts_1.3.7.3.bb} | 24 +++++---
 7 files changed, 27 insertions(+), 89 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-include-missing-cstdint.patch
 copy meta-oe/recipes-graphics/vk-gl-cts/{files => opengl-es-cts}/0001-use-library-sonames-for-linking.patch (100%)
 rename meta-oe/recipes-graphics/vk-gl-cts/{files => vulkan-cts}/0001-use-library-sonames-for-linking.patch (96%)
 rename meta-oe/recipes-graphics/vk-gl-cts/{vulkan-cts_1.3.3.1.bb => vulkan-cts_1.3.7.3.bb} (53%)
meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch +6 -14
index d7000b7da1..f659e36066 100644
@@ -13,25 +13,17 @@ Signed-off-by: Khem Raj <[email protected]>
  framework/platform/CMakeLists.txt | 8 ++++++--
  1 file changed, 6 insertions(+), 2 deletions(-)
 
-diff --git a/framework/platform/CMakeLists.txt b/framework/platform/CMakeLists.txt
-index c3ac463e4..030163f6c 100644
 --- a/framework/platform/CMakeLists.txt
 +++ b/framework/platform/CMakeLists.txt
-@@ -73,8 +73,12 @@ if (NOT DEFINED TCUTIL_PLATFORM_SRCS)
+@@ -73,8 +73,9 @@ if (NOT DEFINED TCUTIL_PLATFORM_SRCS)
  			add_definitions(-DDEQP_SUPPORT_WAYLAND=1)
  			include_directories(lnx/wayland)
  
 -			pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)
--			pkg_get_variable(WAYLAND_SCANNER wayland-scanner wayland_scanner)
-+			if (NOT DEFINED WAYLAND_PROTOCOLS_DIR)
+-
++			if (NOT WAYLAND_PROTOCOLS_DIR)
 +				pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)
 +			endif()
-+			if (NOT DEFINED WAYLAND_SCANNER)
-+				pkg_get_variable(WAYLAND_SCANNER wayland-scanner wayland_scanner)
-+			endif()
- 
- 			set(DEQP_XDG_SHELL_PROTOCOL ${WAYLAND_PROTOCOLS_DIR}/stable/xdg-shell/xdg-shell.xml)
- 			set(DEQP_XDG_SHELL_GEN_OUTPUTS_DIR ${PROJECT_BINARY_DIR}/framework/platform)
--- 
-2.37.3
-
+ 			if (NOT WAYLAND_SCANNER)
+ 				pkg_get_variable(WAYLAND_SCANNER wayland-scanner wayland_scanner)
+ 			endif()
meta-oe/recipes-graphics/vk-gl-cts/files/0001-include-missing-cstdint.patch deleted +0 -61

61 lines not on this page · raw message

meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc +1 -2
index 04e4227915..09f1fbcaee 100644
@@ -11,8 +11,7 @@ SRC_URI = "\
         git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;destsuffix=git/external/vulkan-docs/src;name=vulkan-docs;branch=main \
         https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=git/external/renderdoc/src;name=renderdoc \
         git://github.com/Igalia/ESExtractor.git;protocol=https;destsuffix=git/external/ESExtractor/src;name=ESExtractor;branch=main \
-        git://github.com/nvpro-samples/vk_video_samples.git;protocol=https;destsuffix=git/external/video-parser/src;name=video-parser;branch=main \
-        file://gen-framework-path.patch \
+        git://github.com/Igalia/vk_video_samples.git;protocol=https;destsuffix=git/external/nvidia-video-samples/src;name=video-parser;nobranch=1 \
 "
 
 S = "${WORKDIR}/git"
meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts/0001-use-library-sonames-for-linking.patch renamed from meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch +0 -0
similarity index 100%
copy from meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch
copy to meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts/0001-use-library-sonames-for-linking.patch
meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb +4 -0
index 67ce5f2b9d..0656d724b4 100644
@@ -14,6 +14,10 @@ SRCREV_vulkan-docs = "9a2e576a052a1e65a5d41b593e693ff02745604b"
 SRCREV_video-parser = "7d68747d3524842afaf050c5e00a10f5b8c07904"
 SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e"
 
+SRC_URI += "\
+        git://github.com/nvpro-samples/vk_video_samples.git;protocol=https;destsuffix=git/external/video-parser/src;name=video-parser;branch=main \
+        file://gen-framework-path.patch \
+        "
 S = "${WORKDIR}/git"
 
 do_install() {
meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts/0001-use-library-sonames-for-linking.patch renamed from meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch +2 -2
similarity index 96%
rename from meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch
rename to meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts/0001-use-library-sonames-for-linking.patch
index b5a1d331ed..f12abd0c1a 100644
@@ -103,10 +103,10 @@ Signed-off-by: Trevor Woerner <[email protected]>
  #endif
  
  #if !defined(DEQP_VULKAN_LIBRARY_PATH)
-@@ -234,7 +234,7 @@ glu::RenderContext* ContextFactory::crea
+@@ -237,7 +237,7 @@ glu::RenderContext* ContextFactory::crea
  }
  
- EglRenderContext::EglRenderContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine)
+ EglRenderContext::EglRenderContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext *sharedContext)
 -	: m_egl("libEGL.so")
 +	: m_egl("libEGL.so.1")
  	, m_contextType(config.type)
meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb renamed from meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.3.1.bb +14 -10
similarity index 53%
rename from meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.3.1.bb
rename to meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb
index f491385b33..1008a5fd42 100644
@@ -1,24 +1,28 @@
 DESCRIPTION = "Vulkan CTS"
 
 require khronos-cts.inc
-# vulkan-cts-1.3.3.1
-SRCREV_vk-gl-cts = "6024a88390942876147a88dce82bbed73b866c1b"
-SRCREV_amber = "8b145a6c89dcdb4ec28173339dd176fb7b6f43ed"
-SRCREV_glslang = "7dda6a6347b0bd550e202942adee475956ef462a"
-SRCREV_spirv-headers = "b765c355f488837ca4c77980ba69484f3ff277f5"
-SRCREV_spirv-tools = "b930e734ea198b7aabbbf04ee1562cf6f57962f0"
+
+SRC_URI += "git://github.com/Igalia/vk_video_samples.git;protocol=https;destsuffix=git/external/nvidia-video-samples/src;name=video-parser;nobranch=1"
+
+# vulkan-cts-1.3.7.3
+SRCREV_vk-gl-cts = "d71a36db16d98313c431829432a136dbda692a08"
+SRCREV_amber = "933ecb4d6288675a92eb1650e0f52b1d7afe8273"
+SRCREV_glslang = "c5117b328afc86e16edff6ed6afe0fe7872a7cf3"
+SRCREV_spirv-headers = "b8b9eb8640c8c0107ba580fbcb10f969022ca32c"
+SRCREV_spirv-tools = "bfc94f63a7adbcf8ae166f5f108ac9f69079efc0"
 SRCREV_jsoncpp = "9059f5cad030ba11d37818847443a53918c327b1"
-SRCREV_vulkan-docs = "9b5562187a8ad72c171410b036ceedbc450153ba"
+SRCREV_vulkan-docs = "b9aad705f0d9e5e6734ac2ad671d5d1de57b05e0"
 SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e"
 # Not yet needed
-SRCREV_ESExtractor = "ce5d7ebcf0ebb0d78385ee4cc34653eb6764bfc4"
-SRCREV_video-parser = "7d68747d3524842afaf050c5e00a10f5b8c07904"
+SRCREV_ESExtractor = "75ffcaf55bb069f7a23764194742d2fb78c7f71f"
+SRCREV_video-parser = "138bbe048221d315962ddf8413aa6a08cc62a381"
 
 SRC_URI += "file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch \
             file://0001-vulkan-cts-include-missing-cstdint.patch \
-            file://0001-include-missing-cstdint.patch;patchdir=external/amber/src \
 "
 
+TOOLCHAIN = "gcc"
+
 S = "${WORKDIR}/git"
 
 REQUIRED_DISTRO_FEATURES = "vulkan"
Signature · 1 line
2.43.0