Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KhronosGroup/glslang
/ createLoopExit
Method
createLoopExit
SPIRV/SpvBuilder.cpp:4592–4597 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4590
}
4591
4592
void Builder::createLoopExit()
4593
{
4594
createBranch(false, &loops.top().merge);
4595
// Set up a block for dead code.
4596
createAndSetNoPredecessorBlock(
"post-loop-break"
);
4597
}
4598
4599
void Builder::closeLoop()
4600
{
Callers
1
visitBranch
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected