Thirdparty: Update re-spirv to 29a77fc
This commit is contained in:
Vendored
+1
-1
@@ -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:
|
||||
|
||||
Vendored
+3
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user