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