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