Godot Engine – Multi-platform 2D and 3D game engine
Thirdparty: Update re-spirv to 29a77fc
demolke076f30c19d43
diff --git a/thirdparty/README.md b/thirdparty/README.mdindex e094422d7a2..916fb2e0a70 100644--- a/thirdparty/README.md+++ b/thirdparty/README.md@@ -952,7 +952,7 @@ Files extracted from upstream source:## re-spirv- Upstream: https://github.com/renderbag/re-spirv-- Version: git (ff2b1a506b0d4310702b5772fff901a626ffaaa1, 2026)+- Version: git (29a77fca357567d00aa37b8ffde19c19cfe477c4, 2026)- License: MITFiles extracted from upstream source:diff --git a/thirdparty/re-spirv/re-spirv.cpp b/thirdparty/re-spirv/re-spirv.cppindex 7f3a2461996..17345931396 100644--- a/thirdparty/re-spirv/re-spirv.cpp+++ b/thirdparty/re-spirv/re-spirv.cpp@@ -2822,13 +2822,13 @@ namespace respv {if (terminatorReduced) {// If there's a selection merge before this branch, we place the unconditional branch in its place.- const uint32_t mergeWordCount = 3;- uint32_t mergeWordIndex = wordIndex - mergeWordCount;+ uint32_t mergeInstructionIndex = pInstructionIndex - 1;+ uint32_t mergeWordIndex = rContext.shader.instructions[mergeInstructionIndex].wordIndex;SpvOp mergeOpCode = SpvOp(optimizedWords[mergeWordIndex] & 0xFFFFU);uint32_t patchWordIndex;if (mergeOpCode == SpvOpSelectionMerge) {- optimizerReduceLabelDegree(pInstructionIndex, optimizedWords[mergeWordIndex + 1], rContext);+ optimizerReduceLabelDegree(mergeInstructionIndex, optimizedWords[mergeWordIndex + 1], rContext);patchWordIndex = mergeWordIndex;}else {