commit | d3d12300627bc4adf1e90311ced76db38c5801f5 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Apr 21 13:37:23 2020 +0000 |
committer | dan sinclair <dsinclair@google.com> | Tue Apr 21 13:37:23 2020 +0000 |
tree | 91282f79e0655cd6c517f4d63de60bfcafd5dae0 | |
parent | 702591828775a8b88594114cd8a0bc70e1287624 [diff] |
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>
diff --git a/src/type_determiner.cc b/src/type_determiner.cc index bad79f8..b36be06 100644 --- a/src/type_determiner.cc +++ b/src/type_determiner.cc
@@ -318,7 +318,8 @@ 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; }