blob: d2469604d61fb0940766cdd7f00fc79a56842450 [file] [log] [blame]
dan sinclair993a6582023-02-20 08:37:45 +00001{{- /*
2--------------------------------------------------------------------------------
3Template file for use with tools/src/cmd/gen to generate interpolate_attribute.h
4
5See:
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
Ben Clayton2dffb3c2023-08-07 12:35:33 +000011{{- $I := LoadIntrinsics "src/tint/lang/core/core.def" -}}
dan sinclair22b4dd22023-07-21 00:40:07 +000012{{- Import "src/tint/utils/templates/enums.tmpl.inc" -}}
dan sinclair993a6582023-02-20 08:37:45 +000013
Ben Claytoncd52f382023-08-07 13:11:08 +000014#ifndef SRC_TINT_LANG_CORE_INTERPOLATION_SAMPLING_H_
15#define SRC_TINT_LANG_CORE_INTERPOLATION_SAMPLING_H_
dan sinclair993a6582023-02-20 08:37:45 +000016
Stephan Hartmann9141e912023-08-14 15:56:22 +000017#include <cstdint>
dan sinclair993a6582023-02-20 08:37:45 +000018#include <string>
19
Ben Clayton68919602023-07-28 22:51:18 +000020#include "src/tint/utils/traits/traits.h"
dan sinclair6cc183c2023-03-02 21:28:45 +000021
Ben Claytoncd52f382023-08-07 13:11:08 +000022namespace tint::core {
dan sinclair993a6582023-02-20 08:37:45 +000023
24/// The interpolation sampling.
Ben Clayton2dffb3c2023-08-07 12:35:33 +000025{{ Eval "DeclareEnum" ($I.Sem.Enum "interpolation_sampling") }}
dan sinclair993a6582023-02-20 08:37:45 +000026
Ben Claytoncd52f382023-08-07 13:11:08 +000027} // namespace tint::core
dan sinclair993a6582023-02-20 08:37:45 +000028
Ben Claytoncd52f382023-08-07 13:11:08 +000029#endif // SRC_TINT_LANG_CORE_INTERPOLATION_SAMPLING_H_