fdc35e604e
Add the formatted tint messages in OwnedCompilationMessages, which will be emit after creating the shader module succeeds of fails. This patch also change the compilation messages handling in creating shader modules. Now the compilation messages are separated from sparseResult, and should be handled manually. A new method, ShaderModuleBase::InjectCompilationMessages, is introduced to move a given OwnedCompilationMessages into the shader module, and emit the formatted tint errors and warnings. This method should be called explicitly on a valid or error shader module. Bug: dawn:753 Change-Id: I5825186c6d9c4aa7725aebd0c302bfce5e1f37cf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/53890 Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> |
||
---|---|---|
.. | ||
common | ||
dawn | ||
dawn_native | ||
dawn_platform | ||
dawn_wire | ||
fuzzers | ||
include | ||
tests | ||
utils | ||
Dummy.cpp |