mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
#include <utility>
|
||||
|
||||
#include "src/tint/program_builder.h"
|
||||
#include "src/tint/sem/abstract_numeric.h"
|
||||
#include "src/tint/sem/call.h"
|
||||
#include "src/tint/sem/expression.h"
|
||||
#include "src/tint/sem/type_conversion.h"
|
||||
#include "src/tint/type/abstract_numeric.h"
|
||||
#include "src/tint/utils/hash.h"
|
||||
#include "src/tint/utils/map.h"
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
#include <utility>
|
||||
|
||||
#include "src/tint/program_builder.h"
|
||||
#include "src/tint/sem/abstract_numeric.h"
|
||||
#include "src/tint/sem/call.h"
|
||||
#include "src/tint/sem/expression.h"
|
||||
#include "src/tint/sem/type_initializer.h"
|
||||
#include "src/tint/type/abstract_numeric.h"
|
||||
#include "src/tint/utils/map.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::transform::VectorizeScalarMatrixInitializers);
|
||||
@@ -84,7 +84,7 @@ Transform::ApplyResult VectorizeScalarMatrixInitializers::Apply(const Program* s
|
||||
if (args[0]
|
||||
->Type()
|
||||
->UnwrapRef()
|
||||
->IsAnyOf<sem::Matrix, sem::Vector, sem::AbstractNumeric>()) {
|
||||
->IsAnyOf<sem::Matrix, sem::Vector, type::AbstractNumeric>()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user