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:
Mathias Agopian
2026-03-27 16:35:56 -07:00
committed by GitHub
parent 04270afb83
commit d7b10bdd3b
988 changed files with 92611 additions and 35181 deletions

View File

@@ -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));
}