mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-29 12:15:30 +00:00
Updated spirv-tools.
This commit is contained in:
@@ -58,15 +58,9 @@ void BasicBlock::RegisterSuccessors(
|
||||
for (auto& block : next_blocks) {
|
||||
block->predecessors_.push_back(this);
|
||||
successors_.push_back(block);
|
||||
if (block->reachable_ == false) block->set_reachable(reachable_);
|
||||
}
|
||||
}
|
||||
|
||||
void BasicBlock::RegisterBranchInstruction(SpvOp branch_instruction) {
|
||||
if (branch_instruction == SpvOpUnreachable) reachable_ = false;
|
||||
return;
|
||||
}
|
||||
|
||||
bool BasicBlock::dominates(const BasicBlock& other) const {
|
||||
return (this == &other) ||
|
||||
!(other.dom_end() ==
|
||||
|
||||
Reference in New Issue
Block a user