dan sinclair 764a2abc90 Have DeepestElementOf always return a type.
Currently deepest element only returns the type if it was a scalar
or the element of a vector, array or matrix. Otherwise it would
return `nullptr`. There are cases where we want to get the deepest
type which is a struct or some other type.

This Cl updates ElementOf to return the type instead of nullptr for
types which previously returned nullptr.

Change-Id: I7963d4ce55d2e2b1a537a7533fa332813eed035c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/103900
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-27 19:20:06 +00:00
..
2022-09-22 22:28:21 +00:00
2022-09-22 22:28:21 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-07-20 15:53:14 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-04-07 16:04:35 +00:00
2022-07-18 20:50:02 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-04-07 16:04:35 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-09-22 22:28:21 +00:00
2022-05-30 18:00:58 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-05-01 14:40:55 +00:00
2022-06-16 12:01:27 +00:00