update glslang, spirv-tools and spirv-opt to their latest version (#9845)
* update spirv-cross to a0fba56 * update spirv-tools to v2026.1 * update spirv-headers to 04f10f6 * update glslang to 16.2.0
This commit is contained in:
@@ -40,6 +40,10 @@ Function* Function::Clone(IRContext* ctx) const {
|
||||
clone->blocks_.reserve(blocks_.size());
|
||||
for (const auto& b : blocks_) {
|
||||
std::unique_ptr<BasicBlock> bb(b->Clone(ctx));
|
||||
if (!bb) {
|
||||
delete clone;
|
||||
return nullptr;
|
||||
}
|
||||
clone->AddBasicBlock(std::move(bb));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user