diff mbox series

[08/47] glslang: upgrade 1.3.290.0 -> 1.3.296.0

Message ID 1731403483-21399-8-git-send-email-wangmy@fujitsu.com
State New
Headers show
Series [01/47] barebox-tools: upgrade 2024.09.0 -> 2024.10.0 | expand

Commit Message

Mingyu Wang (Fujitsu) Nov. 12, 2024, 9:24 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

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 <wangmy@fujitsu.com>
---
 .../glslang/glslang/0001-generate-glslang-pkg-config.patch  | 6 +++---
 .../glslang/{glslang_1.3.290.0.bb => glslang_1.3.296.0.bb}  | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-graphics/glslang/{glslang_1.3.290.0.bb => glslang_1.3.296.0.bb} (96%)

Comments

Alexander Kanavin Nov. 12, 2024, 10:10 a.m. UTC | #1
This needs to be updated in lockstep with all other vulkan recipes,
and the recipe has a comment about it.

Alex

On Tue, 12 Nov 2024 at 10:25, wangmy via lists.openembedded.org
<wangmy=fujitsu.com@lists.openembedded.org> wrote:
>
> From: Wang Mingyu <wangmy@fujitsu.com>
>
> 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 <wangmy@fujitsu.com>
> ---
>  .../glslang/glslang/0001-generate-glslang-pkg-config.patch  | 6 +++---
>  .../glslang/{glslang_1.3.290.0.bb => glslang_1.3.296.0.bb}  | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
>  rename meta/recipes-graphics/glslang/{glslang_1.3.290.0.bb => glslang_1.3.296.0.bb} (96%)
>
> 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 f8c0fc64c8..04dab67773 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 <quaresma.jose@gmail.com>
>  Date: Sun, 7 Feb 2021 01:30:39 +0000
>  Subject: [PATCH] generate glslang pkg-config
> @@ -15,10 +15,10 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
>   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 d6ee46de1e..3b66e3544c 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 \
>             "
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#206994): https://lists.openembedded.org/g/openembedded-core/message/206994
> Mute This Topic: https://lists.openembedded.org/mt/109531965/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

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 f8c0fc64c8..04dab67773 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 <quaresma.jose@gmail.com>
 Date: Sun, 7 Feb 2021 01:30:39 +0000
 Subject: [PATCH] generate glslang pkg-config
@@ -15,10 +15,10 @@  Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
  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 d6ee46de1e..3b66e3544c 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 \
            "