MCPcopy Create free account
hub / github.com/Inori/GPCS4 / opBranchConditional

Method opBranchConditional

GPCS4/Graphics/SpirV/SpirvModule.cpp:3621–3629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3619
3620
3621 void SpirvModule::opBranchConditional(
3622 uint32_t condition,
3623 uint32_t trueLabel,
3624 uint32_t falseLabel) {
3625 m_code.putIns (spv::OpBranchConditional, 4);
3626 m_code.putWord(condition);
3627 m_code.putWord(trueLabel);
3628 m_code.putWord(falseLabel);
3629 }
3630
3631
3632 void SpirvModule::opSwitch(

Callers 6

emitWholeQuadModeMethod · 0.80
emitCsLaneReadMethod · 0.80
emitComputeDivergenceMethod · 0.80
emitControlFlowEndIfMethod · 0.80
emitControlFlowLoopMethod · 0.80

Calls 2

putInsMethod · 0.80
putWordMethod · 0.80

Tested by

no test coverage detected