Thirdparty: Update re-spirv to 29a77fc

This commit is contained in:
demolke
2026-05-25 18:16:32 +02:00
parent fa6cad230f
commit 076f30c19d
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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: MIT
Files extracted from upstream source:
+3 -3
View File
@@ -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 {