Remove program_builder include from type/

The type/ folder had a hold over include of program_builder. The builder
isn't actually used in the types so this CL removes the include and adds
the relevant includes to fix building.

Change-Id: I787b398fe149f483d007bb623ab3ed42850875c5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117581
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:
dan sinclair 2023-01-23 20:33:42 +00:00 committed by Dawn LUCI CQ
parent 6fc130bfcc
commit dfb62150df
20 changed files with 41 additions and 20 deletions

View File

@ -14,7 +14,7 @@
#include "src/tint/type/abstract_float.h" #include "src/tint/type/abstract_float.h"
#include "src/tint/program_builder.h" #include "src/tint/type/manager.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::AbstractFloat); TINT_INSTANTIATE_TYPEINFO(tint::type::AbstractFloat);

View File

@ -14,7 +14,7 @@
#include "src/tint/type/abstract_int.h" #include "src/tint/type/abstract_int.h"
#include "src/tint/program_builder.h" #include "src/tint/type/manager.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::AbstractInt); TINT_INSTANTIATE_TYPEINFO(tint::type::AbstractInt);

View File

@ -14,7 +14,9 @@
#include "src/tint/type/atomic.h" #include "src/tint/type/atomic.h"
#include "src/tint/program_builder.h" #include "src/tint/debug.h"
#include "src/tint/diagnostic/diagnostic.h"
#include "src/tint/type/manager.h"
#include "src/tint/type/reference.h" #include "src/tint/type/reference.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"

View File

@ -14,7 +14,7 @@
#include "src/tint/type/bool.h" #include "src/tint/type/bool.h"
#include "src/tint/program_builder.h" #include "src/tint/type/manager.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::Bool); TINT_INSTANTIATE_TYPEINFO(tint::type::Bool);

View File

@ -14,7 +14,9 @@
#include "src/tint/type/depth_multisampled_texture.h" #include "src/tint/type/depth_multisampled_texture.h"
#include "src/tint/program_builder.h" #include "src/tint/debug.h"
#include "src/tint/diagnostic/diagnostic.h"
#include "src/tint/type/manager.h"
#include "src/tint/type/texture_dimension.h" #include "src/tint/type/texture_dimension.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"

View File

@ -14,7 +14,9 @@
#include "src/tint/type/depth_texture.h" #include "src/tint/type/depth_texture.h"
#include "src/tint/program_builder.h" #include "src/tint/debug.h"
#include "src/tint/diagnostic/diagnostic.h"
#include "src/tint/type/manager.h"
#include "src/tint/type/texture_dimension.h" #include "src/tint/type/texture_dimension.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"

View File

@ -14,7 +14,7 @@
#include "src/tint/type/external_texture.h" #include "src/tint/type/external_texture.h"
#include "src/tint/program_builder.h" #include "src/tint/type/manager.h"
#include "src/tint/type/texture_dimension.h" #include "src/tint/type/texture_dimension.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::ExternalTexture); TINT_INSTANTIATE_TYPEINFO(tint::type::ExternalTexture);

View File

@ -14,7 +14,7 @@
#include "src/tint/type/f16.h" #include "src/tint/type/f16.h"
#include "src/tint/program_builder.h" #include "src/tint/type/manager.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::F16); TINT_INSTANTIATE_TYPEINFO(tint::type::F16);

View File

@ -14,7 +14,7 @@
#include "src/tint/type/f32.h" #include "src/tint/type/f32.h"
#include "src/tint/program_builder.h" #include "src/tint/type/manager.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::F32); TINT_INSTANTIATE_TYPEINFO(tint::type::F32);

View File

@ -14,7 +14,7 @@
#include "src/tint/type/i32.h" #include "src/tint/type/i32.h"
#include "src/tint/program_builder.h" #include "src/tint/type/manager.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::I32); TINT_INSTANTIATE_TYPEINFO(tint::type::I32);

View File

@ -14,7 +14,9 @@
#include "src/tint/type/matrix.h" #include "src/tint/type/matrix.h"
#include "src/tint/program_builder.h" #include "src/tint/debug.h"
#include "src/tint/diagnostic/diagnostic.h"
#include "src/tint/type/manager.h"
#include "src/tint/type/vector.h" #include "src/tint/type/vector.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"

View File

@ -14,7 +14,9 @@
#include "src/tint/type/multisampled_texture.h" #include "src/tint/type/multisampled_texture.h"
#include "src/tint/program_builder.h" #include "src/tint/debug.h"
#include "src/tint/diagnostic/diagnostic.h"
#include "src/tint/type/manager.h"
#include "src/tint/type/texture_dimension.h" #include "src/tint/type/texture_dimension.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"

View File

@ -14,7 +14,9 @@
#include "src/tint/type/pointer.h" #include "src/tint/type/pointer.h"
#include "src/tint/program_builder.h" #include "src/tint/debug.h"
#include "src/tint/diagnostic/diagnostic.h"
#include "src/tint/type/manager.h"
#include "src/tint/type/reference.h" #include "src/tint/type/reference.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"

View File

@ -14,7 +14,9 @@
#include "src/tint/type/reference.h" #include "src/tint/type/reference.h"
#include "src/tint/program_builder.h" #include "src/tint/debug.h"
#include "src/tint/diagnostic/diagnostic.h"
#include "src/tint/type/manager.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::Reference); TINT_INSTANTIATE_TYPEINFO(tint::type::Reference);

View File

@ -14,7 +14,9 @@
#include "src/tint/type/sampled_texture.h" #include "src/tint/type/sampled_texture.h"
#include "src/tint/program_builder.h" #include "src/tint/debug.h"
#include "src/tint/diagnostic/diagnostic.h"
#include "src/tint/type/manager.h"
#include "src/tint/type/texture_dimension.h" #include "src/tint/type/texture_dimension.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"

View File

@ -14,7 +14,7 @@
#include "src/tint/type/sampler.h" #include "src/tint/type/sampler.h"
#include "src/tint/program_builder.h" #include "src/tint/type/manager.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::Sampler); TINT_INSTANTIATE_TYPEINFO(tint::type::Sampler);

View File

@ -14,7 +14,10 @@
#include "src/tint/type/storage_texture.h" #include "src/tint/type/storage_texture.h"
#include "src/tint/program_builder.h" #include "src/tint/type/f32.h"
#include "src/tint/type/i32.h"
#include "src/tint/type/manager.h"
#include "src/tint/type/u32.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::StorageTexture); TINT_INSTANTIATE_TYPEINFO(tint::type::StorageTexture);

View File

@ -14,7 +14,7 @@
#include "src/tint/type/u32.h" #include "src/tint/type/u32.h"
#include "src/tint/program_builder.h" #include "src/tint/type/manager.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::U32); TINT_INSTANTIATE_TYPEINFO(tint::type::U32);

View File

@ -14,7 +14,9 @@
#include "src/tint/type/vector.h" #include "src/tint/type/vector.h"
#include "src/tint/program_builder.h" #include "src/tint/debug.h"
#include "src/tint/diagnostic/diagnostic.h"
#include "src/tint/type/manager.h"
#include "src/tint/utils/hash.h" #include "src/tint/utils/hash.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::Vector); TINT_INSTANTIATE_TYPEINFO(tint::type::Vector);

View File

@ -14,7 +14,7 @@
#include "src/tint/type/void.h" #include "src/tint/type/void.h"
#include "src/tint/program_builder.h" #include "src/tint/type/manager.h"
TINT_INSTANTIATE_TYPEINFO(tint::type::Void); TINT_INSTANTIATE_TYPEINFO(tint::type::Void);