mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-07 15:13:29 +00:00
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));
|
messageList.add(tint::diag::Diagnostic(diag));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case (tint::diag::Severity::Note): {
|
||||||
|
messageList.add(tint::diag::Diagnostic(diag));
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user