2021-06-28 23:04:43 +00:00
|
|
|
struct In {
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(0)
|
2022-03-28 14:31:22 +00:00
|
|
|
none : f32,
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(1) @interpolate(flat)
|
2022-03-28 14:31:22 +00:00
|
|
|
flat : f32,
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(2) @interpolate(perspective, center)
|
2022-03-28 14:31:22 +00:00
|
|
|
perspective_center : f32,
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(3) @interpolate(perspective, centroid)
|
2022-03-28 14:31:22 +00:00
|
|
|
perspective_centroid : f32,
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(4) @interpolate(perspective, sample)
|
2022-03-28 14:31:22 +00:00
|
|
|
perspective_sample : f32,
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(5) @interpolate(linear, center)
|
2022-03-28 14:31:22 +00:00
|
|
|
linear_center : f32,
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(6) @interpolate(linear, centroid)
|
2022-03-28 14:31:22 +00:00
|
|
|
linear_centroid : f32,
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(7) @interpolate(linear, sample)
|
2022-03-28 14:31:22 +00:00
|
|
|
linear_sample : f32,
|
2022-01-19 18:11:17 +00:00
|
|
|
}
|
2021-06-28 23:04:43 +00:00
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(fragment)
|
2021-06-28 23:04:43 +00:00
|
|
|
fn main(in : In) {
|
|
|
|
}
|