blob: 3287606dc6a1bdc3a2bd9e16ab16bde678089e43 [file] [log] [blame]
dan sinclair02d4ea02022-11-10 15:52:41 +00001fn cos_6b1fdf() {
2 var res = cos(vec3(0.0));
3}
4
5@vertex
6fn vertex_main() -> @builtin(position) vec4<f32> {
7 cos_6b1fdf();
8 return vec4<f32>();
9}
10
11@fragment
12fn fragment_main() {
13 cos_6b1fdf();
14}
15
16@compute @workgroup_size(1)
17fn compute_main() {
18 cos_6b1fdf();
19}