From: Wang Mingyu Date: Tue, 12 Nov 2024 09:24:04 +0000 (+0800) Subject: glslang: upgrade 1.3.290.0 -> 1.3.296.0 X-Git-Tag: yocto-5.2~1335 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=764609ad9106b9a735dff52083e011353ef77c7e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git glslang: upgrade 1.3.290.0 -> 1.3.296.0 0001-generate-glslang-pkg-config.patch refreshed for 1.3.296.0 Changelog: =========== * Explicitly export all symbols that are part of the public API and hide other symbols by default * Allow building glslang without the SPIR-V backend using the new ENABLE_SPIRV build option * Add setResourceSetBinding method to the API * Add interface to get the GLSL IO mapper and resolver * Allow compute derivative modes when the workgroup dimensions are spec constants * Improve debug location of branch/return instructions * Silence preprocessor '#' error reporting in inactive #if/#ifdef/#elif/#else blocks * Apply GLSL memory decorations to top-level OpVariable * Move definition of GLSLANG_EXPORT to visibility.h * Merge ancillary libraries into main glslang library and stub originals * Add public setSourceFile and addSourceText methods to TShader class * Add type checks for hitObjectNV * Add optimizerAllowExpandedIDBound to SpvOptions * Add SpvTools.h back to public headers * Add cross-stage check for missing outputs * Fix HLSL offsets for non-buffers * Add types and functions for IO mapping to API * Add function to set preprocessed code to API * Add set/get version functions to API * Expose setGlobalUniform functions to API * Don't emit debug instructions before an OpPhi * Add command-line and API option to enable reporting column location for compiler errors * Improve location aliasing checks * Support constant expression calculated by matrixCompMult * Fix crash caused by atomicCounter() use without arguments * Fix multi-line function call line numbers * Add line info to OpDebugDeclare for function parameters * Fix HLSL OpDebugFunction file name * Fix duplicate decorations * Enable compilation of glslang without thread support for WASI Signed-off-by: Wang Mingyu Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/glslang/glslang/0001-generate-glslang-pkg-config.patch b/meta/recipes-graphics/glslang/glslang/0001-generate-glslang-pkg-config.patch index f8c0fc64c82..04dab677732 100644 --- a/meta/recipes-graphics/glslang/glslang/0001-generate-glslang-pkg-config.patch +++ b/meta/recipes-graphics/glslang/glslang/0001-generate-glslang-pkg-config.patch @@ -1,4 +1,4 @@ -From 0311dfd63ea41abb45aaf0f4ccc674f574ce639e Mon Sep 17 00:00:00 2001 +From df6111570ada81d3968043decb5eee16dc5f9fa1 Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Sun, 7 Feb 2021 01:30:39 +0000 Subject: [PATCH] generate glslang pkg-config @@ -15,10 +15,10 @@ Signed-off-by: Jose Quaresma create mode 100644 glslang/glslang.pc.cmake.in diff --git a/glslang/CMakeLists.txt b/glslang/CMakeLists.txt -index 8d4b1e9c..717c6d47 100644 +index 47925d8d..d90191c3 100644 --- a/glslang/CMakeLists.txt +++ b/glslang/CMakeLists.txt -@@ -235,6 +235,8 @@ if(GLSLANG_ENABLE_INSTALL) +@@ -255,6 +255,8 @@ if(GLSLANG_ENABLE_INSTALL) install(TARGETS MachineIndependent EXPORT glslang-targets) install(TARGETS GenericCodeGen EXPORT glslang-targets) endif() diff --git a/meta/recipes-graphics/glslang/glslang_1.3.290.0.bb b/meta/recipes-graphics/glslang/glslang_1.3.296.0.bb similarity index 96% rename from meta/recipes-graphics/glslang/glslang_1.3.290.0.bb rename to meta/recipes-graphics/glslang/glslang_1.3.296.0.bb index d6ee46de1ed..3b66e3544c0 100644 --- a/meta/recipes-graphics/glslang/glslang_1.3.290.0.bb +++ b/meta/recipes-graphics/glslang/glslang_1.3.296.0.bb @@ -8,7 +8,7 @@ HOMEPAGE = "https://www.khronos.org/opengles/sdk/tools/Reference-Compiler" LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2a2b5acd7bc4844964cfda45fe807dc3" -SRCREV = "fa9c3deb49e035a8abcabe366f26aac010f6cbfb" +SRCREV = "46ef757e048e760b46601e6e77ae0cb72c97bd2f" SRC_URI = "git://github.com/KhronosGroup/glslang.git;protocol=https;branch=main \ file://0001-generate-glslang-pkg-config.patch \ "