diff --git a/src/writer/spirv/builder.cc b/src/writer/spirv/builder.cc index 192877761b..6f8032a99c 100644 --- a/src/writer/spirv/builder.cc +++ b/src/writer/spirv/builder.cc @@ -201,6 +201,9 @@ uint32_t Builder::GenerateExpression(ast::Expression* expr) { if (expr->IsBinary()) { return GenerateBinaryExpression(expr->AsBinary()); } + if (expr->IsCall()) { + return GenerateCallExpression(expr->AsCall()); + } if (expr->IsConstructor()) { return GenerateConstructorExpression(expr->AsConstructor(), false); }