mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 02:10:51 +00:00
Updated spirv-tools.
This commit is contained in:
@@ -248,7 +248,8 @@ BasicBlock* BasicBlock::SplitBasicBlock(IRContext* context, uint32_t label_id,
|
||||
function_->InsertBasicBlockAfter(std::move(new_block_temp), this);
|
||||
|
||||
new_block->insts_.Splice(new_block->end(), &insts_, iter, end());
|
||||
new_block->SetParent(GetParent());
|
||||
assert(new_block->GetParent() == GetParent() &&
|
||||
"The parent should already be set appropriately.");
|
||||
|
||||
context->AnalyzeDefUse(new_block->GetLabelInst());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user