This commit is contained in:
nmzik
2026-09-05 06:53:59 +04:00
parent 74a78f37d0
commit e8e580cf6c
5 changed files with 6 additions and 5 deletions
@@ -1341,7 +1341,7 @@ bool IsolateSemanticLoopHeaders(Graph& graph) {
// SPIR-V requires OpLoopMerge and its branch to remain in the loop header's
// physical block. Keep that header as a dedicated control node, exactly like
// the separate Loop node in shadPS4's structured AST. Guest instructions live
// a separate Loop node in a structured AST. Guest instructions live
// in the body so later translation may introduce bounds/EXEC control flow without
// displacing OpLoopMerge into a helper-created block.
if (!IsolateSemanticLoopHeader(graph, loop->header)) {