Repository: KhronosGroup/SPIRV-Tools (language: python)

Issue:
trunk build breaks: src/SPIRV-Tools/test/enum_set_test.cpp:280:22: error: ‘LongConstantCompositeINTEL’ is not a member of ‘spv::Capability’; did you mean ‘LongCompositesINTEL’?
spirv-tools trunk rev 6b4f0c9d0b7d02db5ed0b03433ae62c03bbff722


https://github.com/KhronosGroup/SPIRV-Headers/commit/d5acd42cb7cdaa5d0f2c5f739208eeeed395f491 introduced a change that breaks build .

Although the fix for spirv-tools is simple, spirv-llvm-translator trunk breaks also.

The MR the spirv-headers commit comes from has this comment in https://github.com/KhronosGroup/SPIRV-Headers/pull/375#issuecomment-1843286088

> Merging as discussed in the December 6th teleconference. If this breaks tooling we will need to fix it promptly


Discussion / hints:

Fix patch:
diff --git a/DEPS b/DEPS
index 0b06cffd1c..a27f4fca18 100644
--- a/DEPS
+++ b/DEPS
@@ -13,7 +13,7 @@ vars = {
   'protobuf_revision': 'v21.12',
 
   're2_revision': '7e0c1a9e2417e70e5f0efc323267ac71d1fa0685',
-  'spirv_headers_revision': 'cca08c63cefa129d082abca0302adcb81610b465',
+  'spirv_headers_revision': '1c6bb2743599e6eb6f37b2969acc0aef812e32e3',
 }
 
 deps = {


Test patch:
diff --git a/test/enum_set_test.cpp b/test/enum_set_test.cpp
index 7a6e4caba1..11105f9918 100644
--- a/test/enum_set_test.cpp
+++ b/test/enum_set_test.cpp
@@ -277,7 +277,7 @@ constexpr std::array kCapabilities{
     spv::Capability::GroupNonUniformRotateKHR,
     spv::Capability::AtomicFloat32AddEXT,
     spv::Capability::AtomicFloat64AddEXT,
-    spv::Capability::LongConstantCompositeINTEL,
+    spv::Capability::LongCompositesINTEL,
     spv::Capability::OptNoneINTEL,
     spv::Capability::AtomicFloat16AddEXT,
     spv::Capability::DebugInfoModuleINTEL,