MCPcopy Create free account
hub / github.com/Unity-Technologies/HLSLcc / GetJumpPoint

Method GetJumpPoint

src/ControlFlowGraphUtils.cpp:35–116  ·  view source on GitHub ↗

For a given flow-control instruction, find the corresponding jump location: If the input is OPCODE_IF, then find the next same-level ELSE or ENDIF +1 For ELSE, find same level ENDIF + 1 For BREAK/BREAKC, find next ENDLOOP or ENDSWITCH + 1 For SWITCH, find next same-level CASE/DEFAULT (skip multiple consecutive case/default labels) or ENDSWITCH + 1 For ENDLOOP, find previous same-level LOOP + 1 For

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected