mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 02:39:11 +00:00
Move scalar types over to type/ folder.
This CL moves Bool, F16, F32, I32, U32, and Void over to the type folder and updates namespaces as needed. Bug: tint:1718 Change-Id: If3056521e5283ac2d9e1fd09c6daf0f647dd3846 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113342 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
c223ae26ec
commit
d37ecf9055
@@ -573,7 +573,7 @@ struct DirectVariableAccess::State {
|
||||
if (!idx->UnwrapMaterialize()
|
||||
->Type()
|
||||
->UnwrapRef()
|
||||
->IsAnyOf<sem::U32, type::AbstractInt>()) {
|
||||
->IsAnyOf<type::U32, type::AbstractInt>()) {
|
||||
expr = b.Construct(b.ty.u32(), expr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user