blob: 455ce2656d4cc364b31a9332d3f5273df4035b62 [file] [log] [blame]
{{- /*
--------------------------------------------------------------------------------
Template file for use with tools/src/cmd/gen to generate subgroup_matrix_kind.h
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
--------------------------------------------------------------------------------
*/ -}}
{{- $I := LoadIntrinsics "src/tint/lang/core/core.def" -}}
{{- Import "src/tint/utils/templates/enums.tmpl.inc" -}}
{{- $enum := ($I.Sem.Enum "subgroup_matrix_kind") -}}
#ifndef SRC_TINT_LANG_CORE_SUBGROUP_MATRIX_KIND_H_
#define SRC_TINT_LANG_CORE_SUBGROUP_MATRIX_KIND_H_
#include <cstdint>
#include "src/tint/utils/reflection/reflection.h"
#include "src/tint/utils/traits/traits.h"
namespace tint::core {
/// Address space of a given pointer.
{{ Eval "DeclareEnum" $enum}}
} // namespace tint::core
namespace tint {
/// SubgroupMatrixType reflection information
TINT_REFLECT_ENUM_RANGE(core::{{ Eval "EnumName" $enum }}, {{Eval "EnumFirst" $enum }}, {{Eval "EnumLast" $enum}});
} // namespace tint
#endif // SRC_TINT_LANG_CORE_SUBGROUP_MATRIX_KIND_H_