Show diagnostic notes in WGSL compilation messages
These notes often contain additional useful information that is not currently being surfaced to the developer console. Change-Id: I342bfc3147593755d6addf5466f27b083f954826 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90160 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
a064872983
commit
49385c99cc
|
@ -176,6 +176,10 @@ void OwnedCompilationMessages::AddFormattedTintMessages(const tint::diag::List&
|
|||
messageList.add(tint::diag::Diagnostic(diag));
|
||||
break;
|
||||
}
|
||||
case (tint::diag::Severity::Note): {
|
||||
messageList.add(tint::diag::Diagnostic(diag));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue