Add name to GLSL error message

Change-Id: I03b71d81d4975512d57f7383123689e57eba7735
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/20065
Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
dan sinclair 2020-04-21 13:37:23 +00:00 committed by dan sinclair
parent 7025918287
commit d3d1230062
1 changed files with 2 additions and 1 deletions

View File

@ -318,7 +318,8 @@ bool TypeDeterminer::DetermineCall(ast::CallExpression* expr) {
ident->name(), expr->params(), &ext_id); ident->name(), expr->params(), &ext_id);
if (result_type == nullptr) { if (result_type == nullptr) {
set_error(expr->source(), set_error(expr->source(),
"Unable to determine result type for GLSL expression"); "Unable to determine result type for GLSL expression " +
ident->name());
return false; return false;
} }