James Price | 545f4e0 | 2021-06-28 23:04:43 +0000 | [diff] [blame] | 1 | struct In { |
James Price | 3b671cb | 2022-03-28 14:31:22 +0000 | [diff] [blame] | 2 | @location(0) none : f32, |
| 3 | @location(1) @interpolate(flat) flat : f32, |
| 4 | @location(2) @interpolate(perspective, center) perspective_center : f32, |
| 5 | @location(3) @interpolate(perspective, centroid) perspective_centroid : f32, |
| 6 | @location(4) @interpolate(perspective, sample) perspective_sample : f32, |
| 7 | @location(5) @interpolate(linear, center) linear_center : f32, |
| 8 | @location(6) @interpolate(linear, centroid) linear_centroid : f32, |
| 9 | @location(7) @interpolate(linear, sample) linear_sample : f32, |
James Price | 545f4e0 | 2021-06-28 23:04:43 +0000 | [diff] [blame] | 10 | }; |
| 11 | |
dan sinclair | b29892b | 2022-06-07 13:55:34 +0000 | [diff] [blame] | 12 | @fragment |
James Price | 545f4e0 | 2021-06-28 23:04:43 +0000 | [diff] [blame] | 13 | fn main(in : In) { |
| 14 | } |