blob: 5692ef5015bcffd77d69ff76422ca696cfbdcb21 [file] [log] [blame]
{{- /*
--------------------------------------------------------------------------------
Template file for use with tools/src/cmd/gen to generate intrinsic_table.inl
Used by BuiltinTable.cc for builtin overload resolution.
To update the generated file, run:
./tools/run gen
See:
* tools/src/cmd/gen for structures used by this template
* https://golang.org/pkg/text/template/ for documentation on the template syntax
--------------------------------------------------------------------------------
*/ -}}
{{- Import "src/tint/utils/templates/intrinsic_table_data.tmpl.inc" -}}
{{- $I := LoadIntrinsics "src/tint/lang/wgsl/wgsl.def" -}}
#include <limits>
#include <string>
#include "src/tint/lang/core/intrinsic/data/type_matchers.h"
#include "src/tint/lang/wgsl/intrinsic/data/data.h"
#include "src/tint/utils/text/string_stream.h"
namespace tint::wgsl::intrinsic::data {
using namespace tint::core::intrinsic::data; // NOLINT(build/namespaces)
{{ Eval "Data"
"Intrinsics" $I
"Name" "kData" -}}
} // namespace tint::wgsl::intrinsic::data