blob: 2af8bb252780d15b7108fe1fc5f2aed6d608d6bb [file] [log] [blame]
fn cos_6b1fdf() {
var res = cos(vec3(0.0));
}
@fragment
fn fragment_main() {
cos_6b1fdf();
}
@compute @workgroup_size(1)
fn compute_main() {
cos_6b1fdf();
}
struct VertexOutput {
@builtin(position)
pos : vec4<f32>,
}
@vertex
fn vertex_main() -> VertexOutput {
var out : VertexOutput;
out.pos = vec4<f32>();
cos_6b1fdf();
return out;
}