tint: Rename and move builtin_table and builtin-gen

• Rename 'builtin-gen' back to 'intrinsic-gen', as 'intrinsics' now
  include both builtins and operators.
• Move the intrinsic definitions, and IntrinsicTable to the resolver
  package, where it belongs.

Bug: tint:1504
Change-Id: I5ad5c285c1e360a224ee1235c293ccd55eb2693d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89025
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Ben Clayton 2022-05-06 15:13:01 +00:00 committed by Dawn LUCI CQ
parent 7f7234afad
commit e132516e6f
786 changed files with 2372 additions and 2372 deletions

View File

@ -334,9 +334,6 @@ libtint_source_set("libtint_core_all_src") {
"ast/void.h", "ast/void.h",
"ast/workgroup_attribute.cc", "ast/workgroup_attribute.cc",
"ast/workgroup_attribute.h", "ast/workgroup_attribute.h",
"builtin_table.cc",
"builtin_table.h",
"builtin_table.inl",
"castable.cc", "castable.cc",
"castable.h", "castable.h",
"clone_context.cc", "clone_context.cc",
@ -370,6 +367,9 @@ libtint_source_set("libtint_core_all_src") {
"reader/reader.h", "reader/reader.h",
"resolver/dependency_graph.cc", "resolver/dependency_graph.cc",
"resolver/dependency_graph.h", "resolver/dependency_graph.h",
"resolver/intrinsic_table.cc",
"resolver/intrinsic_table.h",
"resolver/intrinsic_table.inl",
"resolver/resolver.cc", "resolver/resolver.cc",
"resolver/resolver.h", "resolver/resolver.h",
"resolver/resolver_constants.cc", "resolver/resolver_constants.cc",

View File

@ -223,9 +223,6 @@ set(TINT_LIB_SRCS
ast/void.h ast/void.h
ast/workgroup_attribute.cc ast/workgroup_attribute.cc
ast/workgroup_attribute.h ast/workgroup_attribute.h
builtin_table.cc
builtin_table.h
builtin_table.inl
castable.cc castable.cc
castable.h castable.h
clone_context.cc clone_context.cc
@ -251,6 +248,9 @@ set(TINT_LIB_SRCS
reader/reader.h reader/reader.h
resolver/dependency_graph.cc resolver/dependency_graph.cc
resolver/dependency_graph.h resolver/dependency_graph.h
resolver/intrinsic_table.cc
resolver/intrinsic_table.h
resolver/intrinsic_table.inl
resolver/resolver.cc resolver/resolver.cc
resolver/resolver_constants.cc resolver/resolver_constants.cc
resolver/resolver.h resolver/resolver.h
@ -727,7 +727,6 @@ if(TINT_BUILD_TESTS)
ast/variable_test.cc ast/variable_test.cc
ast/vector_test.cc ast/vector_test.cc
ast/workgroup_attribute_test.cc ast/workgroup_attribute_test.cc
builtin_table_test.cc
castable_test.cc castable_test.cc
clone_context_test.cc clone_context_test.cc
debug_test.cc debug_test.cc
@ -756,6 +755,7 @@ if(TINT_BUILD_TESTS)
resolver/host_shareable_validation_test.cc resolver/host_shareable_validation_test.cc
resolver/increment_decrement_validation_test.cc resolver/increment_decrement_validation_test.cc
resolver/inferred_type_test.cc resolver/inferred_type_test.cc
resolver/intrinsic_table_test.cc
resolver/is_host_shareable_test.cc resolver/is_host_shareable_test.cc
resolver/is_storeable_test.cc resolver/is_storeable_test.cc
resolver/pipeline_overridable_constant_test.cc resolver/pipeline_overridable_constant_test.cc

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "src/tint/builtin_table.h" #include "src/tint/resolver/intrinsic_table.h"
#include <algorithm> #include <algorithm>
#include <limits> #include <limits>
@ -770,7 +770,7 @@ struct BuiltinInfo {
OverloadInfo const* const overloads; OverloadInfo const* const overloads;
}; };
#include "builtin_table.inl" #include "intrinsic_table.inl"
/// BuiltinPrototype describes a fully matched builtin function, which is /// BuiltinPrototype describes a fully matched builtin function, which is
/// used as a lookup for building unique sem::Builtin instances. /// used as a lookup for building unique sem::Builtin instances.
@ -820,8 +820,8 @@ bool operator==(const BuiltinPrototype& a, const BuiltinPrototype& b) {
return true; return true;
} }
/// Impl is the private implementation of the BuiltinTable interface. /// Impl is the private implementation of the IntrinsicTable interface.
class Impl : public BuiltinTable { class Impl : public IntrinsicTable {
public: public:
explicit Impl(ProgramBuilder& builder); explicit Impl(ProgramBuilder& builder);
@ -1116,11 +1116,11 @@ std::string MatchState::NumName() {
} // namespace } // namespace
std::unique_ptr<BuiltinTable> BuiltinTable::Create(ProgramBuilder& builder) { std::unique_ptr<IntrinsicTable> IntrinsicTable::Create(ProgramBuilder& builder) {
return std::make_unique<Impl>(builder); return std::make_unique<Impl>(builder);
} }
BuiltinTable::~BuiltinTable() = default; IntrinsicTable::~IntrinsicTable() = default;
/// TypeInfo for the Any type declared in the anonymous namespace above /// TypeInfo for the Any type declared in the anonymous namespace above
TINT_INSTANTIATE_TYPEINFO(Any); TINT_INSTANTIATE_TYPEINFO(Any);

View File

@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#ifndef SRC_TINT_BUILTIN_TABLE_H_ #ifndef SRC_TINT_RESOLVER_INTRINSIC_TABLE_H_
#define SRC_TINT_BUILTIN_TABLE_H_ #define SRC_TINT_RESOLVER_INTRINSIC_TABLE_H_
#include <memory> #include <memory>
#include <string> #include <string>
@ -28,15 +28,15 @@ class ProgramBuilder;
namespace tint { namespace tint {
/// BuiltinTable is a lookup table of all the WGSL builtin functions /// IntrinsicTable is a lookup table of all the WGSL builtin functions
class BuiltinTable { class IntrinsicTable {
public: public:
/// @param builder the program builder /// @param builder the program builder
/// @return a pointer to a newly created BuiltinTable /// @return a pointer to a newly created IntrinsicTable
static std::unique_ptr<BuiltinTable> Create(ProgramBuilder& builder); static std::unique_ptr<IntrinsicTable> Create(ProgramBuilder& builder);
/// Destructor /// Destructor
virtual ~BuiltinTable(); virtual ~IntrinsicTable();
/// Lookup looks for the builtin overload with the given signature, raising /// Lookup looks for the builtin overload with the given signature, raising
/// an error diagnostic if the builtin was not found. /// an error diagnostic if the builtin was not found.
@ -51,4 +51,4 @@ class BuiltinTable {
} // namespace tint } // namespace tint
#endif // SRC_TINT_BUILTIN_TABLE_H_ #endif // SRC_TINT_RESOLVER_INTRINSIC_TABLE_H_

View File

@ -4,7 +4,7 @@ Template file for use with tools/builtin-gen to generate builtin_table.inl
Used by BuiltinTable.cc for builtin overload resolution. Used by BuiltinTable.cc for builtin overload resolution.
See: See:
* tools/cmd/builtin-gen/gen for structures used by this template * tools/cmd/intrinsic-gen/gen for structures used by this template
* https://golang.org/pkg/text/template/ for documentation on the template syntax * https://golang.org/pkg/text/template/ for documentation on the template syntax
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
*/ -}} */ -}}

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "src/tint/builtin_table.h" #include "src/tint/resolver/intrinsic_table.h"
#include "gmock/gmock.h" #include "gmock/gmock.h"
#include "src/tint/program_builder.h" #include "src/tint/program_builder.h"
@ -34,12 +34,12 @@ using BuiltinType = sem::BuiltinType;
using Parameter = sem::Parameter; using Parameter = sem::Parameter;
using ParameterUsage = sem::ParameterUsage; using ParameterUsage = sem::ParameterUsage;
class BuiltinTableTest : public testing::Test, public ProgramBuilder { class IntrinsicTableTest : public testing::Test, public ProgramBuilder {
public: public:
std::unique_ptr<BuiltinTable> table = BuiltinTable::Create(*this); std::unique_ptr<IntrinsicTable> table = IntrinsicTable::Create(*this);
}; };
TEST_F(BuiltinTableTest, MatchF32) { TEST_F(IntrinsicTableTest, MatchF32) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* result = table->Lookup(BuiltinType::kCos, {f32}, Source{}); auto* result = table->Lookup(BuiltinType::kCos, {f32}, Source{});
ASSERT_NE(result, nullptr) << Diagnostics().str(); ASSERT_NE(result, nullptr) << Diagnostics().str();
@ -50,14 +50,14 @@ TEST_F(BuiltinTableTest, MatchF32) {
EXPECT_EQ(result->Parameters()[0]->Type(), f32); EXPECT_EQ(result->Parameters()[0]->Type(), f32);
} }
TEST_F(BuiltinTableTest, MismatchF32) { TEST_F(IntrinsicTableTest, MismatchF32) {
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* result = table->Lookup(BuiltinType::kCos, {i32}, Source{}); auto* result = table->Lookup(BuiltinType::kCos, {i32}, Source{});
ASSERT_EQ(result, nullptr); ASSERT_EQ(result, nullptr);
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchU32) { TEST_F(IntrinsicTableTest, MatchU32) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* u32 = create<sem::U32>(); auto* u32 = create<sem::U32>();
auto* vec2_f32 = create<sem::Vector>(f32, 2u); auto* vec2_f32 = create<sem::Vector>(f32, 2u);
@ -70,14 +70,14 @@ TEST_F(BuiltinTableTest, MatchU32) {
EXPECT_EQ(result->Parameters()[0]->Type(), u32); EXPECT_EQ(result->Parameters()[0]->Type(), u32);
} }
TEST_F(BuiltinTableTest, MismatchU32) { TEST_F(IntrinsicTableTest, MismatchU32) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* result = table->Lookup(BuiltinType::kUnpack2x16float, {f32}, Source{}); auto* result = table->Lookup(BuiltinType::kUnpack2x16float, {f32}, Source{});
ASSERT_EQ(result, nullptr); ASSERT_EQ(result, nullptr);
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchI32) { TEST_F(IntrinsicTableTest, MatchI32) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* vec4_f32 = create<sem::Vector>(f32, 4u); auto* vec4_f32 = create<sem::Vector>(f32, 4u);
@ -96,7 +96,7 @@ TEST_F(BuiltinTableTest, MatchI32) {
EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kLevel); EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kLevel);
} }
TEST_F(BuiltinTableTest, MismatchI32) { TEST_F(IntrinsicTableTest, MismatchI32) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* tex = create<sem::SampledTexture>(ast::TextureDimension::k1d, f32); auto* tex = create<sem::SampledTexture>(ast::TextureDimension::k1d, f32);
auto* result = table->Lookup(BuiltinType::kTextureLoad, {tex, f32}, Source{}); auto* result = table->Lookup(BuiltinType::kTextureLoad, {tex, f32}, Source{});
@ -104,7 +104,7 @@ TEST_F(BuiltinTableTest, MismatchI32) {
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchIU32AsI32) { TEST_F(IntrinsicTableTest, MatchIU32AsI32) {
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* result = table->Lookup(BuiltinType::kCountOneBits, {i32}, Source{}); auto* result = table->Lookup(BuiltinType::kCountOneBits, {i32}, Source{});
ASSERT_NE(result, nullptr) << Diagnostics().str(); ASSERT_NE(result, nullptr) << Diagnostics().str();
@ -115,7 +115,7 @@ TEST_F(BuiltinTableTest, MatchIU32AsI32) {
EXPECT_EQ(result->Parameters()[0]->Type(), i32); EXPECT_EQ(result->Parameters()[0]->Type(), i32);
} }
TEST_F(BuiltinTableTest, MatchIU32AsU32) { TEST_F(IntrinsicTableTest, MatchIU32AsU32) {
auto* u32 = create<sem::U32>(); auto* u32 = create<sem::U32>();
auto* result = table->Lookup(BuiltinType::kCountOneBits, {u32}, Source{}); auto* result = table->Lookup(BuiltinType::kCountOneBits, {u32}, Source{});
ASSERT_NE(result, nullptr) << Diagnostics().str(); ASSERT_NE(result, nullptr) << Diagnostics().str();
@ -126,14 +126,14 @@ TEST_F(BuiltinTableTest, MatchIU32AsU32) {
EXPECT_EQ(result->Parameters()[0]->Type(), u32); EXPECT_EQ(result->Parameters()[0]->Type(), u32);
} }
TEST_F(BuiltinTableTest, MismatchIU32) { TEST_F(IntrinsicTableTest, MismatchIU32) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* result = table->Lookup(BuiltinType::kCountOneBits, {f32}, Source{}); auto* result = table->Lookup(BuiltinType::kCountOneBits, {f32}, Source{});
ASSERT_EQ(result, nullptr); ASSERT_EQ(result, nullptr);
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchFIU32AsI32) { TEST_F(IntrinsicTableTest, MatchFIU32AsI32) {
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* result = table->Lookup(BuiltinType::kClamp, {i32, i32, i32}, Source{}); auto* result = table->Lookup(BuiltinType::kClamp, {i32, i32, i32}, Source{});
ASSERT_NE(result, nullptr) << Diagnostics().str(); ASSERT_NE(result, nullptr) << Diagnostics().str();
@ -146,7 +146,7 @@ TEST_F(BuiltinTableTest, MatchFIU32AsI32) {
EXPECT_EQ(result->Parameters()[2]->Type(), i32); EXPECT_EQ(result->Parameters()[2]->Type(), i32);
} }
TEST_F(BuiltinTableTest, MatchFIU32AsU32) { TEST_F(IntrinsicTableTest, MatchFIU32AsU32) {
auto* u32 = create<sem::U32>(); auto* u32 = create<sem::U32>();
auto* result = table->Lookup(BuiltinType::kClamp, {u32, u32, u32}, Source{}); auto* result = table->Lookup(BuiltinType::kClamp, {u32, u32, u32}, Source{});
ASSERT_NE(result, nullptr) << Diagnostics().str(); ASSERT_NE(result, nullptr) << Diagnostics().str();
@ -159,7 +159,7 @@ TEST_F(BuiltinTableTest, MatchFIU32AsU32) {
EXPECT_EQ(result->Parameters()[2]->Type(), u32); EXPECT_EQ(result->Parameters()[2]->Type(), u32);
} }
TEST_F(BuiltinTableTest, MatchFIU32AsF32) { TEST_F(IntrinsicTableTest, MatchFIU32AsF32) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* result = table->Lookup(BuiltinType::kClamp, {f32, f32, f32}, Source{}); auto* result = table->Lookup(BuiltinType::kClamp, {f32, f32, f32}, Source{});
ASSERT_NE(result, nullptr) << Diagnostics().str(); ASSERT_NE(result, nullptr) << Diagnostics().str();
@ -172,14 +172,14 @@ TEST_F(BuiltinTableTest, MatchFIU32AsF32) {
EXPECT_EQ(result->Parameters()[2]->Type(), f32); EXPECT_EQ(result->Parameters()[2]->Type(), f32);
} }
TEST_F(BuiltinTableTest, MismatchFIU32) { TEST_F(IntrinsicTableTest, MismatchFIU32) {
auto* bool_ = create<sem::Bool>(); auto* bool_ = create<sem::Bool>();
auto* result = table->Lookup(BuiltinType::kClamp, {bool_, bool_, bool_}, Source{}); auto* result = table->Lookup(BuiltinType::kClamp, {bool_, bool_, bool_}, Source{});
ASSERT_EQ(result, nullptr); ASSERT_EQ(result, nullptr);
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchBool) { TEST_F(IntrinsicTableTest, MatchBool) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* bool_ = create<sem::Bool>(); auto* bool_ = create<sem::Bool>();
auto* result = table->Lookup(BuiltinType::kSelect, {f32, f32, bool_}, Source{}); auto* result = table->Lookup(BuiltinType::kSelect, {f32, f32, bool_}, Source{});
@ -193,14 +193,14 @@ TEST_F(BuiltinTableTest, MatchBool) {
EXPECT_EQ(result->Parameters()[2]->Type(), bool_); EXPECT_EQ(result->Parameters()[2]->Type(), bool_);
} }
TEST_F(BuiltinTableTest, MismatchBool) { TEST_F(IntrinsicTableTest, MismatchBool) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* result = table->Lookup(BuiltinType::kSelect, {f32, f32, f32}, Source{}); auto* result = table->Lookup(BuiltinType::kSelect, {f32, f32, f32}, Source{});
ASSERT_EQ(result, nullptr); ASSERT_EQ(result, nullptr);
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchPointer) { TEST_F(IntrinsicTableTest, MatchPointer) {
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* atomicI32 = create<sem::Atomic>(i32); auto* atomicI32 = create<sem::Atomic>(i32);
auto* ptr = auto* ptr =
@ -214,7 +214,7 @@ TEST_F(BuiltinTableTest, MatchPointer) {
EXPECT_EQ(result->Parameters()[0]->Type(), ptr); EXPECT_EQ(result->Parameters()[0]->Type(), ptr);
} }
TEST_F(BuiltinTableTest, MismatchPointer) { TEST_F(IntrinsicTableTest, MismatchPointer) {
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* atomicI32 = create<sem::Atomic>(i32); auto* atomicI32 = create<sem::Atomic>(i32);
auto* result = table->Lookup(BuiltinType::kAtomicLoad, {atomicI32}, Source{}); auto* result = table->Lookup(BuiltinType::kAtomicLoad, {atomicI32}, Source{});
@ -222,7 +222,7 @@ TEST_F(BuiltinTableTest, MismatchPointer) {
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchArray) { TEST_F(IntrinsicTableTest, MatchArray) {
auto* arr = create<sem::Array>(create<sem::U32>(), 0u, 4u, 4u, 4u, 4u); auto* arr = create<sem::Array>(create<sem::U32>(), 0u, 4u, 4u, 4u, 4u);
auto* arr_ptr = create<sem::Pointer>(arr, ast::StorageClass::kStorage, ast::Access::kReadWrite); auto* arr_ptr = create<sem::Pointer>(arr, ast::StorageClass::kStorage, ast::Access::kReadWrite);
auto* result = table->Lookup(BuiltinType::kArrayLength, {arr_ptr}, Source{}); auto* result = table->Lookup(BuiltinType::kArrayLength, {arr_ptr}, Source{});
@ -236,14 +236,14 @@ TEST_F(BuiltinTableTest, MatchArray) {
EXPECT_TRUE(param_type->As<sem::Pointer>()->StoreType()->Is<sem::Array>()); EXPECT_TRUE(param_type->As<sem::Pointer>()->StoreType()->Is<sem::Array>());
} }
TEST_F(BuiltinTableTest, MismatchArray) { TEST_F(IntrinsicTableTest, MismatchArray) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* result = table->Lookup(BuiltinType::kArrayLength, {f32}, Source{}); auto* result = table->Lookup(BuiltinType::kArrayLength, {f32}, Source{});
ASSERT_EQ(result, nullptr); ASSERT_EQ(result, nullptr);
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchSampler) { TEST_F(IntrinsicTableTest, MatchSampler) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* vec2_f32 = create<sem::Vector>(f32, 2u); auto* vec2_f32 = create<sem::Vector>(f32, 2u);
auto* vec4_f32 = create<sem::Vector>(f32, 4u); auto* vec4_f32 = create<sem::Vector>(f32, 4u);
@ -263,7 +263,7 @@ TEST_F(BuiltinTableTest, MatchSampler) {
EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kCoords); EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kCoords);
} }
TEST_F(BuiltinTableTest, MismatchSampler) { TEST_F(IntrinsicTableTest, MismatchSampler) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* vec2_f32 = create<sem::Vector>(f32, 2u); auto* vec2_f32 = create<sem::Vector>(f32, 2u);
auto* tex = create<sem::SampledTexture>(ast::TextureDimension::k2d, f32); auto* tex = create<sem::SampledTexture>(ast::TextureDimension::k2d, f32);
@ -272,7 +272,7 @@ TEST_F(BuiltinTableTest, MismatchSampler) {
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchSampledTexture) { TEST_F(IntrinsicTableTest, MatchSampledTexture) {
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* vec2_i32 = create<sem::Vector>(i32, 2u); auto* vec2_i32 = create<sem::Vector>(i32, 2u);
@ -292,7 +292,7 @@ TEST_F(BuiltinTableTest, MatchSampledTexture) {
EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kLevel); EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kLevel);
} }
TEST_F(BuiltinTableTest, MatchMultisampledTexture) { TEST_F(IntrinsicTableTest, MatchMultisampledTexture) {
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* vec2_i32 = create<sem::Vector>(i32, 2u); auto* vec2_i32 = create<sem::Vector>(i32, 2u);
@ -312,7 +312,7 @@ TEST_F(BuiltinTableTest, MatchMultisampledTexture) {
EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kSampleIndex); EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kSampleIndex);
} }
TEST_F(BuiltinTableTest, MatchDepthTexture) { TEST_F(IntrinsicTableTest, MatchDepthTexture) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* vec2_i32 = create<sem::Vector>(i32, 2u); auto* vec2_i32 = create<sem::Vector>(i32, 2u);
@ -331,7 +331,7 @@ TEST_F(BuiltinTableTest, MatchDepthTexture) {
EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kLevel); EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kLevel);
} }
TEST_F(BuiltinTableTest, MatchDepthMultisampledTexture) { TEST_F(IntrinsicTableTest, MatchDepthMultisampledTexture) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* vec2_i32 = create<sem::Vector>(i32, 2u); auto* vec2_i32 = create<sem::Vector>(i32, 2u);
@ -350,7 +350,7 @@ TEST_F(BuiltinTableTest, MatchDepthMultisampledTexture) {
EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kSampleIndex); EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kSampleIndex);
} }
TEST_F(BuiltinTableTest, MatchExternalTexture) { TEST_F(IntrinsicTableTest, MatchExternalTexture) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* vec2_i32 = create<sem::Vector>(i32, 2u); auto* vec2_i32 = create<sem::Vector>(i32, 2u);
@ -368,7 +368,7 @@ TEST_F(BuiltinTableTest, MatchExternalTexture) {
EXPECT_EQ(result->Parameters()[1]->Usage(), ParameterUsage::kCoords); EXPECT_EQ(result->Parameters()[1]->Usage(), ParameterUsage::kCoords);
} }
TEST_F(BuiltinTableTest, MatchWOStorageTexture) { TEST_F(IntrinsicTableTest, MatchWOStorageTexture) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* vec2_i32 = create<sem::Vector>(i32, 2u); auto* vec2_i32 = create<sem::Vector>(i32, 2u);
@ -391,7 +391,7 @@ TEST_F(BuiltinTableTest, MatchWOStorageTexture) {
EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kValue); EXPECT_EQ(result->Parameters()[2]->Usage(), ParameterUsage::kValue);
} }
TEST_F(BuiltinTableTest, MismatchTexture) { TEST_F(IntrinsicTableTest, MismatchTexture) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* i32 = create<sem::I32>(); auto* i32 = create<sem::I32>();
auto* vec2_i32 = create<sem::Vector>(i32, 2u); auto* vec2_i32 = create<sem::Vector>(i32, 2u);
@ -400,7 +400,7 @@ TEST_F(BuiltinTableTest, MismatchTexture) {
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, ImplicitLoadOnReference) { TEST_F(IntrinsicTableTest, ImplicitLoadOnReference) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* result = table->Lookup( auto* result = table->Lookup(
BuiltinType::kCos, BuiltinType::kCos,
@ -414,7 +414,7 @@ TEST_F(BuiltinTableTest, ImplicitLoadOnReference) {
EXPECT_EQ(result->Parameters()[0]->Type(), f32); EXPECT_EQ(result->Parameters()[0]->Type(), f32);
} }
TEST_F(BuiltinTableTest, MatchOpenType) { TEST_F(IntrinsicTableTest, MatchOpenType) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* result = table->Lookup(BuiltinType::kClamp, {f32, f32, f32}, Source{}); auto* result = table->Lookup(BuiltinType::kClamp, {f32, f32, f32}, Source{});
ASSERT_NE(result, nullptr) << Diagnostics().str(); ASSERT_NE(result, nullptr) << Diagnostics().str();
@ -426,7 +426,7 @@ TEST_F(BuiltinTableTest, MatchOpenType) {
EXPECT_EQ(result->Parameters()[2]->Type(), f32); EXPECT_EQ(result->Parameters()[2]->Type(), f32);
} }
TEST_F(BuiltinTableTest, MismatchOpenType) { TEST_F(IntrinsicTableTest, MismatchOpenType) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* u32 = create<sem::U32>(); auto* u32 = create<sem::U32>();
auto* result = table->Lookup(BuiltinType::kClamp, {f32, u32, f32}, Source{}); auto* result = table->Lookup(BuiltinType::kClamp, {f32, u32, f32}, Source{});
@ -434,7 +434,7 @@ TEST_F(BuiltinTableTest, MismatchOpenType) {
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchOpenSizeVector) { TEST_F(IntrinsicTableTest, MatchOpenSizeVector) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* vec2_f32 = create<sem::Vector>(f32, 2u); auto* vec2_f32 = create<sem::Vector>(f32, 2u);
auto* result = table->Lookup(BuiltinType::kClamp, {vec2_f32, vec2_f32, vec2_f32}, Source{}); auto* result = table->Lookup(BuiltinType::kClamp, {vec2_f32, vec2_f32, vec2_f32}, Source{});
@ -448,7 +448,7 @@ TEST_F(BuiltinTableTest, MatchOpenSizeVector) {
EXPECT_EQ(result->Parameters()[2]->Type(), vec2_f32); EXPECT_EQ(result->Parameters()[2]->Type(), vec2_f32);
} }
TEST_F(BuiltinTableTest, MismatchOpenSizeVector) { TEST_F(IntrinsicTableTest, MismatchOpenSizeVector) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* u32 = create<sem::U32>(); auto* u32 = create<sem::U32>();
auto* vec2_f32 = create<sem::Vector>(f32, 2u); auto* vec2_f32 = create<sem::Vector>(f32, 2u);
@ -457,7 +457,7 @@ TEST_F(BuiltinTableTest, MismatchOpenSizeVector) {
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, MatchOpenSizeMatrix) { TEST_F(IntrinsicTableTest, MatchOpenSizeMatrix) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* vec3_f32 = create<sem::Vector>(f32, 3u); auto* vec3_f32 = create<sem::Vector>(f32, 3u);
auto* mat3_f32 = create<sem::Matrix>(vec3_f32, 3u); auto* mat3_f32 = create<sem::Matrix>(vec3_f32, 3u);
@ -470,7 +470,7 @@ TEST_F(BuiltinTableTest, MatchOpenSizeMatrix) {
EXPECT_EQ(result->Parameters()[0]->Type(), mat3_f32); EXPECT_EQ(result->Parameters()[0]->Type(), mat3_f32);
} }
TEST_F(BuiltinTableTest, MismatchOpenSizeMatrix) { TEST_F(IntrinsicTableTest, MismatchOpenSizeMatrix) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* vec2_f32 = create<sem::Vector>(f32, 2u); auto* vec2_f32 = create<sem::Vector>(f32, 2u);
auto* mat3x2_f32 = create<sem::Matrix>(vec2_f32, 3u); auto* mat3x2_f32 = create<sem::Matrix>(vec2_f32, 3u);
@ -479,7 +479,7 @@ TEST_F(BuiltinTableTest, MismatchOpenSizeMatrix) {
ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call")); ASSERT_THAT(Diagnostics().str(), HasSubstr("no matching call"));
} }
TEST_F(BuiltinTableTest, OverloadOrderByNumberOfParameters) { TEST_F(IntrinsicTableTest, OverloadOrderByNumberOfParameters) {
// None of the arguments match, so expect the overloads with 2 parameters to // None of the arguments match, so expect the overloads with 2 parameters to
// come first // come first
auto* bool_ = create<sem::Bool>(); auto* bool_ = create<sem::Bool>();
@ -518,7 +518,7 @@ TEST_F(BuiltinTableTest, OverloadOrderByNumberOfParameters) {
)"); )");
} }
TEST_F(BuiltinTableTest, OverloadOrderByMatchingParameter) { TEST_F(IntrinsicTableTest, OverloadOrderByMatchingParameter) {
auto* tex = create<sem::DepthTexture>(ast::TextureDimension::k2d); auto* tex = create<sem::DepthTexture>(ast::TextureDimension::k2d);
auto* bool_ = create<sem::Bool>(); auto* bool_ = create<sem::Bool>();
table->Lookup(BuiltinType::kTextureDimensions, {tex, bool_}, Source{}); table->Lookup(BuiltinType::kTextureDimensions, {tex, bool_}, Source{});
@ -556,7 +556,7 @@ TEST_F(BuiltinTableTest, OverloadOrderByMatchingParameter) {
)"); )");
} }
TEST_F(BuiltinTableTest, SameOverloadReturnsSameBuiltinPointer) { TEST_F(IntrinsicTableTest, SameOverloadReturnsSameBuiltinPointer) {
auto* f32 = create<sem::F32>(); auto* f32 = create<sem::F32>();
auto* vec2_f32 = create<sem::Vector>(create<sem::F32>(), 2u); auto* vec2_f32 = create<sem::Vector>(create<sem::F32>(), 2u);
auto* bool_ = create<sem::Bool>(); auto* bool_ = create<sem::Bool>();

View File

@ -84,7 +84,7 @@ namespace tint::resolver {
Resolver::Resolver(ProgramBuilder* builder) Resolver::Resolver(ProgramBuilder* builder)
: builder_(builder), : builder_(builder),
diagnostics_(builder->Diagnostics()), diagnostics_(builder->Diagnostics()),
builtin_table_(BuiltinTable::Create(*builder)), intrinsic_table_(IntrinsicTable::Create(*builder)),
sem_(builder, dependencies_), sem_(builder, dependencies_),
validator_(builder, sem_) {} validator_(builder, sem_) {}
@ -1292,7 +1292,7 @@ sem::Call* Resolver::BuiltinCall(const ast::CallExpression* expr,
sem::BuiltinType builtin_type, sem::BuiltinType builtin_type,
const std::vector<const sem::Expression*> args, const std::vector<const sem::Expression*> args,
const std::vector<const sem::Type*> arg_tys) { const std::vector<const sem::Type*> arg_tys) {
auto* builtin = builtin_table_->Lookup(builtin_type, std::move(arg_tys), expr->source); auto* builtin = intrinsic_table_->Lookup(builtin_type, std::move(arg_tys), expr->source);
if (!builtin) { if (!builtin) {
return nullptr; return nullptr;
} }

View File

@ -22,9 +22,9 @@
#include <utility> #include <utility>
#include <vector> #include <vector>
#include "src/tint/builtin_table.h"
#include "src/tint/program_builder.h" #include "src/tint/program_builder.h"
#include "src/tint/resolver/dependency_graph.h" #include "src/tint/resolver/dependency_graph.h"
#include "src/tint/resolver/intrinsic_table.h"
#include "src/tint/resolver/sem_helper.h" #include "src/tint/resolver/sem_helper.h"
#include "src/tint/resolver/validator.h" #include "src/tint/resolver/validator.h"
#include "src/tint/scope_stack.h" #include "src/tint/scope_stack.h"
@ -378,7 +378,7 @@ class Resolver {
ProgramBuilder* const builder_; ProgramBuilder* const builder_;
diag::List& diagnostics_; diag::List& diagnostics_;
std::unique_ptr<BuiltinTable> const builtin_table_; std::unique_ptr<IntrinsicTable> const intrinsic_table_;
DependencyGraph dependencies_; DependencyGraph dependencies_;
SemHelper sem_; SemHelper sem_;
Validator validator_; Validator validator_;

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// src/tint/sem/builtin_type.cc.tmpl // src/tint/sem/builtin_type.cc.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -3,7 +3,7 @@
Template file for use with tools/builtin-gen to generate builtin_type.cc Template file for use with tools/builtin-gen to generate builtin_type.cc
See: See:
* tools/cmd/builtin-gen/gen for structures used by this template * tools/cmd/intrinsic-gen/gen for structures used by this template
* https://golang.org/pkg/text/template/ for documentation on the template syntax * https://golang.org/pkg/text/template/ for documentation on the template syntax
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
*/ -}} */ -}}

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// src/tint/sem/builtin_type.h.tmpl // src/tint/sem/builtin_type.h.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -3,7 +3,7 @@
Template file for use with tools/builtin-gen to generate builtin_type.h Template file for use with tools/builtin-gen to generate builtin_type.h
See: See:
* tools/cmd/builtin-gen/gen for structures used by this template * tools/cmd/intrinsic-gen/gen for structures used by this template
* https://golang.org/pkg/text/template/ for documentation on the template syntax * https://golang.org/pkg/text/template/ for documentation on the template syntax
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
*/ -}} */ -}}

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// src/tint/sem/parameter_usage.cc.tmpl // src/tint/sem/parameter_usage.cc.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -3,7 +3,7 @@
Template file for use with tools/builtin-gen to generate parameter_usage.cc Template file for use with tools/builtin-gen to generate parameter_usage.cc
See: See:
* tools/cmd/builtin-gen/gen for structures used by this template * tools/cmd/intrinsic-gen/gen for structures used by this template
* https://golang.org/pkg/text/template/ for documentation on the template syntax * https://golang.org/pkg/text/template/ for documentation on the template syntax
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
*/ -}} */ -}}

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// src/tint/sem/parameter_usage.h.tmpl // src/tint/sem/parameter_usage.h.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -3,7 +3,7 @@
Template file for use with tools/builtin-gen to generate parameter_usage.h Template file for use with tools/builtin-gen to generate parameter_usage.h
See: See:
* tools/cmd/builtin-gen/gen for structures used by this template * tools/cmd/intrinsic-gen/gen for structures used by this template
* https://golang.org/pkg/text/template/ for documentation on the template syntax * https://golang.org/pkg/text/template/ for documentation on the template syntax
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
*/ -}} */ -}}

View File

@ -252,6 +252,7 @@ tint_unittests_source_set("tint_unittests_resolver_src") {
"../../src/tint/resolver/function_validation_test.cc", "../../src/tint/resolver/function_validation_test.cc",
"../../src/tint/resolver/host_shareable_validation_test.cc", "../../src/tint/resolver/host_shareable_validation_test.cc",
"../../src/tint/resolver/increment_decrement_validation_test.cc", "../../src/tint/resolver/increment_decrement_validation_test.cc",
"../../src/tint/resolver/intrinsic_table_test.cc",
"../../src/tint/resolver/is_host_shareable_test.cc", "../../src/tint/resolver/is_host_shareable_test.cc",
"../../src/tint/resolver/is_storeable_test.cc", "../../src/tint/resolver/is_storeable_test.cc",
"../../src/tint/resolver/pipeline_overridable_constant_test.cc", "../../src/tint/resolver/pipeline_overridable_constant_test.cc",
@ -713,7 +714,6 @@ tint_unittests_source_set("tint_unittests_glsl_writer_src") {
tint_unittests_source_set("tint_unittests_core_src") { tint_unittests_source_set("tint_unittests_core_src") {
sources = [ sources = [
"../../src/tint/builtin_table_test.cc",
"../../src/tint/castable_test.cc", "../../src/tint/castable_test.cc",
"../../src/tint/clone_context_test.cc", "../../src/tint/clone_context_test.cc",
"../../src/tint/debug_test.cc", "../../src/tint/debug_test.cc",

View File

@ -4,7 +4,7 @@ Template file for use with tools/builtin-gen to generate the wgsl files in the
./gen/... subdirectories ./gen/... subdirectories
See: See:
* tools/cmd/builtin-gen/gen for structures used by this template * tools/cmd/intrinsic-gen/gen for structures used by this template
* https://golang.org/pkg/text/template/ for documentation on the template syntax * https://golang.org/pkg/text/template/ for documentation on the template syntax
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
*/ -}} */ -}}

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -13,11 +13,11 @@
// limitations under the License. // limitations under the License.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// File generated by tools/builtin-gen // File generated by tools/intrinsic-gen
// using the template: // using the template:
// test/tint/builtins/builtins.wgsl.tmpl // test/tint/builtins/builtins.wgsl.tmpl
// and the builtin defintion file: // and the intrinsic defintion file:
// src/tint/builtins.def // src/tint/intrinsics.def
// //
// Do not modify this file directly // Do not modify this file directly
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

Some files were not shown because too many files have changed in this diff Show More