Antonio Maiorano | 4de90f0 | 2022-07-27 14:51:27 +0000 | [diff] [blame] | 1 | fn atan2_c19683() { |
Ben Clayton | be35dec | 2022-11-04 16:54:02 +0000 | [diff] [blame] | 2 | var res = atan2(vec2(1.0), vec2(1.0)); |
Antonio Maiorano | 4de90f0 | 2022-07-27 14:51:27 +0000 | [diff] [blame] | 3 | } |
4 | |||||
5 | @vertex | ||||
6 | fn vertex_main() -> @builtin(position) vec4<f32> { | ||||
7 | atan2_c19683(); | ||||
8 | return vec4<f32>(); | ||||
9 | } | ||||
10 | |||||
11 | @fragment | ||||
12 | fn fragment_main() { | ||||
13 | atan2_c19683(); | ||||
14 | } | ||||
15 | |||||
16 | @compute @workgroup_size(1) | ||||
17 | fn compute_main() { | ||||
18 | atan2_c19683(); | ||||
19 | } |