dan sinclair | 993a658 | 2023-02-20 08:37:45 +0000 | [diff] [blame] | 1 | {{- /* |
| 2 | -------------------------------------------------------------------------------- |
| 3 | Template file for use with tools/src/cmd/gen to generate interpolate_attribute.h |
| 4 | |
| 5 | See: |
| 6 | * tools/src/cmd/gen for structures used by this template |
| 7 | * https://golang.org/pkg/text/template/ for documentation on the template syntax |
| 8 | -------------------------------------------------------------------------------- |
| 9 | */ -}} |
| 10 | |
| 11 | {{- Import "src/tint/templates/enums.tmpl.inc" -}} |
| 12 | |
| 13 | #ifndef SRC_TINT_BUILTIN_INTERPOLATION_SAMPLING_H_ |
| 14 | #define SRC_TINT_BUILTIN_INTERPOLATION_SAMPLING_H_ |
| 15 | |
dan sinclair | 993a658 | 2023-02-20 08:37:45 +0000 | [diff] [blame] | 16 | #include <string> |
| 17 | |
dan sinclair | 6cc183c | 2023-03-02 21:28:45 +0000 | [diff] [blame] | 18 | #include "src/tint/utils/string_stream.h" |
| 19 | |
dan sinclair | 993a658 | 2023-02-20 08:37:45 +0000 | [diff] [blame] | 20 | namespace tint::builtin { |
| 21 | |
| 22 | /// The interpolation sampling. |
| 23 | {{ Eval "DeclareEnum" (Sem.Enum "interpolation_sampling") }} |
| 24 | |
| 25 | } // namespace tint::builtin |
| 26 | |
| 27 | #endif // SRC_TINT_BUILTIN_INTERPOLATION_SAMPLING_H_ |