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:
parent
7025918287
commit
d3d1230062
|
@ -318,7 +318,8 @@ bool TypeDeterminer::DetermineCall(ast::CallExpression* expr) {
|
|||
ident->name(), expr->params(), &ext_id);
|
||||
if (result_type == nullptr) {
|
||||
set_error(expr->source(),
|
||||
"Unable to determine result type for GLSL expression");
|
||||
"Unable to determine result type for GLSL expression " +
|
||||
ident->name());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue