blob: 91f46774aa4e4a8cf5397dbd06a387ea9faeb7c9 [file] [log] [blame]
{{- /*
--------------------------------------------------------------------------------
Template file for use with tools/src/cmd/gen to generate texel_format.h
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/enums.tmpl.inc" -}}
{{- $enum := (Sem.Enum "texel_format") -}}
#ifndef SRC_TINT_LANG_BASE_BUILTIN_TEXEL_FORMAT_H_
#define SRC_TINT_LANG_BASE_BUILTIN_TEXEL_FORMAT_H_
#include "src/tint/utils/text/string_stream.h"
namespace tint::builtin {
/// Enumerator of texel formats
{{ Eval "DeclareEnum" $enum}}
} // namespace tint::builtin
#endif // SRC_TINT_LANG_BASE_BUILTIN_TEXEL_FORMAT_H_