| {{- /* |
| -------------------------------------------------------------------------------- |
| Template file for use with tools/src/cmd/gen to generate interpolate_attribute.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/templates/enums.tmpl.inc" -}} |
| |
| #ifndef SRC_TINT_BUILTIN_INTERPOLATION_TYPE_H_ |
| #define SRC_TINT_BUILTIN_INTERPOLATION_TYPE_H_ |
| |
| #include <string> |
| |
| #include "src/tint/utils/string_stream.h" |
| |
| namespace tint::builtin { |
| |
| /// The interpolation type. |
| {{ Eval "DeclareEnum" (Sem.Enum "interpolation_type") }} |
| |
| } // namespace tint::builtin |
| |
| #endif // SRC_TINT_BUILTIN_INTERPOLATION_TYPE_H_ |