commit | e18e8088fce7ba7802cec9d17ac0277dda157bc5 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Sep 25 14:35:26 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 25 14:35:26 2024 +0000 |
tree | a93cbfaf3ab3c32ce66162031c3c883e2bc40a60 | |
parent | 8879b18dfab98489f845c15f805a1a337666eba9 [diff] |
[glsl][ir] Add context to unreachable message Add some context for the `TINT_UNREACHABLE` for a storage format in read-write which is disallowed by ES. Bug: 42251044 Change-Id: I1f880ccca57b445f5a18c79709da7e886c3f5c5c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/208134 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com>
diff --git a/src/tint/lang/glsl/writer/printer/printer.cc b/src/tint/lang/glsl/writer/printer/printer.cc index d02ccce..c4cc0fd 100644 --- a/src/tint/lang/glsl/writer/printer/printer.cc +++ b/src/tint/lang/glsl/writer/printer/printer.cc
@@ -730,7 +730,7 @@ case core::TexelFormat::kR32Uint: break; default: - TINT_UNREACHABLE(); + TINT_UNREACHABLE() << "invalid texel format for read-write"; } } break;