mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-11 14:41:50 +00:00
tint->dawn: Shuffle source tree in preperation of merging repos
docs/ -> docs/tint/ fuzzers/ -> src/tint/fuzzers/ samples/ -> src/tint/cmd/ src/ -> src/tint/ test/ -> test/tint/ BUG=tint:1418,tint:1433 Change-Id: Id2aa79f989aef3245b80ef4aa37a27ff16cd700b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80482 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
committed by
Tint LUCI CQ
parent
38f1e9c75c
commit
dbc13af287
@@ -13,7 +13,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build_overrides/build.gni")
|
||||
import("../tint_overrides_with_defaults.gni")
|
||||
import("../../tint_overrides_with_defaults.gni")
|
||||
|
||||
###############################################################################
|
||||
# Common - Configs, etc. shared across targets
|
||||
@@ -59,7 +59,7 @@ if (TINT_ENABLE_BREAK_IN_DEBUGGER)
|
||||
endif()
|
||||
|
||||
set(TINT_LIB_SRCS
|
||||
../include/tint/tint.h
|
||||
../../include/tint/tint.h
|
||||
ast/access.cc
|
||||
ast/access.h
|
||||
ast/attribute.cc
|
||||
@@ -1149,13 +1149,13 @@ if(TINT_BUILD_TESTS)
|
||||
|
||||
if (${TINT_BUILD_FUZZERS})
|
||||
list(APPEND TINT_TEST_SRCS
|
||||
../fuzzers/mersenne_twister_engine.cc
|
||||
../fuzzers/mersenne_twister_engine.h
|
||||
../fuzzers/random_generator.cc
|
||||
../fuzzers/random_generator.h
|
||||
../fuzzers/random_generator_engine.cc
|
||||
../fuzzers/random_generator_engine.h
|
||||
../fuzzers/random_generator_test.cc
|
||||
fuzzers/mersenne_twister_engine.cc
|
||||
fuzzers/mersenne_twister_engine.h
|
||||
fuzzers/random_generator.cc
|
||||
fuzzers/random_generator.h
|
||||
fuzzers/random_generator_engine.cc
|
||||
fuzzers/random_generator_engine.h
|
||||
fuzzers/random_generator_test.cc
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/access.h"
|
||||
#include "src/tint/ast/access.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_ACCESS_H_
|
||||
#define SRC_AST_ACCESS_H_
|
||||
#ifndef SRC_TINT_AST_ACCESS_H_
|
||||
#define SRC_TINT_AST_ACCESS_H_
|
||||
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
@@ -43,4 +43,4 @@ std::ostream& operator<<(std::ostream& out, Access access);
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_ACCESS_H_
|
||||
#endif // SRC_TINT_AST_ACCESS_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/alias.h"
|
||||
#include "src/tint/ast/alias.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::Alias);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_ALIAS_H_
|
||||
#define SRC_AST_ALIAS_H_
|
||||
#ifndef SRC_TINT_AST_ALIAS_H_
|
||||
#define SRC_TINT_AST_ALIAS_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/type_decl.h"
|
||||
#include "src/tint/ast/type_decl.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -51,4 +51,4 @@ class Alias : public Castable<Alias, TypeDecl> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_ALIAS_H_
|
||||
#endif // SRC_TINT_AST_ALIAS_H_
|
||||
@@ -12,20 +12,20 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/alias.h"
|
||||
#include "src/ast/access.h"
|
||||
#include "src/ast/array.h"
|
||||
#include "src/ast/bool.h"
|
||||
#include "src/ast/f32.h"
|
||||
#include "src/ast/i32.h"
|
||||
#include "src/ast/matrix.h"
|
||||
#include "src/ast/pointer.h"
|
||||
#include "src/ast/sampler.h"
|
||||
#include "src/ast/struct.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/ast/texture.h"
|
||||
#include "src/ast/u32.h"
|
||||
#include "src/ast/vector.h"
|
||||
#include "src/tint/ast/alias.h"
|
||||
#include "src/tint/ast/access.h"
|
||||
#include "src/tint/ast/array.h"
|
||||
#include "src/tint/ast/bool.h"
|
||||
#include "src/tint/ast/f32.h"
|
||||
#include "src/tint/ast/i32.h"
|
||||
#include "src/tint/ast/matrix.h"
|
||||
#include "src/tint/ast/pointer.h"
|
||||
#include "src/tint/ast/sampler.h"
|
||||
#include "src/tint/ast/struct.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
#include "src/tint/ast/texture.h"
|
||||
#include "src/tint/ast/u32.h"
|
||||
#include "src/tint/ast/vector.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/array.h"
|
||||
#include "src/tint/ast/array.h"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::Array);
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_ARRAY_H_
|
||||
#define SRC_AST_ARRAY_H_
|
||||
#ifndef SRC_TINT_AST_ARRAY_H_
|
||||
#define SRC_TINT_AST_ARRAY_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/attribute.h"
|
||||
#include "src/ast/type.h"
|
||||
#include "src/tint/ast/attribute.h"
|
||||
#include "src/tint/ast/type.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -72,4 +72,4 @@ class Array : public Castable<Array, Type> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_ARRAY_H_
|
||||
#endif // SRC_TINT_AST_ARRAY_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/array.h"
|
||||
#include "src/tint/ast/array.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/assignment_statement.h"
|
||||
#include "src/tint/ast/assignment_statement.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::AssignmentStatement);
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_ASSIGNMENT_STATEMENT_H_
|
||||
#define SRC_AST_ASSIGNMENT_STATEMENT_H_
|
||||
#ifndef SRC_TINT_AST_ASSIGNMENT_STATEMENT_H_
|
||||
#define SRC_TINT_AST_ASSIGNMENT_STATEMENT_H_
|
||||
|
||||
#include "src/ast/expression.h"
|
||||
#include "src/ast/statement.h"
|
||||
#include "src/tint/ast/expression.h"
|
||||
#include "src/tint/ast/statement.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -53,4 +53,4 @@ class AssignmentStatement : public Castable<AssignmentStatement, Statement> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_ASSIGNMENT_STATEMENT_H_
|
||||
#endif // SRC_TINT_AST_ASSIGNMENT_STATEMENT_H_
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/assignment_statement.h"
|
||||
#include "src/tint/ast/assignment_statement.h"
|
||||
|
||||
#include "gtest/gtest-spi.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,19 +12,19 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/type.h"
|
||||
#include "src/tint/ast/type.h"
|
||||
|
||||
#include "src/ast/alias.h"
|
||||
#include "src/ast/bool.h"
|
||||
#include "src/ast/f32.h"
|
||||
#include "src/ast/i32.h"
|
||||
#include "src/ast/matrix.h"
|
||||
#include "src/ast/pointer.h"
|
||||
#include "src/ast/sampler.h"
|
||||
#include "src/ast/texture.h"
|
||||
#include "src/ast/u32.h"
|
||||
#include "src/ast/vector.h"
|
||||
#include "src/symbol_table.h"
|
||||
#include "src/tint/ast/alias.h"
|
||||
#include "src/tint/ast/bool.h"
|
||||
#include "src/tint/ast/f32.h"
|
||||
#include "src/tint/ast/i32.h"
|
||||
#include "src/tint/ast/matrix.h"
|
||||
#include "src/tint/ast/pointer.h"
|
||||
#include "src/tint/ast/sampler.h"
|
||||
#include "src/tint/ast/texture.h"
|
||||
#include "src/tint/ast/u32.h"
|
||||
#include "src/tint/ast/vector.h"
|
||||
#include "src/tint/symbol_table.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::Type);
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/atomic.h"
|
||||
#include "src/tint/ast/atomic.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::Atomic);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_ATOMIC_H_
|
||||
#define SRC_AST_ATOMIC_H_
|
||||
#ifndef SRC_TINT_AST_ATOMIC_H_
|
||||
#define SRC_TINT_AST_ATOMIC_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/type.h"
|
||||
#include "src/tint/ast/type.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -51,4 +51,4 @@ class Atomic : public Castable<Atomic, Type> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_ATOMIC_H_
|
||||
#endif // SRC_TINT_AST_ATOMIC_H_
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/atomic.h"
|
||||
#include "src/tint/ast/atomic.h"
|
||||
|
||||
#include "src/ast/i32.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/i32.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/attribute.h"
|
||||
#include "src/tint/ast/attribute.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::Attribute);
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_ATTRIBUTE_H_
|
||||
#define SRC_AST_ATTRIBUTE_H_
|
||||
#ifndef SRC_TINT_AST_ATTRIBUTE_H_
|
||||
#define SRC_TINT_AST_ATTRIBUTE_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "src/ast/node.h"
|
||||
#include "src/tint/ast/node.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -68,4 +68,4 @@ const T* GetAttribute(const AttributeList& attributes) {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_ATTRIBUTE_H_
|
||||
#endif // SRC_TINT_AST_ATTRIBUTE_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/binary_expression.h"
|
||||
#include "src/tint/ast/binary_expression.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::BinaryExpression);
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_BINARY_EXPRESSION_H_
|
||||
#define SRC_AST_BINARY_EXPRESSION_H_
|
||||
#ifndef SRC_TINT_AST_BINARY_EXPRESSION_H_
|
||||
#define SRC_TINT_AST_BINARY_EXPRESSION_H_
|
||||
|
||||
#include "src/ast/expression.h"
|
||||
#include "src/tint/ast/expression.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -225,4 +225,4 @@ inline std::ostream& operator<<(std::ostream& out, BinaryOp op) {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_BINARY_EXPRESSION_H_
|
||||
#endif // SRC_TINT_AST_BINARY_EXPRESSION_H_
|
||||
@@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
#include "gtest/gtest-spi.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/binding_attribute.h"
|
||||
#include "src/tint/ast/binding_attribute.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::BindingAttribute);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_BINDING_ATTRIBUTE_H_
|
||||
#define SRC_AST_BINDING_ATTRIBUTE_H_
|
||||
#ifndef SRC_TINT_AST_BINDING_ATTRIBUTE_H_
|
||||
#define SRC_TINT_AST_BINDING_ATTRIBUTE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/attribute.h"
|
||||
#include "src/tint/ast/attribute.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -48,4 +48,4 @@ class BindingAttribute : public Castable<BindingAttribute, Attribute> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_BINDING_ATTRIBUTE_H_
|
||||
#endif // SRC_TINT_AST_BINDING_ATTRIBUTE_H_
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/bitcast_expression.h"
|
||||
#include "src/tint/ast/bitcast_expression.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::BitcastExpression);
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_BITCAST_EXPRESSION_H_
|
||||
#define SRC_AST_BITCAST_EXPRESSION_H_
|
||||
#ifndef SRC_TINT_AST_BITCAST_EXPRESSION_H_
|
||||
#define SRC_TINT_AST_BITCAST_EXPRESSION_H_
|
||||
|
||||
#include "src/ast/expression.h"
|
||||
#include "src/tint/ast/expression.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -54,4 +54,4 @@ class BitcastExpression : public Castable<BitcastExpression, Expression> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_BITCAST_EXPRESSION_H_
|
||||
#endif // SRC_TINT_AST_BITCAST_EXPRESSION_H_
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/bitcast_expression.h"
|
||||
#include "src/tint/ast/bitcast_expression.h"
|
||||
|
||||
#include "gtest/gtest-spi.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/block_statement.h"
|
||||
#include "src/tint/ast/block_statement.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::BlockStatement);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_BLOCK_STATEMENT_H_
|
||||
#define SRC_AST_BLOCK_STATEMENT_H_
|
||||
#ifndef SRC_TINT_AST_BLOCK_STATEMENT_H_
|
||||
#define SRC_TINT_AST_BLOCK_STATEMENT_H_
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "src/ast/statement.h"
|
||||
#include "src/tint/ast/statement.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -57,4 +57,4 @@ class BlockStatement : public Castable<BlockStatement, Statement> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_BLOCK_STATEMENT_H_
|
||||
#endif // SRC_TINT_AST_BLOCK_STATEMENT_H_
|
||||
@@ -13,9 +13,9 @@
|
||||
// limitations under the License.
|
||||
|
||||
#include "gtest/gtest-spi.h"
|
||||
#include "src/ast/discard_statement.h"
|
||||
#include "src/ast/if_statement.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/discard_statement.h"
|
||||
#include "src/tint/ast/if_statement.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/bool.h"
|
||||
#include "src/tint/ast/bool.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::Bool);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_BOOL_H_
|
||||
#define SRC_AST_BOOL_H_
|
||||
#ifndef SRC_TINT_AST_BOOL_H_
|
||||
#define SRC_TINT_AST_BOOL_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/type.h"
|
||||
#include "src/tint/ast/type.h"
|
||||
|
||||
// X11 likes to #define Bool leading to confusing error messages.
|
||||
// If its defined, undefine it.
|
||||
@@ -53,4 +53,4 @@ class Bool : public Castable<Bool, Type> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_BOOL_H_
|
||||
#endif // SRC_TINT_AST_BOOL_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/bool_literal_expression.h"
|
||||
#include "src/tint/ast/bool_literal_expression.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::BoolLiteralExpression);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_BOOL_LITERAL_EXPRESSION_H_
|
||||
#define SRC_AST_BOOL_LITERAL_EXPRESSION_H_
|
||||
#ifndef SRC_TINT_AST_BOOL_LITERAL_EXPRESSION_H_
|
||||
#define SRC_TINT_AST_BOOL_LITERAL_EXPRESSION_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/literal_expression.h"
|
||||
#include "src/tint/ast/literal_expression.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -46,4 +46,4 @@ class BoolLiteralExpression
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_BOOL_LITERAL_EXPRESSION_H_
|
||||
#endif // SRC_TINT_AST_BOOL_LITERAL_EXPRESSION_H_
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/bool.h"
|
||||
#include "src/tint/ast/bool.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/break_statement.h"
|
||||
#include "src/tint/ast/break_statement.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::BreakStatement);
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_BREAK_STATEMENT_H_
|
||||
#define SRC_AST_BREAK_STATEMENT_H_
|
||||
#ifndef SRC_TINT_AST_BREAK_STATEMENT_H_
|
||||
#define SRC_TINT_AST_BREAK_STATEMENT_H_
|
||||
|
||||
#include "src/ast/statement.h"
|
||||
#include "src/tint/ast/statement.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -41,4 +41,4 @@ class BreakStatement : public Castable<BreakStatement, Statement> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_BREAK_STATEMENT_H_
|
||||
#endif // SRC_TINT_AST_BREAK_STATEMENT_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/break_statement.h"
|
||||
#include "src/tint/ast/break_statement.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/builtin.h"
|
||||
#include "src/tint/ast/builtin.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_BUILTIN_H_
|
||||
#define SRC_AST_BUILTIN_H_
|
||||
#ifndef SRC_TINT_AST_BUILTIN_H_
|
||||
#define SRC_TINT_AST_BUILTIN_H_
|
||||
|
||||
#include <ostream>
|
||||
|
||||
@@ -49,4 +49,4 @@ std::ostream& operator<<(std::ostream& out, Builtin builtin);
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_BUILTIN_H_
|
||||
#endif // SRC_TINT_AST_BUILTIN_H_
|
||||
@@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/builtin_attribute.h"
|
||||
#include "src/tint/ast/builtin_attribute.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::BuiltinAttribute);
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_BUILTIN_ATTRIBUTE_H_
|
||||
#define SRC_AST_BUILTIN_ATTRIBUTE_H_
|
||||
#ifndef SRC_TINT_AST_BUILTIN_ATTRIBUTE_H_
|
||||
#define SRC_TINT_AST_BUILTIN_ATTRIBUTE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/attribute.h"
|
||||
#include "src/ast/builtin.h"
|
||||
#include "src/tint/ast/attribute.h"
|
||||
#include "src/tint/ast/builtin.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -49,4 +49,4 @@ class BuiltinAttribute : public Castable<BuiltinAttribute, Attribute> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_BUILTIN_ATTRIBUTE_H_
|
||||
#endif // SRC_TINT_AST_BUILTIN_ATTRIBUTE_H_
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/builtin_texture_helper_test.h"
|
||||
#include "src/tint/ast/builtin_texture_helper_test.h"
|
||||
|
||||
#include "src/sem/depth_texture_type.h"
|
||||
#include "src/sem/multisampled_texture_type.h"
|
||||
#include "src/sem/sampled_texture_type.h"
|
||||
#include "src/tint/sem/depth_texture_type.h"
|
||||
#include "src/tint/sem/multisampled_texture_type.h"
|
||||
#include "src/tint/sem/sampled_texture_type.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,14 +12,14 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_BUILTIN_TEXTURE_HELPER_TEST_H_
|
||||
#define SRC_AST_BUILTIN_TEXTURE_HELPER_TEST_H_
|
||||
#ifndef SRC_TINT_AST_BUILTIN_TEXTURE_HELPER_TEST_H_
|
||||
#define SRC_TINT_AST_BUILTIN_TEXTURE_HELPER_TEST_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "src/ast/access.h"
|
||||
#include "src/program_builder.h"
|
||||
#include "src/sem/storage_texture_type.h"
|
||||
#include "src/tint/ast/access.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
#include "src/tint/sem/storage_texture_type.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -266,4 +266,4 @@ std::ostream& operator<<(std::ostream& out, const TextureOverloadCase& data);
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_BUILTIN_TEXTURE_HELPER_TEST_H_
|
||||
#endif // SRC_TINT_AST_BUILTIN_TEXTURE_HELPER_TEST_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/call_expression.h"
|
||||
#include "src/tint/ast/call_expression.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::CallExpression);
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_CALL_EXPRESSION_H_
|
||||
#define SRC_AST_CALL_EXPRESSION_H_
|
||||
#ifndef SRC_TINT_AST_CALL_EXPRESSION_H_
|
||||
#define SRC_TINT_AST_CALL_EXPRESSION_H_
|
||||
|
||||
#include "src/ast/expression.h"
|
||||
#include "src/tint/ast/expression.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -81,4 +81,4 @@ class CallExpression : public Castable<CallExpression, Expression> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_CALL_EXPRESSION_H_
|
||||
#endif // SRC_TINT_AST_CALL_EXPRESSION_H_
|
||||
@@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
#include "gtest/gtest-spi.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/call_statement.h"
|
||||
#include "src/tint/ast/call_statement.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::CallStatement);
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_CALL_STATEMENT_H_
|
||||
#define SRC_AST_CALL_STATEMENT_H_
|
||||
#ifndef SRC_TINT_AST_CALL_STATEMENT_H_
|
||||
#define SRC_TINT_AST_CALL_STATEMENT_H_
|
||||
|
||||
#include "src/ast/call_expression.h"
|
||||
#include "src/ast/statement.h"
|
||||
#include "src/tint/ast/call_expression.h"
|
||||
#include "src/tint/ast/statement.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -46,4 +46,4 @@ class CallStatement : public Castable<CallStatement, Statement> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_CALL_STATEMENT_H_
|
||||
#endif // SRC_TINT_AST_CALL_STATEMENT_H_
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/call_statement.h"
|
||||
#include "src/tint/ast/call_statement.h"
|
||||
|
||||
#include "gtest/gtest-spi.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/case_statement.h"
|
||||
#include "src/tint/ast/case_statement.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::CaseStatement);
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_CASE_STATEMENT_H_
|
||||
#define SRC_AST_CASE_STATEMENT_H_
|
||||
#ifndef SRC_TINT_AST_CASE_STATEMENT_H_
|
||||
#define SRC_TINT_AST_CASE_STATEMENT_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "src/ast/block_statement.h"
|
||||
#include "src/ast/int_literal_expression.h"
|
||||
#include "src/tint/ast/block_statement.h"
|
||||
#include "src/tint/ast/int_literal_expression.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -64,4 +64,4 @@ using CaseStatementList = std::vector<const CaseStatement*>;
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_CASE_STATEMENT_H_
|
||||
#endif // SRC_TINT_AST_CASE_STATEMENT_H_
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/case_statement.h"
|
||||
#include "src/tint/ast/case_statement.h"
|
||||
|
||||
#include "gtest/gtest-spi.h"
|
||||
#include "src/ast/discard_statement.h"
|
||||
#include "src/ast/if_statement.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/discard_statement.h"
|
||||
#include "src/tint/ast/if_statement.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/continue_statement.h"
|
||||
#include "src/tint/ast/continue_statement.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::ContinueStatement);
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_CONTINUE_STATEMENT_H_
|
||||
#define SRC_AST_CONTINUE_STATEMENT_H_
|
||||
#ifndef SRC_TINT_AST_CONTINUE_STATEMENT_H_
|
||||
#define SRC_TINT_AST_CONTINUE_STATEMENT_H_
|
||||
|
||||
#include "src/ast/statement.h"
|
||||
#include "src/tint/ast/statement.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -41,4 +41,4 @@ class ContinueStatement : public Castable<ContinueStatement, Statement> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_CONTINUE_STATEMENT_H_
|
||||
#endif // SRC_TINT_AST_CONTINUE_STATEMENT_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/continue_statement.h"
|
||||
#include "src/tint/ast/continue_statement.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/depth_multisampled_texture.h"
|
||||
#include "src/tint/ast/depth_multisampled_texture.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::DepthMultisampledTexture);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_DEPTH_MULTISAMPLED_TEXTURE_H_
|
||||
#define SRC_AST_DEPTH_MULTISAMPLED_TEXTURE_H_
|
||||
#ifndef SRC_TINT_AST_DEPTH_MULTISAMPLED_TEXTURE_H_
|
||||
#define SRC_TINT_AST_DEPTH_MULTISAMPLED_TEXTURE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/texture.h"
|
||||
#include "src/tint/ast/texture.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -51,4 +51,4 @@ class DepthMultisampledTexture
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_DEPTH_MULTISAMPLED_TEXTURE_H_
|
||||
#endif // SRC_TINT_AST_DEPTH_MULTISAMPLED_TEXTURE_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/depth_multisampled_texture.h"
|
||||
#include "src/tint/ast/depth_multisampled_texture.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/depth_texture.h"
|
||||
#include "src/tint/ast/depth_texture.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::DepthTexture);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_DEPTH_TEXTURE_H_
|
||||
#define SRC_AST_DEPTH_TEXTURE_H_
|
||||
#ifndef SRC_TINT_AST_DEPTH_TEXTURE_H_
|
||||
#define SRC_TINT_AST_DEPTH_TEXTURE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/texture.h"
|
||||
#include "src/tint/ast/texture.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -48,4 +48,4 @@ class DepthTexture : public Castable<DepthTexture, Texture> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_DEPTH_TEXTURE_H_
|
||||
#endif // SRC_TINT_AST_DEPTH_TEXTURE_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/depth_texture.h"
|
||||
#include "src/tint/ast/depth_texture.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/disable_validation_attribute.h"
|
||||
#include "src/clone_context.h"
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/ast/disable_validation_attribute.h"
|
||||
#include "src/tint/clone_context.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::DisableValidationAttribute);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_DISABLE_VALIDATION_ATTRIBUTE_H_
|
||||
#define SRC_AST_DISABLE_VALIDATION_ATTRIBUTE_H_
|
||||
#ifndef SRC_TINT_AST_DISABLE_VALIDATION_ATTRIBUTE_H_
|
||||
#define SRC_TINT_AST_DISABLE_VALIDATION_ATTRIBUTE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/internal_attribute.h"
|
||||
#include "src/tint/ast/internal_attribute.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -80,4 +80,4 @@ class DisableValidationAttribute
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_DISABLE_VALIDATION_ATTRIBUTE_H_
|
||||
#endif // SRC_TINT_AST_DISABLE_VALIDATION_ATTRIBUTE_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/discard_statement.h"
|
||||
#include "src/tint/ast/discard_statement.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::DiscardStatement);
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_DISCARD_STATEMENT_H_
|
||||
#define SRC_AST_DISCARD_STATEMENT_H_
|
||||
#ifndef SRC_TINT_AST_DISCARD_STATEMENT_H_
|
||||
#define SRC_TINT_AST_DISCARD_STATEMENT_H_
|
||||
|
||||
#include "src/ast/statement.h"
|
||||
#include "src/tint/ast/statement.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -41,4 +41,4 @@ class DiscardStatement : public Castable<DiscardStatement, Statement> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_DISCARD_STATEMENT_H_
|
||||
#endif // SRC_TINT_AST_DISCARD_STATEMENT_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/discard_statement.h"
|
||||
#include "src/tint/ast/discard_statement.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/else_statement.h"
|
||||
#include "src/tint/ast/else_statement.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::ElseStatement);
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_ELSE_STATEMENT_H_
|
||||
#define SRC_AST_ELSE_STATEMENT_H_
|
||||
#ifndef SRC_TINT_AST_ELSE_STATEMENT_H_
|
||||
#define SRC_TINT_AST_ELSE_STATEMENT_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "src/ast/block_statement.h"
|
||||
#include "src/ast/expression.h"
|
||||
#include "src/tint/ast/block_statement.h"
|
||||
#include "src/tint/ast/expression.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -58,4 +58,4 @@ using ElseStatementList = std::vector<const ElseStatement*>;
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_ELSE_STATEMENT_H_
|
||||
#endif // SRC_TINT_AST_ELSE_STATEMENT_H_
|
||||
@@ -13,9 +13,9 @@
|
||||
// limitations under the License.
|
||||
|
||||
#include "gtest/gtest-spi.h"
|
||||
#include "src/ast/discard_statement.h"
|
||||
#include "src/ast/if_statement.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/discard_statement.h"
|
||||
#include "src/tint/ast/if_statement.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/expression.h"
|
||||
#include "src/tint/ast/expression.h"
|
||||
|
||||
#include "src/sem/expression.h"
|
||||
#include "src/sem/info.h"
|
||||
#include "src/tint/sem/expression.h"
|
||||
#include "src/tint/sem/info.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::Expression);
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_EXPRESSION_H_
|
||||
#define SRC_AST_EXPRESSION_H_
|
||||
#ifndef SRC_TINT_AST_EXPRESSION_H_
|
||||
#define SRC_TINT_AST_EXPRESSION_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "src/ast/node.h"
|
||||
#include "src/sem/type.h"
|
||||
#include "src/tint/ast/node.h"
|
||||
#include "src/tint/sem/type.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -44,4 +44,4 @@ using ExpressionList = std::vector<const Expression*>;
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_EXPRESSION_H_
|
||||
#endif // SRC_TINT_AST_EXPRESSION_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/external_texture.h"
|
||||
#include "src/tint/ast/external_texture.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::ExternalTexture);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_EXTERNAL_TEXTURE_H_
|
||||
#define SRC_AST_EXTERNAL_TEXTURE_H_
|
||||
#ifndef SRC_TINT_AST_EXTERNAL_TEXTURE_H_
|
||||
#define SRC_TINT_AST_EXTERNAL_TEXTURE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/texture.h"
|
||||
#include "src/tint/ast/texture.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -48,4 +48,4 @@ class ExternalTexture : public Castable<ExternalTexture, Texture> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_EXTERNAL_TEXTURE_H_
|
||||
#endif // SRC_TINT_AST_EXTERNAL_TEXTURE_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/external_texture.h"
|
||||
#include "src/tint/ast/external_texture.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/f32.h"
|
||||
#include "src/tint/ast/f32.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::F32);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_F32_H_
|
||||
#define SRC_AST_F32_H_
|
||||
#ifndef SRC_TINT_AST_F32_H_
|
||||
#define SRC_TINT_AST_F32_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/type.h"
|
||||
#include "src/tint/ast/type.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -47,4 +47,4 @@ class F32 : public Castable<F32, Type> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_F32_H_
|
||||
#endif // SRC_TINT_AST_F32_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/f32.h"
|
||||
#include "src/tint/ast/f32.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/fallthrough_statement.h"
|
||||
#include "src/tint/ast/fallthrough_statement.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::FallthroughStatement);
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_FALLTHROUGH_STATEMENT_H_
|
||||
#define SRC_AST_FALLTHROUGH_STATEMENT_H_
|
||||
#ifndef SRC_TINT_AST_FALLTHROUGH_STATEMENT_H_
|
||||
#define SRC_TINT_AST_FALLTHROUGH_STATEMENT_H_
|
||||
|
||||
#include "src/ast/statement.h"
|
||||
#include "src/tint/ast/statement.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -41,4 +41,4 @@ class FallthroughStatement : public Castable<FallthroughStatement, Statement> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_FALLTHROUGH_STATEMENT_H_
|
||||
#endif // SRC_TINT_AST_FALLTHROUGH_STATEMENT_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/fallthrough_statement.h"
|
||||
#include "src/tint/ast/fallthrough_statement.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/float_literal_expression.h"
|
||||
#include "src/tint/ast/float_literal_expression.h"
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::FloatLiteralExpression);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_FLOAT_LITERAL_EXPRESSION_H_
|
||||
#define SRC_AST_FLOAT_LITERAL_EXPRESSION_H_
|
||||
#ifndef SRC_TINT_AST_FLOAT_LITERAL_EXPRESSION_H_
|
||||
#define SRC_TINT_AST_FLOAT_LITERAL_EXPRESSION_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/literal_expression.h"
|
||||
#include "src/tint/ast/literal_expression.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -46,4 +46,4 @@ class FloatLiteralExpression
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_FLOAT_LITERAL_EXPRESSION_H_
|
||||
#endif // SRC_TINT_AST_FLOAT_LITERAL_EXPRESSION_H_
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/for_loop_statement.h"
|
||||
#include "src/tint/ast/for_loop_statement.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::ForLoopStatement);
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_FOR_LOOP_STATEMENT_H_
|
||||
#define SRC_AST_FOR_LOOP_STATEMENT_H_
|
||||
#ifndef SRC_TINT_AST_FOR_LOOP_STATEMENT_H_
|
||||
#define SRC_TINT_AST_FOR_LOOP_STATEMENT_H_
|
||||
|
||||
#include "src/ast/block_statement.h"
|
||||
#include "src/tint/ast/block_statement.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -64,4 +64,4 @@ class ForLoopStatement : public Castable<ForLoopStatement, Statement> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_FOR_LOOP_STATEMENT_H_
|
||||
#endif // SRC_TINT_AST_FOR_LOOP_STATEMENT_H_
|
||||
@@ -13,8 +13,8 @@
|
||||
// limitations under the License.
|
||||
|
||||
#include "gtest/gtest-spi.h"
|
||||
#include "src/ast/binary_expression.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/binary_expression.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/function.h"
|
||||
#include "src/tint/ast/function.h"
|
||||
|
||||
#include "src/ast/stage_attribute.h"
|
||||
#include "src/ast/workgroup_attribute.h"
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/ast/stage_attribute.h"
|
||||
#include "src/tint/ast/workgroup_attribute.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::Function);
|
||||
|
||||
@@ -12,22 +12,22 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_FUNCTION_H_
|
||||
#define SRC_AST_FUNCTION_H_
|
||||
#ifndef SRC_TINT_AST_FUNCTION_H_
|
||||
#define SRC_TINT_AST_FUNCTION_H_
|
||||
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "src/ast/attribute.h"
|
||||
#include "src/ast/binding_attribute.h"
|
||||
#include "src/ast/block_statement.h"
|
||||
#include "src/ast/builtin_attribute.h"
|
||||
#include "src/ast/group_attribute.h"
|
||||
#include "src/ast/location_attribute.h"
|
||||
#include "src/ast/pipeline_stage.h"
|
||||
#include "src/ast/variable.h"
|
||||
#include "src/tint/ast/attribute.h"
|
||||
#include "src/tint/ast/binding_attribute.h"
|
||||
#include "src/tint/ast/block_statement.h"
|
||||
#include "src/tint/ast/builtin_attribute.h"
|
||||
#include "src/tint/ast/group_attribute.h"
|
||||
#include "src/tint/ast/location_attribute.h"
|
||||
#include "src/tint/ast/pipeline_stage.h"
|
||||
#include "src/tint/ast/variable.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -115,4 +115,4 @@ class FunctionList : public std::vector<const Function*> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_FUNCTION_H_
|
||||
#endif // SRC_TINT_AST_FUNCTION_H_
|
||||
@@ -13,10 +13,10 @@
|
||||
// limitations under the License.
|
||||
|
||||
#include "gtest/gtest-spi.h"
|
||||
#include "src/ast/discard_statement.h"
|
||||
#include "src/ast/stage_attribute.h"
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/ast/workgroup_attribute.h"
|
||||
#include "src/tint/ast/discard_statement.h"
|
||||
#include "src/tint/ast/stage_attribute.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
#include "src/tint/ast/workgroup_attribute.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/group_attribute.h"
|
||||
#include "src/tint/ast/group_attribute.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::GroupAttribute);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_GROUP_ATTRIBUTE_H_
|
||||
#define SRC_AST_GROUP_ATTRIBUTE_H_
|
||||
#ifndef SRC_TINT_AST_GROUP_ATTRIBUTE_H_
|
||||
#define SRC_TINT_AST_GROUP_ATTRIBUTE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/attribute.h"
|
||||
#include "src/tint/ast/attribute.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -48,4 +48,4 @@ class GroupAttribute : public Castable<GroupAttribute, Attribute> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_GROUP_ATTRIBUTE_H_
|
||||
#endif // SRC_TINT_AST_GROUP_ATTRIBUTE_H_
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/i32.h"
|
||||
#include "src/tint/ast/i32.h"
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::I32);
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef SRC_AST_I32_H_
|
||||
#define SRC_AST_I32_H_
|
||||
#ifndef SRC_TINT_AST_I32_H_
|
||||
#define SRC_TINT_AST_I32_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/ast/type.h"
|
||||
#include "src/tint/ast/type.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -47,4 +47,4 @@ class I32 : public Castable<I32, Type> {
|
||||
} // namespace ast
|
||||
} // namespace tint
|
||||
|
||||
#endif // SRC_AST_I32_H_
|
||||
#endif // SRC_TINT_AST_I32_H_
|
||||
@@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/i32.h"
|
||||
#include "src/tint/ast/i32.h"
|
||||
|
||||
#include "src/ast/test_helper.h"
|
||||
#include "src/tint/ast/test_helper.h"
|
||||
|
||||
namespace tint {
|
||||
namespace ast {
|
||||
@@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "src/ast/id_attribute.h"
|
||||
#include "src/tint/ast/id_attribute.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "src/program_builder.h"
|
||||
#include "src/tint/program_builder.h"
|
||||
|
||||
TINT_INSTANTIATE_TYPEINFO(tint::ast::IdAttribute);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user