Clarify the defaulted entry point error message.
Bug: None
Change-Id: Ib63f56adc4dff67592e435297a30d0cd7362fd8a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/169881
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/src/dawn/native/Pipeline.cpp b/src/dawn/native/Pipeline.cpp
index 2eb48d1..4060742 100644
--- a/src/dawn/native/Pipeline.cpp
+++ b/src/dawn/native/Pipeline.cpp
@@ -69,8 +69,9 @@
stage, module);
} else if (entryPointCount > 1) {
return DAWN_VALIDATION_ERROR(
- "Multiple entry points for stage (%s) exist in the shader module %s.", stage,
- module);
+ "The entry-point is defaulted but multiple entry points for stage (%s) exist in "
+ "the shader module %s.",
+ stage, module);
}
}