Add parameter names to FunctionDeclaration descriptions.

Separating this out from landing SkSL DSL, as it's causing unrelated
test churn as the DSL code gets submitted and reverted.

Change-Id: I0d3ade4ca8d1b0c302ccc494f0192a4f5ae67086
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/343109
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
This commit is contained in:
John Stiles 2020-12-10 18:00:55 -05:00 committed by Skia Commit-Bot
parent f7cce2b243
commit 90227be1bf
2 changed files with 4 additions and 2 deletions

View File

@ -68,6 +68,8 @@ public:
result += separator;
separator = ", ";
result += p->type().displayName();
result += " ";
result += p->name();
}
result += ")";
return result;

View File

@ -1,5 +1,5 @@
### Compilation failed:
error: 4: unsupported intrinsic '$matH matrixCompMult($matH, $matH)'
error: 5: unsupported intrinsic '$mat matrixCompMult($mat, $mat)'
error: 4: unsupported intrinsic '$matH matrixCompMult($matH x, $matH y)'
error: 5: unsupported intrinsic '$mat matrixCompMult($mat x, $mat y)'
2 errors