mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 02:39:11 +00:00
Move abstract types to type folder.
This CL moves the abstract files from sem to type and updates namespaces as needed. Bug: tint:1718 Change-Id: I5f0be7e820fc66ea72c1ebe612a6d28034e88be6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113341 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
5ee58b60a8
commit
094ace6f63
@@ -20,7 +20,6 @@
|
||||
|
||||
#include "src/tint/ast/traverse_expressions.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
#include "src/tint/sem/abstract_int.h"
|
||||
#include "src/tint/sem/call.h"
|
||||
#include "src/tint/sem/function.h"
|
||||
#include "src/tint/sem/index_accessor_expression.h"
|
||||
@@ -30,6 +29,7 @@
|
||||
#include "src/tint/sem/struct.h"
|
||||
#include "src/tint/sem/variable.h"
|
||||
#include "src/tint/transform/utils/hoist_to_decl_before.h"
|
||||
#include "src/tint/type/abstract_int.h"
|
||||
#include "src/tint/utils/reverse.h"
|
||||
#include "src/tint/utils/scoped_assignment.h"
|
||||
|
||||
@@ -573,7 +573,7 @@ struct DirectVariableAccess::State {
|
||||
if (!idx->UnwrapMaterialize()
|
||||
->Type()
|
||||
->UnwrapRef()
|
||||
->IsAnyOf<sem::U32, sem::AbstractInt>()) {
|
||||
->IsAnyOf<sem::U32, type::AbstractInt>()) {
|
||||
expr = b.Construct(b.ty.u32(), expr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user