The WGSL spec says that all scalar or vector integer vertex stage outputs and fragment stage inputs must be marked as @interpolate(flat). I think wgpu fixed this up for us, but being explicit is more correct. |
||
|---|---|---|
| .. | ||
| environment_map | ||
| prepass | ||
| render | ||
| ssao | ||
| alpha.rs | ||
| bundle.rs | ||
| fog.rs | ||
| lib.rs | ||
| light.rs | ||
| material.rs | ||
| parallax.rs | ||
| pbr_material.rs | ||
| wireframe.rs | ||