dawn-cmake/src
Zhaoming Jiang fdc35e604e Emit tint warning when creating shader module
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>
2021-06-18 13:29:39 +00:00
..
common Add support for windows SwapChainPanel in SwapChain and Surface 2021-06-09 08:44:07 +00:00
dawn Add utilities for printing Dawn enums and bitmasks 2021-06-01 18:49:12 +00:00
dawn_native Emit tint warning when creating shader module 2021-06-18 13:29:39 +00:00
dawn_platform Implement AsyncWaitableEvent with std::condition_variable 2021-05-27 00:49:03 +00:00
dawn_wire ComputePipelineDescriptor.computeStage->compute 2021-06-09 18:07:32 +00:00
fuzzers Use Tint as much as possible in fuzzers. 2021-05-17 15:37:18 +00:00
include Add releaseMutexKey to ExternalImageAccessDescriptorDXGIKeyedMutex 2021-06-08 21:03:17 +00:00
tests Emit tint warning when creating shader module 2021-06-18 13:29:39 +00:00
utils Implement copy for 3D texture on D3D12: non-zero mip 2021-06-09 16:01:08 +00:00
Dummy.cpp Add missed file for the CMake build. 2020-02-07 23:46:30 +00:00