blob: 92b83db74dfb35e02fc1cab9a96a6efb1efd66d5 [file] [log] [blame]
struct Normals {
f : vec3<f32>,
}
const faceNormals = array<Normals, 1>(
Normals(vec3(0, 0, 1)),
);
@vertex
fn main() -> @builtin(position) vec4<f32> {
let zero = 0;
return vec4(faceNormals[zero].f, 1.);
}