mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-03 03:35:59 +00:00
debug: Include system in assert string
Change-Id: Id709cef0bfdb7cc1f849a5fb43e9d4f43c28272b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57706 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
d35975adf6
commit
8a8ddcfbed
@ -115,7 +115,8 @@ class InternalCompilerError {
|
||||
do { \
|
||||
if (!(condition)) { \
|
||||
tint::diag::List diagnostics; \
|
||||
TINT_ICE(system, diagnostics) << "TINT_ASSERT(" << #condition << ")"; \
|
||||
TINT_ICE(system, diagnostics) \
|
||||
<< "TINT_ASSERT(" #system ", " #condition ")"; \
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user