Skip to content

Update Shaderc to latest version#1

Merged
alexytomi merged 118 commits into
AngelAuraMC:mainfrom
CADIndie:main
Apr 8, 2026
Merged

Update Shaderc to latest version#1
alexytomi merged 118 commits into
AngelAuraMC:mainfrom
CADIndie:main

Conversation

@CADIndie

@CADIndie CADIndie commented Apr 8, 2026

Copy link
Copy Markdown

No description provided.

dneto0 and others added 30 commits September 21, 2023 11:40
This is already covered by the CMAKE_CXX_STANDARD directive
* Roll deps

Roll third_party/glslang/ 76b52ebf7..2bfacdac9 (28 commits)

KhronosGroup/glslang@76b52eb...2bfacda

$ git log 76b52ebf7..2bfacdac9 --date=short --no-merges --format='%ad %ae %s'
2023-09-22 chirsz Improve preprocessor ouput format
2023-08-17 nathaniel Add --no-link option
2023-09-18 49699333+dependabot[bot] Bump github/codeql-action from 2.21.5 to 2.21.7
2023-09-15 nathaniel Fix segfault with atomic arg check
2023-09-10 rex.xu Use std::variant to represent TSpirvTypeParameter
2023-09-11 90873047+sajjadmirzanv Emit correct nonsemantic debug info for explicitly sized types
2023-09-11 49699333+dependabot[bot] Bump actions/upload-artifact from 3.1.2 to 3.1.3
2023-09-11 49699333+dependabot[bot] Bump actions/checkout from 3.6.0 to 4.0.0
2023-09-11 joycebrum Add license to dependabot.yml
2023-09-11 nathaniel Add a generic texel fetch test
2023-09-08 nathaniel Fix textureOffset overload
2023-08-21 arcady kokoro: explicitly set ENABLE_OPT=0 in cmake builds
2023-08-09 arcady cmake: add more verbose messages if SPIRV-Tools is not found
2023-08-23 nathaniel Use temporary parser for mangled names
2023-08-11 nathaniel Add GL_EXT_texture_shadow_lod support
2023-08-23 ralf.habacker Revert "CMake: Make glslang-default-resource-limits STATIC"
2023-08-29 joycebrum Squashed changes about hash pin and dependabot
2023-08-22 nathaniel Fix ByteAddressBuffer as function parameter
2023-08-21 silverclaw Fix ODR violations
2023-08-23 jeremy Update CHANGES for release 13.0.0
2023-08-21 quic_wooykim extension: GL_QCOM_image_processing support
2023-08-18 joycebrum Add badge to README.md
2023-08-18 joycebrum Create scorecard.yml
2023-08-18 nathaniel Fix CI build badge
2023-08-17 sven.vanhaastregt cmake: Don't link SPVRemapper into glslang executable
2023-08-18 silverclaw [cmake] Use CMake property for symbol visibility
2023-03-03 kasper93 Look for external SPIR-V Tools build, if not building in-tree
2023-07-05 rex.xu Spirv_intrinsics: Remove early return in layoutTypeCheck

Created with:
  roll-dep third_party/glslang

Roll third_party/googletest/ c541e7c11..e47544ad3 (46 commits)

google/googletest@c541e7c...e47544a

$ git log c541e7c11..e47544ad3 --date=short --no-merges --format='%ad %ae %s'
2023-09-25 absl-team Resolve `-Wundef` triggering on `GTEST_CREATE_SHARED_LIBRARY` and `GTEST_LINKED_AS_SHARED_LIBRARY` with shared libraries in GoogleTest
2023-09-22 absl-team Update C++ feature detection in `gtest-port.h` to rely on feature test macros where possible.
2023-09-21 absl-team Use `absl::HasAbslStringify`, instead of the internal version.
2023-09-21 dinor googletest: Update absl to version with HasAbslStringify
2023-09-21 mitja Fix compile warnings in gmock-function-mocker.h
2023-09-18 absl-team Update code with IWYU annotations.
2023-09-18 absl-team Use the `empty()` method to check for emptiness instead of `length()`
2023-09-14 hirshleifer GoogleTest FAQ: minor punctuation fixes
2023-09-14 hirshleifer Remove Googletest FAQ entry for obsolete `ProtocolMessageEquals` and `ProtocolMessageEquiv`
2023-09-03 tanzinul.islam Count threads after thread-creation while still holding mutex lock
2023-08-26 tanzinul.islam Reuse TempDir() function
2023-08-25 dinor googletest: Add universal printer for `std::span`
2023-08-22 sch changed http to https
2023-08-22 dinor googletest: Replace http with https in links to docs
2023-08-21 dmauro CI: Update the Linux hybrid-latest docker container used for testing
2023-08-21 absl-team Clean up typos: Exhaused => Exhausted
2023-08-20 elior.s Update advanced.md
2023-08-18 tanzinul.islam Prefer $TMPDIR to /data/local/tmp on Android
2023-08-17 absl-team Improve error message for invalid parameterized test names.
2023-07-26 patryk googletest: ansi color fix
2023-08-15 dinor gtest_help_test: Make method names `snake_case`, conforming with [the style guide](https://google.github.io/styleguide/pyguide#316-naming)
2023-08-15 dinor gtest_help_test: Inline test helper functions
2023-08-15 dinor gtest_help_test: Delete obsolete helper `TestUnknownFlagWithAbseil`
2023-08-11 sch Changed 2 public links from http to https
2023-08-11 sch Changed 3 public links from http to https
2023-08-11 sch Changed 2 public links from http to https
2023-08-11 sch Changed 3 public links from http to https
2023-08-10 absl-team Specify SetUpTestSuite is required to be public.
2023-08-07 yaneurabeya Fix RETest/1.ImplicitConstructorWorks on non-ABSL platforms
2023-08-07 yaneurabeya Fix GTestHelpTest.TestHelpFlag on FreeBSD
2023-08-07 dinor Make references to `#include`s consistent across docs
2023-08-03 elliotgoodrich Remove public includes of `<iomanip>`
2023-08-02 robert.shade Avoid unreachable code warning
2023-08-02 dmauro Update documentation to refer to v1.14
2023-08-02 dmauro Bump version to v1.14 in preparation for release
2023-08-02 dmauro Remove the GTEST_HAS_DOWNCAST_ customization point.
2023-08-02 dmauro Add googletest-message-test to the Bazel tests It appears to have been unintentionally left out
2023-08-01 phoebeliang Make testing::Message support streamed AbslStringify values
2023-08-01 dmauro Update GoogleTest dependencies
2023-07-27 julien.combattelli Use #if and not #ifdef to check filesystem support
2023-07-28 absl-team Adjust includes to use <> instead of "", consistent with quickstart pages.
2023-07-27 patryk gtest: Supress warning about set unused variable
2023-07-21 absl-team Make `AbslStringify` usage public in GoogleTest
2023-07-19 dmauro Remove unused cast implementation
2023-07-19 antsosnin Fix typo in gmock_cook_book.md
2023-07-11 kim.valen Fixed variables that could be declared 'const'

Created with:
  roll-dep third_party/googletest

Roll third_party/spirv-headers/ 124a9665e..79743b899 (9 commits)

KhronosGroup/SPIRV-Headers@124a966...79743b8

$ git log 124a9665e..79743b899 --date=short --no-merges --format='%ad %ae %s'
2023-09-20 fwahlster Add LiteralFloat to operand_kinds (google#380)
2023-09-20 40001162+alelenv Add headers for SPV_NV_displacement_micromap. (google#374)
2023-09-20 fwahlster remove additional version "1.0" from SecondaryViewportRelativeNV (google#379)
2023-09-13 gleese Remove Kernel from ConstantSampler enum values (google#378)
2023-09-13 andrzej.ratajewski Add SPV_INTEL_cache_controls extension support (google#376)
2023-08-23 dneto Validate enums have sensible versions and are visible (google#369)
2023-08-16 viktoria.maksimova Headers support for two Intel extensions (google#356)
2023-08-10 dneto Revert "Merge pull request google#367 from dneto0/coop-matrix-enums-deps"
2023-07-29 konstantin.seurer Add SPV_AMDX_shader_enqueue

Created with:
  roll-dep third_party/spirv-headers

Roll third_party/spirv-tools/ 8e3da01b4..27673a054 (37 commits)

KhronosGroup/SPIRV-Tools@8e3da01...27673a0

$ git log 8e3da01b4..27673a054 --date=short --no-merges --format='%ad %ae %s'
2023-09-26 stevenperron Remove reviewer from autoroller (#5414)
2023-09-20 jeremyg instrument: Use Import linkage for instrumentation functions (#5355)
2023-09-20 stevenperron roll deps (#5408)
2023-09-13 dneto Update SPIRV-Headers, add cache control operand kinds (#5406)
2023-09-11 stevenperron Change autoroll pr review id (#5404)
2023-09-11 andre Check for git repository before git commands (#5403)
2023-09-11 cbeckley Make sure that fragment shader interlock instructions are not removed by DCE (#5400)
2023-09-11 41898282+github-actions[bot] Roll external/re2/ e0077036c..a807e8a3a (6 commits) (#5401)
2023-09-07 brioche val: re-add ImageMSArray validation (#5394)
2023-09-06 stevenperron Add SPV_KHR_physical_storage_buffer to allowlists (#5402)
2023-09-05 stevenperron Fix `AddMemberDecoration` variable names. (#5399)
2023-09-05 brioche opt: add ImageMSArray capability to trim pass. (#5395)
2023-09-05 cbeckley Add SPV_EXT_fragment_shader_interlock to allow lists (#5393)
2023-09-05 brioche opt: add raytracing/rayquery to trim pass (#5397)
2023-09-05 41898282+github-actions[bot] Roll external/re2/ 523f9b097..e0077036c (2 commits) (#5391)
2023-09-05 brioche opt: add Int64 capability to trim pass (#5398)
2023-09-04 brioche NFC: rename tests using capability as prefix (#5396)
2023-09-04 cbeckley opt: add FragmentShader*InterlockEXT to capability trim pass (#5390)
2023-08-30 74101708+mgorchak-blackberry QNX has support for ANSI ESC codes, default terminal is QANSI. (#5387)
2023-08-30 joycebrum Enable OpenSSF Scorecard and Badge (#5377)
2023-08-30 41898282+github-actions[bot] Roll external/re2/ 73031bbc0..523f9b097 (1 commit) (#5389)
2023-08-29 41898282+github-actions[bot] Roll external/googletest/ 460ae9826..8a6feabf0 (1 commit) (#5388)
2023-08-24 41898282+github-actions[bot] roll deps (#5386)
2023-08-23 41898282+github-actions[bot] roll deps (#5384)
2023-08-22 41898282+github-actions[bot] Roll external/googletest/ 9fce54804..61332bd7e (2 commits) (#5383)
2023-08-21 jeremyg opt: Add SwitchDescriptorSetPass (#5375)
2023-08-21 jeremyg linker: Add --use-highest-version option (#5376)
2023-08-19 41898282+github-actions[bot] roll deps (#5382)
2023-08-16 41898282+github-actions[bot] Roll external/googletest/ 7e33b6a1c..987e22561 (5 commits) (#5381)
2023-08-15 quic_wooykim SPV_QCOM_image_processing support (#5223)
2023-08-15 stevenperron Fix failing action when PR is already open. (#5380)
2023-08-15 brioche opt: add bitmask support for capability trimming (#5372)
2023-08-14 41898282+github-actions[bot] Roll external/re2/ 9dc7ae7b5..6148386f0 (3 commits) (#5379)
2023-08-11 viktoria.maksimova Support 2 Intel extensions (#5357)
2023-08-11 41898282+github-actions[bot] roll deps (#5374)
2023-08-10 rharrison Fix -Wunreachable-code-loop-increment warning (#5373)
2023-08-10 brioche enable StorageUniform16 (#5371)

Created with:
  roll-dep third_party/spirv-tools

* Fix expected preprocessing output

It seems like glslang changed the output from the preprocess to output
an extra space that needs to be accounted for.
Glslang GitHub top of tree 2023-10-12
SPIRV-Tools v2023.5.rc1
SPIRV-Headers GitHub top of tree 2023-10-12
)

* OGLCompiler and HLSL have been removed from glslang

This fixes SPIRV-Tools CI-shaderc-smoketest build failure.

* Update Glslang in DEPS

Glslang doesn't support building standalone glslang on Android or iOS.
So build the glslang lib target first, instead of glslang-standalone

---------

Co-authored-by: Juan Ramos <juan@lunarg.com>
* Fix cmake policy CMP0148

* Fix cmake policy CMP0148 on CMakeLists.txt
Glslang: 14.0.0
SPIRV-Headers to 2024-01-01
SPIRV-Tools v2023.6.rc1
Glslang GitHub top of tree today.
SPIRV-Tools GitHub top of tree today.
SPIRV-Headers GitHub top of tree today.
Update to latest Glslang, SPIRV-Tools
Update to SPIRV-Headers pull#414

Adjust to changes Glslang output when not optimizing.
Latest Glslang
Latest SPIRV-Tools
Latest SPIRV-Headers (except NV raw access chains)
Glslang GitHub top of tree
SPIRV-Headers GitHub top of tree
SPIRV-Tools v2024.1.rc1
Top of tree for: Glslang, SPIRV-Tools, SPIRV-Headers
A Glslang test needed an update to work around assumptions of
the sign of a NaN.

Fixes: google#1396
SPIRV-Headers GitHub Main on 2024-04-30
SPIRV-Tools v2024.2.rc1
Glslang GitHub Main on 2024-04-30
Effcee GitHub Main on 2024-04-30
"Sets whether the compiler should generates code for max an min" -> "Sets whether the compiler should generate code for max and min"
* Roll spirv-tools, spirv-headers, and glslang deps
* Modify glslc tests where that depended on SampleCmp HLSL calls since
  glslang generates invalid SPIR-V
dneto0 and others added 29 commits August 7, 2025 12:02
Update badges and download links to VS2022

Remove kokoro build config for MSVC 2019. I have already removed
the branch protection rule requiring it as a check.

Bug: Google-internal bug crbug.com/437082422
Fix the logic when SHADERC_SKIP_EXECUTABLES=ON

* Don't try to install the glslc executable
* Don't try to run tests that invoke glslc
Add an option for shaderc to be able to set the max id bound used in the
compiler. This is useful for user who are hitting the limit, but are
able to use a higher value.

See KhronosGroup/SPIRV-Tools#6260.
The subproject `third_party/abseil_cpp` fails to build due to a missing
system header <linux/futex.h>, likely due to changes introduced in newer
Alpine base images.

This adds the `linux-headers` package to the docker build to provide the
missing header and correct the build.
SPIRV-Tools v2025.5.rc1
It must appear on the third line.

This will prevent accidentally dropping the date.
The missing dates have been messing up the version
number generation for pkg-config processing.
See google#1529
Also update dependencies include:
- Glslang 16.2.0
- SPIRV-Tools v2026.1rc1
- SPIRV-Headers top of tree

Supports VK_EXT_descriptor_heap and other extensions
Extend the expect.ValidaAssemblyFileWithSubstr so it can use
a list of expected strings.
SPIRV-Tools
SPIRV-Headers
Glslang
Create configuration files in the new locations.

Next step: update Google-internal configuration to point to them
And then: remove the old files in GitHub

Issue: crbug.com/490434064
Each config is in its own dir, often delegating to
a common kokoro/scripts file.

Bug: crbug.com/490434064
# Conflicts:
#	Android.mk
#	CHANGES
#	CMakeLists.txt
#	DEPS
#	cmake/setup_build.cmake
#	libshaderc/src/shaderc.cc
#	libshaderc_util/src/compiler.cc
@alexytomi alexytomi merged commit 7bcc567 into AngelAuraMC:main Apr 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.