mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 19:31:25 +00:00
[spirv-writer] Call the Call expression generator.
This CL adds the missing call for the call expression. Bug: tint:5 Change-Id: Ia046e2b57ebc56eaf0c3dc330d9f8e81763df8bc Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/20144 Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
parent
aa257c068f
commit
43f975e71f
@ -201,6 +201,9 @@ uint32_t Builder::GenerateExpression(ast::Expression* expr) {
|
|||||||
if (expr->IsBinary()) {
|
if (expr->IsBinary()) {
|
||||||
return GenerateBinaryExpression(expr->AsBinary());
|
return GenerateBinaryExpression(expr->AsBinary());
|
||||||
}
|
}
|
||||||
|
if (expr->IsCall()) {
|
||||||
|
return GenerateCallExpression(expr->AsCall());
|
||||||
|
}
|
||||||
if (expr->IsConstructor()) {
|
if (expr->IsConstructor()) {
|
||||||
return GenerateConstructorExpression(expr->AsConstructor(), false);
|
return GenerateConstructorExpression(expr->AsConstructor(), false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user