mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
tint/sem/constant.h: Remove #include to program_builder.h
This pulls in the entire world, and isn't needed from this header. Remove it. Fix all the places that were transtively depending on program_builder.h's includes. Change-Id: I5209dcd387fb47dd6744a3d676997338b8f45473 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95040 Reviewed-by: dan sinclair <dsinclair@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
f1060adbca
commit
72876c14c3
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "src/tint/ast/call_expression.h"
|
||||
#include "src/tint/sem/builtin.h"
|
||||
#include "src/tint/sem/expression.h"
|
||||
|
||||
|
||||
@@ -20,8 +20,12 @@
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
|
||||
#include "src/tint/program_builder.h"
|
||||
#include "src/tint/sem/type.h"
|
||||
#include "src/tint/number.h"
|
||||
|
||||
// Forward declarations
|
||||
namespace tint::sem {
|
||||
class Type;
|
||||
}
|
||||
|
||||
namespace tint::sem {
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "src/tint/sem/index_accessor_expression.h"
|
||||
|
||||
#include "src/tint/ast/index_accessor_expression.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::sem::IndexAccessorExpression);
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
#include <utility>
|
||||
|
||||
#include "src/tint/ast/identifier_expression.h"
|
||||
#include "src/tint/ast/parameter.h"
|
||||
#include "src/tint/ast/variable.h"
|
||||
#include "src/tint/sem/pointer.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::sem::Variable);
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::sem::GlobalVariable);
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
// Forward declarations
|
||||
namespace tint::ast {
|
||||
class IdentifierExpression;
|
||||
class Parameter;
|
||||
class Variable;
|
||||
} // namespace tint::ast
|
||||
namespace tint::sem {
|
||||
|
||||
Reference in New Issue
Block a user